summaryrefslogtreecommitdiff
path: root/roms/counting_lights.asm
diff options
context:
space:
mode:
Diffstat (limited to 'roms/counting_lights.asm')
-rw-r--r--roms/counting_lights.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/roms/counting_lights.asm b/roms/counting_lights.asm
new file mode 100644
index 0000000..30423cf
--- /dev/null
+++ b/roms/counting_lights.asm
@@ -0,0 +1,13 @@
+ .org #$f800
+reset:
+ lda #$ff
+ sta $6002
+ ldx #$0
+loop:
+ stx $6000
+ inx
+ jmp loop
+
+ .org #$fffc
+ .word reset
+ .word $0000