RE: [stella] supercharger good; busted code bad

Subject: RE: [stella] supercharger good; busted code bad
From: Nicolás Olhaberry <nolh@xxxxxxxxxxxxx>
Date: Sun, 14 Jul 2002 01:19:31 -0300
----- Original Message -----
From: <KirkIsrael@xxxxxxxxxxxxx>
To: <stella@xxxxxxxxxxx>
Sent: Saturday, July 13, 2002 7:41 PM
Subject: Re: [stella] supercharger good; busted code bad


> One last mystery though...
> my Sprites are refelcted opposite on the 2600  relative to
> all 3 emus!  the code below is 'correct' on the supercharged
> atari, backwards everywhere else...

> ;assum horiz movement will be zero
> LDX #$00
> LDA #$40 ;Left?
> BIT SWCHA
> BNE SkipMoveLeftP0
> LDX #$10
> LDA %00001000
> STA REFP0 ;show reflected version
> SkipMoveLeftP0


I don´t have DASM right here to try it, but I think the problem occurs
because you´re storing the wrong value into REFP0. Instead of  "LDA
%00001000" it should be "LDA #%00001000".

Bye,

    Nicolás.

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread