There is a lack of proper documentation for the PS2SDK, but you can look at the other completed projects hosted at the PS2DEV SVN.
Thanks, that worked! I only know how to do basic things in C. Do you know a good place where I can find documentation and tutorials on things specific to PS2? For example, I'd like to learn how to create and display graphics and animations.
Alternatively, you can ask some of the more experienced programmers here and @ PS2DEV, but please keep in mind that not all of them are always available.
Unmodified SCPH-77006 with SM 3.6
SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit