fix for monitor command line parsing

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent 6f3982906e
commit 02edab06eb
2 files changed
+28 -2

No files matched your search

+6 -2
View File
@@ -1689,11 +1689,15 @@ Get_Char:
CMP #'?' ; help
BEQ @return
@regc CMP #0
BEQ @return
BEQ @eof
CMP #':'
BEQ @eof
RTS
@eof PHP
DEC Buf_Index
PLP
@return RTS
; ******
Dec_LCT:
; ******
+22
View File
@@ -5,6 +5,28 @@
; XXX disable this code once the monitor integration is complete
DBG_print_Buf_Index:
php
pha
phx
phy
phz
jsr PRIMM
!pet $0D, "buf idx : ", 0
lda Buf_Index
jsr Print_Hex
plz
ply
plx
pla
plp
rts
DBG_print_long_pc: