summaryrefslogtreecommitdiff
path: root/roms/simple_ram_test.asm
diff options
context:
space:
mode:
Diffstat (limited to 'roms/simple_ram_test.asm')
-rw-r--r--roms/simple_ram_test.asm16
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/simple_ram_test.asm b/roms/simple_ram_test.asm
new file mode 100644
index 0000000..4b5e285
--- /dev/null
+++ b/roms/simple_ram_test.asm
@@ -0,0 +1,16 @@
+ .org #$f800
+
+MEM = $ff
+
+reset:
+ ldx #$0
+ stx MEM
+loop:
+ ldx MEM
+ inx
+ stx MEM
+ jmp loop
+
+ .org #$fffc
+ .word reset
+ .word $0000