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

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


No problem here.
I use this in many parts of my code.

I'm running in true color, so these registers are not used at all.

The rest of the game works well and the sprites display use this technic.

From me, the problem seems to be in

           lea.l        sky_palette_end-8(pc),a0

or
            move.l        a0,$ffff8248.w

or

.do_display_sky:    addq.l        #4,$ffff8248.w

or
            move.l        $ffff8248.w,a0


Only the pointer to the palette is wrong, the movem display on the screen but not the expected palette.
Just under this code, there's the background picture display and it displays correctly (at the correct screen address and with the correct colors)

Again, it's just the address pointed by A0 that seems wrong under hatari (or maybe the real falcon is wrong here ;)  lol

Laurent



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

On Wed, Mar 26, 2014 at 7:34 PM, Laurent Sallafranque <laurent.sallafranque@xxxxxxx> wrote:
I use these "unused" registers to save some values.

Interesting approach ;-) However, since you are referring to bad colours, can't exactly this be the culprit? What makes you think they are unused?



--
MiKRO / Mystic Bytes
http://mikro.atari.org



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/