Addresses of GS privileged registers
Posted: Tue Mar 03, 2009 6:18 am
Hi there,
I'm new to ps2dev and while reading some source code I found that the addresses of the GS privileged registers are something like 0x120000XX, so far so good. Then I got me the docs of the PS2 GNU/Linux kit and there it says the address for (as an example) BUSDIR is 0x44 instead of 0x12001040, which I've found everywhere else.
Where do I find the *real* address in the docs? Not that I wouldn't trust you guys but I'd really like to find the correct address of each register in the official information. I think there has to be made some kind of conversion of the values...like 'address of reg' * 16 + 0x12000000 or something similar...it works for the first few registers, but the ones that have an address starting with 0x4 can't be converted this way...
Thanks for any help :)
I'm new to ps2dev and while reading some source code I found that the addresses of the GS privileged registers are something like 0x120000XX, so far so good. Then I got me the docs of the PS2 GNU/Linux kit and there it says the address for (as an example) BUSDIR is 0x44 instead of 0x12001040, which I've found everywhere else.
Where do I find the *real* address in the docs? Not that I wouldn't trust you guys but I'd really like to find the correct address of each register in the official information. I think there has to be made some kind of conversion of the values...like 'address of reg' * 16 + 0x12000000 or something similar...it works for the first few registers, but the ones that have an address starting with 0x4 can't be converted this way...
Thanks for any help :)