RE: [stella] need 1 cycle

Subject: RE: [stella] need 1 cycle
From: "Fred Quimby" <c9r@xxxxxxxxxxx>
Date: Sun, 21 Aug 2005 04:07:46 -0400
Or you could remove the .w but make sure the kernel crosses a page boundary
so that the branch adds a cycle.

>.loopScore:
>     lax     (ptrScore+10),y     ; 5
>     txs                         ; 2
>     lax     (ptrScore+ 4),y     ; 5
>
>     lda     Car0_Color          ; 3
>     sta     COLUPF              ; 3     @07
>     lda     (ptrScore+ 0),y     ; 5
>     sta     GRP0                ; 3     @15
>     lda     (ptrScore+ 6),y     ; 5
>     sta     GRP1                ; 3     @23
>
>     lda     (ptrScore+ 2),y     ; 5
>     sta     GRP0                ; 3     @31
>     lda     (ptrScore+ 8),y     ; 5
>     sta     GRP1                ; 3     @39
>
>
>     lda   Timer_Color;#$0f;Timer_Color         ; 2
>
>     stx   GRP0                ; 3     @47
>     sta   COLUPF              ; 3     @44
>
>     lda    Car1_Color;#$dc                ; 2
>
>     sta    COLUPF              ; 3     @57
>   tsx ; 2
>
>
>     ;happening one cycle too late!!
>     stx.w     GRP1                ; 3     @54
>
>
>
>;    SLEEP 2
>
>     ;sta     GRP0                ; 3
>     ;sleep 2
>     dey                         ; 2
>     bpl     .loopScore          ; 23
>
>
>
>
>
>
>____________________________________________________
>Start your day with Yahoo! - make it your home page
>http://www.yahoo.com/r/hs
>
>Archives (includes files) at http://www.biglist.com/lists/stella/archives/
>Unsub & more at http://stella.biglist.com


><< score3x2.zip >>


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

Current Thread