From 052899e196c6a2660651b9896ceed3313e7d0bac Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 21 Nov 2020 21:08:43 +0100 Subject: started a simple emulator --- roms/simple.asm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 roms/simple.asm (limited to 'roms') diff --git a/roms/simple.asm b/roms/simple.asm new file mode 100644 index 0000000..7e57ee4 --- /dev/null +++ b/roms/simple.asm @@ -0,0 +1,23 @@ + .org #$f800 + +reset: + ldx #$FF + txs + lda #42 + lda $0 + ldx #41 + ldx $1 + jsr sub1 + +fini: + jmp fini + +sub1: + ldy #40 + ldy $2 + rts + + .org #$fffa + .word $0 + .word reset + .word $0 -- cgit v1.2.3-54-g00ecf