My bad, printf is not available on ngpc: there is no console where to display the text.
The function prototype is available in stdio.h but with a comment: Reserve
Maybe it was available with the dev unit / hw emulator, connected to a PC.
To display a string on the screen, I suggest you to use the library done by Ivan Mackintosh (PrintString) used in most homebrews (libray.c/.h)
library.c (Size: 27.2 KB / Downloads: 0)
library.h (Size: 2.12 KB / Downloads: 3)
The function prototype is available in stdio.h but with a comment: Reserve
Maybe it was available with the dev unit / hw emulator, connected to a PC.
To display a string on the screen, I suggest you to use the library done by Ivan Mackintosh (PrintString) used in most homebrews (libray.c/.h)
library.c (Size: 27.2 KB / Downloads: 0)
library.h (Size: 2.12 KB / Downloads: 3)