Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [18:30] ->> You joined channel #n64dev
- [18:30] ->> Channel Modes are: +tnl 4300
- [18:30] ->> Channel created on 23/08/2007 23:25:12
- [18:30] * lameboy sets mode +o [krom] for #n64dev
- [18:33] <@[krom]> hey is anyone around? I have a couple of questions to ask...
- [18:34] <@marshallh> no
- [18:34] <@marshallh> :P
- [18:35] <@[krom]> heh o.k I will come back later =D
- [18:35] <@marshallh> what is it
- [18:36] <@[krom]> I am making a n64 debugger/emu and I just need to know 2 things about the boot rom...
- [18:37] <@[krom]> Where in memory does the pifdata.bin get stored (currently I have it at 0x1FC00000)
- [18:38] <@[krom]> and does the Program Counter start at a different offset than 0x1BC00000 to execute it?
- [18:38] <@marshallh> r4300 nmi is 0xbfc00000
- [18:38] <@[krom]> I mean 0x1FC00000 to execute it
- [18:38] <@marshallh> which is mirrored
- [18:39] <@[krom]> ah but I thought we can & 0x1FFFFFFF to get the address...
- [18:39] <@[krom]> e.g mirroring...
- [18:40] <@[krom]> but does the boot rom get copied to a different location for execution, at boot up?
- [18:41] <@marshallh> well
- [18:41] <@marshallh> the r4300 executes a bit from the PIF directly
- [18:41] <@marshallh> but then copies the remainder to IMEM and executes there
- [18:44] <@[krom]> ah that makes sense now! I get to the instruction JR T3, which makes the PC jump to 0x04001000..., do I just copy the remainder of the pif to that location?
- [18:45] <@[krom]> and execute from there?
- [18:48] <@[krom]> ah o.k you just told me the answer anyway, thanks for your help ;)
- [18:48] <@marshallh> ya
- [18:49] <@marshallh> you just copy the rest there
- [18:49] <@marshallh> the next bit does PIF security and copies the bootcode from the game rom into DMEM and runs it
- [18:50] <@[krom]> cheers for all the info, I have to rush off to the pub, take care =D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement