removed some debug code

This commit is contained in:
FeralChild64 committed 2021-01-23 20:28:22 +01:00
1 parent 06116cd0ee
commit a6a5bd9a24
2 files changed
+15 -75

No files matched your search

+1 -59
View File
@@ -3,30 +3,7 @@
; Helper code for debugging the monitor
;
; XXX disable this code once the monitor integration is complete
DBG_print_Buf_Index:
php
pha
phx
phy
phz
lda #':'
jsr CHROUT
lda Buf_Index
jsr Print_Hex
plz
ply
plx
pla
plp
rts
; XXX remove this code once the monitor integration is complete
DBG_print_char:
@@ -45,38 +22,3 @@ DBG_print_char:
plp
rts
DBG_print_long_ac:
php
pha
phx
phy
phz
lda #'*'
jsr CHROUT
lda Dig_Cnt
jsr Print_Hex
lda #'*'
jsr CHROUT
lda Long_AC+3
jsr Print_Hex
lda Long_AC+2
jsr Print_Hex
lda Long_AC+1
jsr Print_Hex
lda Long_AC+0
jsr Print_Hex
plz
ply
plx
pla
plp
rts