Skip to content

Instantly share code, notes, and snippets.

View object-Object's full-sized avatar
🏳️‍⚧️
[object Object]

[object Object] object-Object

🏳️‍⚧️
[object Object]
View GitHub Profile
@object-Object
object-Object / lightgame.s
Created February 5, 2020 04:13
Program for the 6502 processor to run a reaction game
.org $8000
reset:
lda #$ff ; set all of A register of 6522 to output
sta $6003
lda #$7f ; set all but last pin of B register of 6522 to output
sta $6002
lda #$01 ; initial value of output: 1 0 0 0 0 0 0