[stella] Ballblazer Demo Subroutines

Subject: [stella] Ballblazer Demo Subroutines
From: Manuel Polik <cybergoth@xxxxxxxx>
Date: Wed, 25 Sep 2002 09:07:06 +0200
Hi Rob!

If you ever consider to continue your work on the Ballblazer thing,
consider using these:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; RotateLeft
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

RotateLeft:
    CLC
    ROR PF2Data
    ROL PF1Data
    ROR PF0Data
    LDA PF0Data
    AND #$08
    BEQ Ok2
    LDA PF2Data
    ORA #$80
    STA PF2Data
Ok2
    RTS

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; RotateRight
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

RotateRight:
    CLC
    ROL PF0Data
    ROR PF1Data
    ROL PF2Data
    BCC Ok
    LDA PF0Data
    ORA #$10
    STA PF0Data
Ok
    RTS

:-)

Greetings,
	Manuel
-- 
Brandnew Atari 2600 VCS game:
     http://home.arcor.de/cybergoth/xype/gunfight2600.html
The Epyx Shrine: 
     http://home.arcor.de/cybergoth
----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread