Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Sat Apr 29, 2017 11:25 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Another bug in tg68k
PostPosted: Sat Mar 09, 2013 7:59 pm 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
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 ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr