Re: [hatari-devel] It seems I encounter a bug into hatari

[ Thread Index | Date Index | More Archives ]

I use these "unused" registers to save some values.
As I am in relocated code here, I can access the values from both the main program and the relocated code (it gives me some shared registers.

this works well in some other parts of Hatari, but it's the first time I access these registers in long word access (for both the MOVE and the ADD)


Le 26/03/2014 19:31, Miro Kropáček a écrit :

On Wed, Mar 26, 2014 at 7:15 PM, Laurent Sallafranque <laurent.sallafranque@xxxxxxx> wrote:
;       d0 = number of lines of the picture to display
            ;       d1 = number of sky lines to display
            ;      d2 = background picture X position

            ; Save the input datas
            move.w        d0,$ffff8240.w
            move.w        d1,$ffff8242.w
            move.l        d2,$ffff8244.w

Why would you save number of whatever lines into palette registers?

MiKRO / Mystic Bytes

Mail converted by MHonArc 2.6.19+