reenabled BRK handler, now prints BRK address
This commit is contained in:
1 parent
2d590f95c5
commit
180c88ef42
6 files changed
+40
-16
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user