Re: [hatari-devel] Wrong bus error stack frame with 68000 and JSR

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Nicolas Pomarède schrieb:

Le 22/03/2024 à 19:35, Toni Wilen a écrit :
Both jump to bus error address - 2 (second prefetch causes bus error) and jump to address that causes bus error (first prefetch causes bus error) cases tested and confirmed.

Fix is in winuae tree.

thanks a lot, corresponding patch was just pushed to Hatari tree.

Sorry, but I have to report back that the exception stack frame is still wrong. Different, but still wrong. This is with Hatari built from commit 39523d4c.

The stacked PC should be offset 6 bytes from the offending JSR 0x401234, as can be seen in the photo (.jpg) from a real 68000. But as you can see from the attached .png screenshot, the PC on Hatari is now 0x415214, offset by about 4 megabytes(!) from the offending JSR.

@Toni, @Nicolas: I'm afraid either the fix or the merge is wrong.

Regards
Christian
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: https://www.chzsoft.de/
New GnuPG-Key-ID: 0x8708B34C827B159E

Attachment: grab0002.png
Description: PNG image

Attachment: berr_jsr.zip
Description: Zip compressed data

Attachment: IMG_6014.JPG
Description: JPEG image



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/