Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All Threads*Show in Flat Mode*


SubjectRe: Amiga 500 --> PC Reply to this message
Posted bysmf
Posted on09/21/05 03:25 AM



The usual way for 68000 is as you say to store unsigned shorts in x86 format and xor the address with 1 when reading bytes.

For the 68020 the process is the same but store unsigned longs and xor address with 2 when reading words and with 3 when reading bytes.

Unaligned reads aren't that hard, there are only three cases. You just do two reads and shift each value, like the real chip does. In terms of emulating an Amiga, that is easy.

smf


-
Entire Thread
Subject  Posted byPosted On
*Amiga 500 --> PC  amilator09/17/05 09:05 AM
.*Re: Amiga 500 --> PC  nikoniko197511/07/05 06:49 PM
.*Re: Amiga 500 --> PC  Bart T.09/18/05 01:46 PM
..*Re: Amiga 500 --> PC  amilator09/22/05 08:22 AM
...Re: Amiga 500 --> PC  smf09/21/05 03:25 AM
...*Re: Amiga 500 --> PC  amilator09/22/05 08:27 AM