Corrupted Graphic in Micro machines 2
Original [issue 1](https://code.google.com/p/genplus-gx/issues/detail?id=1) created by ekeeke31 on 2008-08-25T16:15:57.000Z:
What steps will reproduce the problem? 1. load the game "Micro Machines 2 (J-Cart)" 2. choose any mode 3. go to Track Select menu
What is the expected output? What do you see instead? A track picture should be displayed. Instead, we got a BIG "micro machines" logo.
Comments (2)
-
Account Deleted -
Account Deleted - changed status to resolved
Comment # 3 originally posted by ekeeke31 on 2008-09-24T12:55:25.000Z:
Fixed in current build
Modified JCART emulation so that reading the JCART address ($38fffe) does not return TH state of the 2nd controller(bit6 of MSB), only for 1st controller (bit6 of LSB)
Not sure if this is correct (see above) but all other JCART games still work fine
- Log in to comment
Comment # 2 originally posted by ekeeke31 on 2008-09-22T16:27:33.000Z:
The corruption happens because of a certain amount of code executed at $000079CA The code is triggered because $FFF810 flag is not set.
This flag is set by the routine at offset $75ea if one of the following event is detected:
1/ writing 1 to JCART and reading PAD comment 2\. status does not return 0x80 (TH set) 2/ JCART pads have not been detected on startup (flag $FFF930) 3/ EEPROM has not been properly initialized (flag $FFF938)
So if one of teh above event occurs (for example if JCART or EEPROM or both are not emulated), graphics will not end up corrupted