Since NTSC-J is not working atm, the code will be in this subforum for the time being. Btw, you can make this a C0 codetype (for the first ASM only) instead of using a OSSleepthread subroutine address.
Also, I recommend keeping the code structure the same way for all regions (even though this will you cause you to use an unneeded extra instruction for controller button loading on U, J and K), and use macros to change values that are region dependent. Trying to work with multiple sources doesn't make any sense.
For why the Japan version is not working, that is something wrong with the source. As the ports for the OSSleepthread have been testing on multiple codes countless times. I doubt you messed up porting the address that has the nop. You will need to step by step the japan version in Dolphin to fully diagnose. Have you done step-by-stepping before? This one will be weird cause one address is called nonstop, so you may need to set an instruction BP on the other address (the nop), I'm guessing that address is the one that gets called when track loads???
Anyway good luck with fixing the Japan version. I'm out of town cuz of work so I won't be much help....
And nice code!!
Also, I recommend keeping the code structure the same way for all regions (even though this will you cause you to use an unneeded extra instruction for controller button loading on U, J and K), and use macros to change values that are region dependent. Trying to work with multiple sources doesn't make any sense.
For why the Japan version is not working, that is something wrong with the source. As the ports for the OSSleepthread have been testing on multiple codes countless times. I doubt you messed up porting the address that has the nop. You will need to step by step the japan version in Dolphin to fully diagnose. Have you done step-by-stepping before? This one will be weird cause one address is called nonstop, so you may need to set an instruction BP on the other address (the nop), I'm guessing that address is the one that gets called when track loads???
Anyway good luck with fixing the Japan version. I'm out of town cuz of work so I won't be much help....
And nice code!!