Re: [stella] The ol' Playfield Swap

Subject: Re: [stella] The ol' Playfield Swap
From: emooney@xxxxxxxxxxxxxxxx (Erik Mooney)
Date: Mon, 22 Feb 1999 04:30:40 GMT
>Can you look at this code snippet for me from an ongoing project?

Just run the darn code and see if it works! It can't hurt anything :)

>    pha             ;[29] + 3
>    pla             ;[32] + 4
>    pha             ;[36] + 3
>    pla             ;[39] + 4
>    lda  FieldH02   ;[43] + 3
>
>                    ;[46]
>    sta  PF2        ;[46] 46,47, *48* (swap on 3rd cycle of sta dp)

Looks right to me.. this is about as close as you'll get.  

>    lda  FieldH03   ;[49] + 3
>    sta  PF1        ;[52] + 3

You could do this load and store before the PF2 swap if you wanted to
save time after it.  As long as this swap concludes on cycle 39 or later
(counting from 1) it'll work.

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

Current Thread