reenabled BRK handler, now prints BRK address

This commit is contained in:
FeralChild64 committed 2019-09-01 16:20:36 +02:00
1 parent 2d590f95c5
commit 180c88ef42
6 files changed
+40 -16

No files matched your search

+18 -2
View File
@@ -2,6 +2,22 @@
basic_warm_start:
jsr install_ram_routines
;; If warm start caused by BRK, print it address
lda CMP0
ora CMP0+1
beq +
ldx #32
jsr print_packed_message
lda CMP0+1
jsr printf_printhexbyte
lda CMP0+0
jsr printf_printhexbyte
lda #$0D
jsr JCHROUT
*
jmp basic_main_loop