Hello, i've just now started getting into ps2dev. I have not found a single example of what the ps2 uses as a header file; as opposed to #include <stdio.h> that window's uses. More like a hello world starter. Maybe more direct if someone could show me a short snippet of 'translation' to this.
Drakonite wrote:That should pretty much compile and run just fine ;)
....there are lots of examples in svn and with ps2sdk.
It doesn't launch after I compile it for some reason, i figured it was because the ps2 use's different header rather than stdio.h.
EDIT: It still is giving problems.. I tried it thru ps2link and emulator, it prints nothing to my TV screen at all but does print into the output of ps2link via PC screen.
doc.o wrote:
EDIT: It still is giving problems.. I tried it thru ps2link and emulator, it prints nothing to my TV screen at all but does print into the output of ps2link via PC screen.
Thats because thats what it's supposed to do...
The PS2 doesn't have a text mode display, so stdio is redirected to the pc console when running ps2link so that you can print out information while debugging.
scr_printf is a hack to render some text on the tv screen, originally intended for debugging purposes
doc.o wrote:
EDIT: It still is giving problems.. I tried it thru ps2link and emulator, it prints nothing to my TV screen at all but does print into the output of ps2link via PC screen.
Thats because thats what it's supposed to do...
The PS2 doesn't have a text mode display, so stdio is redirected to the pc console when running ps2link so that you can print out information while debugging.
scr_printf is a hack to render some text on the tv screen, originally intended for debugging purposes
Oh alright good to know :) thanks. Another question, is there a way to load a ASM into your elf if I was to write some FNC's in it?