# HG changeset patch # User boisy # Date 1041217452 0 # Node ID 3e08691aa71f289cccafa2d00d9019abc88b5b60 # Parent ed3ad5db6af43a08d72a612f69d155a4b8bda781 More source changes diff -r ed3ad5db6af4 -r 3e08691aa71f level1/cmds/debug.asm --- a/level1/cmds/debug.asm Mon Dec 30 02:20:51 2002 +0000 +++ b/level1/cmds/debug.asm Mon Dec 30 03:04:12 2002 +0000 @@ -112,24 +112,24 @@ L006F lbsr L0127 leax $01,x - cmpa #$23 + cmpa #'# beq L00BA - cmpa #$25 + cmpa #'% beq L00E0 - cmpa #$24 + cmpa #'$ beq L0082 leax -$01,x L0082 leas -$04,s bsr L00F7 L0086 bsr L00FE bcc L00A0 - cmpb #$41 + cmpb #'A lbcs L0110 - cmpb #$46 + cmpb #'F bls L009E - cmpb #$61 + cmpb #'a bcs L0110 - cmpb #$66 + cmpb #'f bhi L0110 subb #$20 L009E subb #$37 @@ -190,13 +190,13 @@ std $04,s rts L00FE ldb ,x+ - cmpb #$30 + cmpb #'0 bcs L0108 - cmpb #$39 + cmpb #'9 bls L010B L0108 orcc #Carry rts -L010B subb #$30 +L010B subb #'0 andcc #^Carry rts L0110 leax -$01,x @@ -212,7 +212,7 @@ L0123 andcc #^Zero bra L011E L0127 lda ,x+ - cmpa #$20 + cmpa #C$SPAC beq L0127 leax -$01,x rts @@ -283,7 +283,7 @@ L01A7 bsr L01C9 pshs b,a L01AB bsr L021D - cmpa #$2D + cmpa #'- bne L01B9 bsr L01C7 nega @@ -301,7 +301,7 @@ L01C9 bsr L01FD pshs b,a L01CD bsr L021D - cmpa #$2A + cmpa #'* bne L01E2 bsr L01FB pshs x @@ -310,7 +310,7 @@ bcc L01F5 ldb #$02 bra L019F -L01E2 cmpa #$2F +L01E2 cmpa #'/ bne L01C5 bsr L01FB pshs x @@ -326,13 +326,13 @@ L01FD bsr L0222 pshs b,a L0201 bsr L021D - cmpa #$26 + cmpa #'& bne L020F bsr L0220 andb $01,s anda ,s bra L0219 -L020F cmpa #$21 +L020F cmpa #'! bne L01C5 bsr L0220 orb $01,s @@ -342,13 +342,13 @@ L021D lbra L0127 L0220 leax $01,x L0222 bsr L021D - cmpa #$5E + cmpa #'^ bne L022E bsr L0239 comb coma bra L0238 -L022E cmpa #$2D +L022E cmpa #'- bne L023B bsr L0239 nega @@ -357,28 +357,28 @@ L0238 rts L0239 leax $01,x L023B bsr L021D - cmpa #$28 + cmpa #'( bne L0250 lbsr L01A5 pshs b,a bsr L021D - cmpa #$29 + cmpa #') beq L0282 ldb beq L0282 ldb #$06 bra L0265 L0282 leax $01,x puls pc,b,a -L0286 cmpa #$2E +L0286 cmpa #'. bne L028F ldd L07AD,pcr lda ,x - cmpa #$61 + cmpa #'a bcs L03A2 suba #$20 sta ,x @@ -541,7 +542,7 @@ L03BE os9 F$PErr rts L03C2 lbra L0190 - lda ,x +L03C5 lda ,x cmpa #C$PERD bne L03CF ldd L0780,pcr bsr L03C2 puls pc,b,a - lbsr L0195 +L0421 lbsr L0195 bcs L03BE bsr L0415 pshs b,a @@ -603,7 +604,7 @@ ldb #$08 orcc #Carry L044B rts - lbsr L0512 +L044C lbsr L0512 beq L04AF lbsr L02C3 lbcs L03BE @@ -632,6 +633,7 @@ lbcs L054E stb ,y rts + L0490 fcc "PC=" fcb $00 fcc "A=" @@ -696,7 +698,7 @@ L0512 lbsr L0127 cmpa #$0D rts - bsr L0512 +L0518 bsr L0512 bne L0538 lbsr L0415 ldy $6865 - inc $0C,s - neg