RE: [stella] 2P x 3 digit score routines?

Subject: RE: [stella] 2P x 3 digit score routines?
From: "Thomas Jentzsch" <tjentzsch@xxxxxx>
Date: Tue, 17 May 2005 08:55:04 -0400
Lee Fastenau wrote:
> (...and this is all still running on a stock VCS? :)

Yes, but it only works as self-modyfing code.

After some trial and error, the final code turned out to be pretty
straightforward:
    sta     WSYNC
    SLEEP   68
    ldy     #8          ; 2     @70
.loopDigits:
    lda     ZeroR,y     ; 4
    sta     GRP0        ; 3
    lda     OneL,y      ; 4
    sta     GRP1        ; 3
    lda     TwoR,y      ; 4
    sta     GRP0        ; 3
    ldx     FiveL,y     ; 4
    sta     RESP0       ; 3     @22
    sta     RESP1       ; 3     @25
    lda     ZeroR,y     ; 4
    stx     GRP1        ; 3
    sta     GRP0        ; 3
    lda     OneL,y      ; 4
    sta     GRP1        ; 3
    lda     TwoR,y      ; 4
    sta     GRP0        ; 3
    sta     RESP0       ; 3     @52
    sta     RESP1       ; 3     @55
    lda     FiveL,y     ; 4
    sta     GRP1        ; 3
    sta     GRP0        ; 3
    dey                 ; 2
    bpl     .loopDigits ; 23

Both VDELPx are enabled.

Have fun!
Thomas
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |



______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

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

Current Thread