Welcome, Guest. Please login or register.

Author Topic: 68010 in an Amiga 500  (Read 4519 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline 57goldtop

  • Full Member
  • ***
  • Join Date: Jun 2007
  • Posts: 104
    • Show all replies
Re: 68010 in an Amiga 500
« on: September 03, 2007, 04:14:14 PM »
I replaced the 68000 in my A500 with a 68010 years ago, some original games and programs did not run.

Here is some info

Quote
The RTE instruction works differently on the 68000 against 68010+. On a 68000 it simply writes the SR and PC back and continues program execution at the interrupted address. On the 68010+ it additionally frees the stackframe depending on the stackframe format.

Some programs push an address (PC) and a SR and then execute an RTE instruction. This works on a 68000 only, but on 68010+ this will have undefinable results.

If a program contains this awful code, you have to emulate it. Sometimes it may be enough to replace the rte with an rtr.