infinite-mac icon indicating copy to clipboard operation
infinite-mac copied to clipboard

Infinite mac crashes with address error

Open jllipatz opened this issue 3 years ago • 2 comments

Hello,

In my application (a developpement tool actually) I have handlers for various exceptions in MC68000 code, TRAPs are correctly handled on infinite Mac but apparently not bus errors. Following instruction doesn't activate my handler: MOVE $40000000,D0

but rather stops infinite mac with following message in console: RuntimeError: index out of bounds

On ordinary Macs I get something like that (and correct the failure): ItWorks

jllipatz avatar Jan 30 '23 09:01 jllipatz

Might be related to: https://github.com/mihaip/infinite-mac/issues/96

that-ben avatar Jan 31 '23 01:01 that-ben

@that-ben. Surely, but what I flag here is that the emulation has a hole: one of the exception vectors is not used. Consequences are rather minor but with MasOS 9.2 such exceptions don't crashes the Mac nor ask for a restart. And that is a good thing to have some chance to save the work done elsewhere.

jllipatz avatar Jan 31 '23 08:01 jllipatz