Created
October 4, 2014 10:02
-
-
Save ninux/8537e909ecea2001e85e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main: | |
LDA #$07 ; load byte mask for joystick input | |
ORA $1858 ; map mask | |
STA $1858 ; write byte | |
loop: LDA #$07 ; load byte mask for LED output | |
ORA $000b ; map mask | |
STA $000b ; write byte | |
LDA $000c ; load port G | |
STA $000a ; write port G to port F | |
STA $00c0 ; save to $c0 | |
JMP loop ; loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment