Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Amiga 500 --> PC Reply to this message
Posted byamilator
Posted on09/22/05 12:27 PM



my next problem seem to be a way to handle signed operations directly with C operations or if I need to read up on arithmetics and handle them myself, you see this is the first time I'm doing this sort of lowlevel stuff in C.

> 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 01:05 PM
.*Re: Amiga 500 --> PC  nikoniko197511/07/05 11:49 PM
.*Re: Amiga 500 --> PC  Bart T.09/18/05 05:46 PM
..*Re: Amiga 500 --> PC  amilator09/22/05 12:22 PM
..*Re: Amiga 500 --> PC  smf09/21/05 07:25 AM
....Re: Amiga 500 --> PC  amilator09/22/05 12:27 PM