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
|
CMP #'?' ; help
|
||||||
BEQ @return
|
BEQ @return
|
||||||
@regc CMP #0
|
@regc CMP #0
|
||||||
BEQ @return
|
BEQ @eof
|
||||||
CMP #':'
|
CMP #':'
|
||||||
|
BEQ @eof
|
||||||
|
RTS
|
||||||
|
@eof PHP
|
||||||
|
DEC Buf_Index
|
||||||
|
PLP
|
||||||
@return RTS
|
@return RTS
|
||||||
|
|
||||||
|
|
||||||
; ******
|
; ******
|
||||||
Dec_LCT:
|
Dec_LCT:
|
||||||
; ******
|
; ******
|
||||||
|
|||||||
@@ -5,6 +5,28 @@
|
|||||||
|
|
||||||
; XXX disable this code once the monitor integration is complete
|
; 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:
|
DBG_print_long_pc:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user