rayarachelian / lisaem-1.2.x

Apple Lisa Emulator v1.2.x
http://lisaem.sunder.net
Other
36 stars 11 forks source link

LisaTest on 1.2.6.x VTIR causes bus error with PC=0, possible MMU bug #9

Closed rayarachelian closed 3 years ago

rayarachelian commented 5 years ago

While running Lisa Test for Peripherals, once the CPU test starts, a Vertical Retrace IRQ occurs, but upon fetching the address of the ISR for autovector 1, a bus error occurs because the ISR lives in a page that wasn't yet loaded, however the bus error vector contains a zero in it and then PC=0

Either the VTIR should have been turned off and due to emulation bugs it wasn't, or the ISR should have been in memory, or the MMU cache flush routines failed to properly setup the MMU.

see: https://lisalist2.com/index.php?topic=25.msg90#msg90 for details.