Page 2 of 2

Posted: Thu Feb 05, 2015 6:12 am
by TascoDLX
Paul Jensen wrote:Question: How did you know that SUBCODE.BIN gets loaded at $008268?
Usually I'd look at the IP/SP -- the startup code for each cpu -- and observe where files get read and copied. That may require decent knowledge of sub cpu functions (cd bios calls, etc), and the code is sometimes not obvious. It's easier using a debugger.

In this case, I just ran it via the MESS debugger, executed a break during video playback, and (dumped and) searched the sub's prg-ram for the file data. I find it very handy to know where certain files are loaded in memory, especially for more modular programs.