Program counter and exception

A place to discuss current and future developments for STeem

Moderators: Mug UK, Steem Authors, Moderator Team

User avatar
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2594
Joined: Thu Dec 15, 2005 2:15 am

Re: Program counter and exception

Postby Maartau » Sun Dec 07, 2014 11:03 am

Thanks for the infos [smilie=greencolorz4_pdt_01.gif] .
- aTaRi LeGeNd,
- eLiTe.

-> My apologizes if I'm late, serious health troubles <-

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1993
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed

Re: Program counter and exception

Postby Steven Seagal » Wed Apr 29, 2015 6:08 pm

The text has been updated again.

The hack that runs Aladin (Macintosh emulator) was removed, now I know that MOVE.B 0,0 crashes on a real STE.

There are several bus errors where the value of PC is important.

Code: Select all

Aladin                                       move.b (a7)+,(a1)      write
Aladin                                       clr.w (a1)             write!
Aladin                                       move.w (a2),(a1)       write
Aladin                                       move.l d3,(a1)         write
Aladin                                       move.l d0,(a2)         write

Bus error = writing on address 0.
The trouble one (in Steem SSE) was clr.w (a1).
The ST may read memory there but not write into it. So it crashes after <EA>
and PC points to next instruction.
Finally a legit fix.

Social Media


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest