Re: [hatari-devel] Possible bug in 060 exception stack frames |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
On Montag, 18. Januar 2021 16:44:00 CET Toni Wilen wrote: > Could you also include compiled .sa files?
You should be able to produce them using any m68k cross assembler; the output format is binary, anyway. But they are attached below.
The address error that i encountered goes away when i omit the tests for fmovem.l #data with more than 1 control register (these tests are also disabled in the attached files). But i haven't found the real cause yet, the code in Hatari seems to already correctly handle that by generating an exception #60. Maybe somehow he is returning to the wrong PC when executing RTE (the instruction PC is updated by the emulation). Also be aware that gas has a bug compiling such instructions, and only writes a single long constant, so i have now replaced that by explicit constant defines.
I've also pushed the repo with the recent changes.
|
PK �G�