What the heck is GS_PSM_CT24 ?
Posted: Mon Jun 04, 2007 8:44 am
Hi,
As a newbie to ps2 homebrewing after (finnaly) managed to build the toolchain (I had to install linux for this, cygwin s*cks) I started to explore the gsKit example : textures.c.
First attempt : Since I'm still using a usb pen to load the elfs I build with ulauchelf the textures demo didn't worked since the source was refering to host:. Changed to mass: and the hot girl is now on TV ;)
So, exploring the source :
the defined GS_MODE_NTSC is not mistery for me. I also changed to GS_MODE_PAL since I'm in Europe. No big deal.
But how about the meaning of GS_PSM_CT24 and GS_PSMZ_16S ? What the heck is this ? and the call to dmaKit_init : D_CTRL_RELE_OFF, D_CTRL_MFD_OFF ?
Where is it documented ? I want to know what i'm doing when I call dmaKit_init. No documentation on gsKit (although I can read on the README of gsKit :
OK maybe i'm a bit demanding, those guys made a great lib and no time for documentation, I can understand that... So, being more realistic what I ask is what are those defines (D_CTRL_RELE_OFF, etc) ? Will I need ever to change these ?
As a newbie to ps2 homebrewing after (finnaly) managed to build the toolchain (I had to install linux for this, cygwin s*cks) I started to explore the gsKit example : textures.c.
First attempt : Since I'm still using a usb pen to load the elfs I build with ulauchelf the textures demo didn't worked since the source was refering to host:. Changed to mass: and the hot girl is now on TV ;)
So, exploring the source :
the defined GS_MODE_NTSC is not mistery for me. I also changed to GS_MODE_PAL since I'm in Europe. No big deal.
But how about the meaning of GS_PSM_CT24 and GS_PSMZ_16S ? What the heck is this ? and the call to dmaKit_init : D_CTRL_RELE_OFF, D_CTRL_MFD_OFF ?
Where is it documented ? I want to know what i'm doing when I call dmaKit_init. No documentation on gsKit (although I can read on the README of gsKit :
- Project Layout
-----------------------------------------------------------------------
A source or binary release of gsKit will include the following
directories:
gsKit/lib - gsKit compiled libraries.
gsKit/doc - gsKit documentation.
gsKit/examples - Example projects demonstrating use of gsKit.
gsKit/ee - ee root directory.
gsKit/ee/gs - gsKit source root.
gsKit/ee/gs/include - gsKit include files.
gsKit/ee/gs/src - gsKit source files.
gsKit/ee/dma - dmaKit source root.
gsKit/ee/dma/include - dmaKit include files.
gsKit/ee/dms/src - dmaKit source files.
gsKit/vu1 - VU1 assembly files
OK maybe i'm a bit demanding, those guys made a great lib and no time for documentation, I can understand that... So, being more realistic what I ask is what are those defines (D_CTRL_RELE_OFF, etc) ? Will I need ever to change these ?