1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-29 14:51:17 +00:00
8bitworkshop/presets/vic20/hellocart.dasm
2022-09-06 14:43:39 -05:00

17 lines
275 B
Plaintext

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