Jump to content
IGNORED

exit emulator not working for Lili


Andrew Davie

Recommended Posts

3 minutes ago, Andrew Davie said:

Despite Lili Adventure absolutely definitely reading RESET and joystick at the same time (character walks to the right, and background flashes on reset), the PlusCart code does not detect an exit condition.

Maybe the ROM reads some of the SWCHB (or SWCHA) mirrors ?

Link to comment
Share on other sites

49 minutes ago, Andrew Davie said:

That would explain it.

In any case, I hope to have an alternate exit working in a week or so.

We can ignore the address-lines the PIA ignores too, so we would monitor the mirror addresses too.

 

Edited by Al_Nafuur
Link to comment
Share on other sites

1 minute ago, Thomas Jentzsch said:

bit SWCHA ; 2c 80 02

 

?

These are both (SWCHA and SWCHB) not mirrors, so the exit function should work here.

 

are SWCHA or SWCHB touched (written ??) somewhere else in the ROM.

 

Link to comment
Share on other sites

1 minute ago, Al_Nafuur said:

?

These are both (SWCHA and SWCHB) not mirrors, so the exit function should work here.

 

are SWCHA or SWCHB touched (written ??) somewhere else in the ROM.

 

I think there must be a bug in the exit function introduced recently?

I've seen a number of games that seem to be failing on the reset combination. Hope it wasn't me.

 

Link to comment
Share on other sites

16 minutes ago, Thomas Jentzsch said:

LSR SWCHB is actually a write too.

Yes LSR SWCHB (LSR absolute) takes 6 CPU cycles and the addressbus is not changing, so we "read" at the end (right before the addressbus is changing) the shifted value on the databus, which the CPU want's to write (back) to the memory location.

And then the RESET bit is in carry, but in this case the exit function works with the select switch

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...