# HG changeset patch # User boisy # Date 1094339221 0 # Node ID 93328dc6e3f4286e4ccbfd12d66adcbd7cbf83e0 # Parent f389c6bca482228f432f1d931155f5a32bd7c30b ded: Rodney's enhancement for the 'S' command to reload same LSN if none typed. disasm: enhancement send by Robert Gault on 9/4/04 diff -r f389c6bca482 -r 93328dc6e3f4 level1/cmds/ded.asm --- a/level1/cmds/ded.asm Fri Aug 20 11:11:58 2004 +0000 +++ b/level1/cmds/ded.asm Sat Sep 04 23:07:01 2004 +0000 @@ -349,7 +349,7 @@ L0AD8 fcb $27,$08,$A7,$80,$C1,$02,$27,$02 '.'.A.'. L0AE0 fcb $A7,$80,$35,$02,$A7,$80,$5A,$26 '.5.'.Z& L0AE8 fcb $F9,$5F,$39,$17,$0A,$47,$32,$62 y_9..G2b -L0AF0 fcb $16,$FC,$18,$81,$30,$25,$10,$81 ....0%.. +L0AF0 fcb $16,$FC,$02,$81,$30,$25,$10,$81 ....0%.. L0AF8 fcb $39,$23,$0A,$84,$5F,$81,$46,$22 9#.._.F" L0B00 fcb $06,$81,$41,$25,$02,$4F,$39,$43 ..A%.O9C L0B08 fcb $39,$8D,$0D,$34,$04,$1F,$89,$8D 9..4.... @@ -754,8 +754,8 @@ L1780 fcb $17,$F1,$DA,$1F,$98,$17,$F1,$D5 .qZ...qU L1788 fcb $96,$9C,$17,$F1,$D0,$A6,$A2,$8A ...qP&". L1790 fcb $80,$A7,$A4,$CC,$3D,$34,$17,$EF .'$L=4.o -L1798 fcb $F9,$35,$10,$17,$EF,$BB,$39,$29 y5..o;9) -L17A0 fcb $9A,$3F .? +L1798 fcb $F9,$35,$10,$17,$EF,$BB,$39,$55 y5..o;9) +L17A0 fcb $6F,$BE .? ELSE @@ -1675,7 +1675,7 @@ rts ExitHex leas 2,s strip off return address - lbra getcmd exit + lbra readloop exit hexdigit cmpa #'0 char <0? blo nothex yes, bra diff -r f389c6bca482 -r 93328dc6e3f4 level1/cmds/disasm.asm --- a/level1/cmds/disasm.asm Fri Aug 20 11:11:58 2004 +0000 +++ b/level1/cmds/disasm.asm Sat Sep 04 23:07:01 2004 +0000 @@ -35,11 +35,21 @@ * 2003/08/14 Rodney V. Hamilton * Added code to output "end" line * -* 2004/03/11 Rodney V. hamilton +* 2004/03/11 Rodney V. Hamilton * Updated TFM register selection * * 2004/07/15 Robert Gault * Added code to indicate manual start and end for disassembly. +* +* 2004/08/08 Robert Gault +* Changed getbyte routine to make "in memory" and disk i/o synchronize. +* This also required a slight change to gotmod. Added testing so that manual +* end/stop can't exceed module length. Almost have L lables working in Label +* field. If there should be lables and you don't see them, use the s option +* with s$0004$length_of_module. Then you should be able to use any values +* for start/stop and the L labels will still be present. +* Change in z option required by change in getbyte. +* S option uses fake data size. Added minor changes suggested by R.V.H. nam Disasm ttl 6809/6309 disassembler @@ -71,6 +81,8 @@ dsave rmb 2 startadr rmb 2 modadr rmb 2 +s_start rmb 2 for manual start & stop +s_end rmb 2 address rmb 2 addrsave rmb 2 lineadr rmb 2 @@ -94,8 +106,8 @@ labladr rmb 2 highadr rmb 2 utabend rmb 2 +path rmb 1 pass rmb 1 -path rmb 1 diskio rmb 1 objcnt rmb 1 tylghold rmb 1 @@ -132,7 +144,7 @@ hldttl rmb 40 pathlist rmb 80 readbuff rmb 20 -labeltab rmb 6742 +labeltab rmb $3D0C was 6742 This makes even $4000 RG lbtblend rmb 1 rmb 255 datend equ . @@ -1463,7 +1475,7 @@ ln010sz equ *-line010 line020 fcc % use /% ln020sz equ *-line020 -line025 fcc %/defs/os9defs% +line025 fcc %/defs/defsfile% fcb $0d ln025sz equ *-line025 line030 fcc / endc/ @@ -1733,27 +1745,38 @@ leax labeltab,u stx 0 +* bne gets3 +* tst