added more stubs

This commit is contained in:
FeralChild64 committed 2019-09-27 20:50:27 +02:00
1 parent 2abda0944b
commit c6350cc86b
14 files changed
+63 -17

No files matched your search

+17 -1
View File
@@ -6,11 +6,27 @@ basic_cold_start:
// Setup vectors at $300
ldy #$0B
!:
lda basic_vector_defaults, y
lda basic_vector_defaults_1, y
sta IERROR, y
dey
bpl !-
// Setup misc vectors
ldy #$04
!:
lda basic_vector_defaults_2, y
sta ADRAY1, y
dey
bpl !-
// Setup USRPOK
lda #$4C // JMP opcode
sta USRPOK
lda #<do_ILLEGAL_QUANTITY_error
sta USRADD+0
lda #>do_ILLEGAL_QUANTITY_error
sta USRADD+1
// Print startup banner
jsr printf // XXX don't use printf, keep it for debug purposes only
TARGET_HOOK_BANNER()