1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-08 23:29:42 +00:00
8bitworkshop/presets/vic20/hellocart.dasm

17 lines
275 B
Plaintext
Raw Permalink Normal View History

2022-09-06 18:53:45 +00:00
processor 6502
org $a000-2 ; so we can write the ...
.word $a000 ; cartridge 2-byte header
.word Start ; start vector
.word Start ; RESTORE vector
.byte $41, $30, $c3, $c2, $cd ; "A0CBM"
Start:
lda $9004
WaitLine;
cmp $9004
beq WaitLine
sta $900f
jmp Start