home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!john.hendrikx
- Date: Wed, 14 Feb 96 00:57:53 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: Virtual memory on an 68000? Is it
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
- Message-ID: <john.hendrikx.4ebz@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- In a message of 12 Feb 96 Juergen "rally" Fischer wrote to All:
-
- |>> You can't write a 030 (or 020) emulator for the 68000. Instructions like
- |>> 'Move.l d0,(a0,d1.l*4)' are NOT trapped on the 68000. The 68000 instead
- |>> simply ignores the '*4' index :-(
-
- JrF> Well, so why I can run the Spectrum emulator if there is no PUSH HL
- JrF> instruction on the 68020 ? ;->>
-
- It is possible, but the easy and fast way using the Illegal Instruction vector
- is out of the question to do this.
-
- |>> The only thing you could do is write a 680x0 interpreter but that would
- |>> be *REALLY* slow.
-
- JrF> interpreter... emulator... what ? :)
-
- Eh, well, what I meant was that to run 68030 code on a 68000 then you have to
- read instructions yourself and decode them, ie, basicly you emulate each
- instruction seperately. If you have a 68010 however then you can use the
- Illegal Instruction trap to emulate any 68030 instructions while 'normal'
- instructions execute as usual. This is much faster.
-
- Grtz John
-
- -----------------------------------------------------------------------
- John.Hendrikx@grafix.xs4all.nl TextDemo/FastView/Etc... development
- -----------------------------------------------------------------------
- -- Via Xenolink 1.985B5, XenolinkUUCP 1.1
-