fix for monitor command line parsing
This commit is contained in:
1 parent
6f3982906e
commit
02edab06eb
2 files changed
+28
-2
No files matched your search
+6
-2
@@ -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:
|
||||
; ******
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user