Minimig Discussion Forum
http://minimig.net/

Another bug in tg68k
http://minimig.net/viewtopic.php?f=9&t=565
Page 1 of 1

Author:  Master of Gizmo [ Sat Mar 09, 2013 7:59 pm ]
Post subject:  Another bug in tg68k

The address fault (bus error) and address error traps are supposed to place eight more bytes on the stack than typical traps. The additional information are the first 16 bits of the instruction that cause the problem, the 32 bit address this happened and some 16 bit internal state thing.

The amiga does not use bus error and doesn't seem to rely on a working address error trap. But the atari st often makes use of these and thus really needs this.

Top prio would be to move the stack pointer just 8 more bytes, so routines just trying to recover will work again (probably 99% of the cases). The perfect solution would of course be to get the correct stuff on the stack ...

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/