summaryrefslogtreecommitdiff
path: root/roms/counting_lights.asm
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-11-17 19:12:00 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-11-17 19:12:00 +0100
commit63d0944063b6f240fe0c68ef9b61d4dd906d9fc1 (patch)
treefb083c1284fd6d58944b1961297c652dc32b515d /roms/counting_lights.asm
download6502-63d0944063b6f240fe0c68ef9b61d4dd906d9fc1.tar.gz
6502-63d0944063b6f240fe0c68ef9b61d4dd906d9fc1.tar.bz2
initial checkin
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