mgarcia
You may change this now in User CP
- Reaction score
- 48
Starting to look at Nuon dev stuff again, I would like to get printf working, to get a log of output.
Searching on Discord:
cubanismo: I'm not aware of a printf-debug mechanism in Nuance.
cubanismo: Right now you can use DebugWS() I believe to write stuff onto the screen.
Here is what I've found:
I was looking at the nm mapfile:
vmnm -f sysv -n test.cof > vmnm.txt
and found:
_kprintf |80000488| A |
It's from:
lib/librombios.a
But with no header reference.
The only place I found it mentioned on my SDK (I think there's two floating around) was in:
sample/Graphics/raydemo/demo.c
extern void kprintf(const char *, ...);
But it isn't used anywhere.
Anyone know what kprintf does? was it for TTY output, I would guess it so because it's bios related and not c related?
I am an assembly noob, so that's pretty much were I stop :/
It looks like it's kind of implemented in Nuance:
And raised as issue here
Searching on Discord:
cubanismo: I'm not aware of a printf-debug mechanism in Nuance.
cubanismo: Right now you can use DebugWS() I believe to write stuff onto the screen.
Here is what I've found:
I was looking at the nm mapfile:
vmnm -f sysv -n test.cof > vmnm.txt
and found:
_kprintf |80000488| A |
It's from:
lib/librombios.a
But with no header reference.
The only place I found it mentioned on my SDK (I think there's two floating around) was in:
sample/Graphics/raydemo/demo.c
extern void kprintf(const char *, ...);
But it isn't used anywhere.
Anyone know what kprintf does? was it for TTY output, I would guess it so because it's bios related and not c related?
I am an assembly noob, so that's pretty much were I stop :/
It looks like it's kind of implemented in Nuance:
NuanceResurrection/bios.cpp at be792e8e3716bbc127b79fa80165d8790b3ff618 · andkrau/NuanceResurrection
Contribute to andkrau/NuanceResurrection development by creating an account on GitHub.
github.com
And raised as issue here
Expose KPrintf output log properly in UI · Issue #20 · andkrau/NuanceResurrection
Hi, I noticed KPrintf is implemented but disables. https://github.com/andkrau/NuanceResurrection/blob/be792e8e3716bbc127b79fa80165d8790b3ff618/bios.cpp#L673C8-L673C8 Could we please get the kprintf...
github.com
Last edited: