Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/utils/sleuth3/cssiafcb3.asm @ 3149:afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Added new directory "3rdparty/utiles/sleuth3" and source files to build
"sleuth3" and its utilities. Also added "sleuth3" to the Directories
section of "3rdparty/utils/makefile" to faciliate the inclusion of the
sleuth3 build.
author | Bill Pierce <merlinious999@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 18:55:39 +0100 |
parents | |
children |
rev | line source |
---|---|
3149
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
1 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
2 *************************************** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
3 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
4 iafcc stb maxln,u fcc,fcb,rmb |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
5 tst phase,u chk phase and |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
6 beq iafcx exit if 1 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
7 leax inst1,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
8 stx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
9 iafc0 ldb instx,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
10 cmpb #$43 fcc |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
11 bne iafc5 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
12 anda #$7f mask off parity bit |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
13 cmpa #$1f control chars |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
14 bls iafc2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
15 cmpa #maxprn max printable |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
16 bhi iafc2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
17 cmpa #$22 " |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
18 bne iafc8 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
19 iafc2 ldb instx,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
20 leax inst1,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
21 cmpx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
22 bne iafc3 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
23 cmpb #$43 c |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
24 bne iafcx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
25 ldb #$48 fcc->fcb |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
26 stb instx,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
27 iafcx lbra next2 get next and return |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
28 iafc3 ldx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
29 cmpb #$43 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
30 bne iafc4 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
31 ldd #$2204 fcc/fcs "..." |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
32 std ,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
33 iafc4 rts return for fcc |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
34 iafc5 cmpb #$52 r |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
35 bne iafc8 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
36 ldd saddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
37 pshs d |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
38 iafc6 lbsr getin get next byte |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
39 ldb insty,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
40 cmpb #$52 r |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
41 bne iafc7 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
42 ldy daddr,u chk labeled |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
43 lbsr adalx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
44 bcs iafc7 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
45 lbsr ckend chk end of program |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
46 bls iafc6 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
47 iafc7 ldd saddr,u end of rmb range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
48 subd ,s++ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
49 std rmblth,u set rmb length |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
50 rts |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
51 iafc8 leax inst1,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
52 cmpx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
53 beq iafc9 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
54 ldy daddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
55 lbsr adalx chk label |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
56 bcs iafc2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
57 iafc9 ldx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
58 sta ,x+ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
59 stx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
60 cmpa instr,u check for fcs |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
61 beq iafca |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
62 lda fccxx+3,u c->s |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
63 ora #$10 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
64 sta fccxx+3,u fcs |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
65 lbsr getin |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
66 lbra iafc2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
67 iafca lbsr getin |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
68 ldb fllth,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
69 cmpb maxln,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
70 lbeq iafc2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
71 ldb instx,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
72 cmpb insty,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
73 lbne iafc2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
74 lbra iafc0 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
75 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
76 adald ldd raddr,u add a data label |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
77 adale pshs a flag as data |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
78 lda zulabe,u prefix u/z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
79 sta lauorz,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
80 puls a |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
81 bra adalv |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
82 adalw ldd raddr,u add a data label |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
83 adalu pshs a flag as data |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
84 lda ulabel,u prefix u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
85 sta lauorz,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
86 puls a |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
87 bra adalv |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
88 adalb ldd raddr,u add a prog label |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
89 adal0 pshs a flag as label |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
90 lda zlabel,u prefix z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
91 sta lauorz,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
92 puls a |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
93 adalv pshs d,y |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
94 tfr d,y |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
95 bsr adall chk labels |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
96 bcs adatx branch if there |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
97 lda lauorz,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
98 ldx addre,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
99 cmpx alimit,u chk for overflow |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
100 lbhs tablab |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
101 sty ,x++ add to list |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
102 sta ,x+ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
103 stx addre,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
104 leax -$03,x bubble sort |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
105 adal1 cmpx typee,u back up |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
106 bls adatx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
107 leax -$03,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
108 adal2 ldy ,x compare |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
109 lda $02,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
110 cmpy $03,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
111 bls adatx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
112 pshs a,y |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
113 ldy $03,x swap |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
114 lda $05,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
115 sty ,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
116 sta $02,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
117 puls a,y |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
118 sty $03,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
119 sta $05,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
120 bra adal1 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
121 adatx puls d,y,pc |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
122 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
123 adalx pshs a chk prog labels |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
124 lda zlabel,u prefix z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
125 sta lauorz,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
126 puls a |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
127 bra adall |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
128 adaly pshs a chk data labels |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
129 lda ulabel,u prefix u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
130 sta lauorz,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
131 puls a |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
132 adall ldx typee,u chk labels |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
133 pshs d |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
134 lda lauorz,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
135 adalp cmpx addre,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
136 bhs adanf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
137 leax $03,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
138 cmpy -$03,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
139 bne adaix |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
140 cmpa -$01,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
141 bne adalp |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
142 adafo orcc #$01 successful, c=1 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
143 leax -$03,x back up |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
144 puls d,pc |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
145 adaix bhi adalp |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
146 adanf andcc #$fe unsuccessful, c=0 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
147 puls d,pc |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
148 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
149 ckequ lda instx,u chk org's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
150 cmpa #$4b |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
151 beq cktno |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
152 tst dorgs,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
153 beq cktno |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
154 clr dorgs,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
155 ckeqw tst os9flx,u chk for OS/9 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
156 bne cktno |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
157 leax caddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
158 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
159 leax orges,pcr org $ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
160 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
161 leax caddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
162 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
163 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
164 cktno ldx daddr,u chk equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
165 clr baddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
166 dec fllth,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
167 lda fllth,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
168 ldb instx,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
169 cmpb #$43 c |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
170 beq ckeqa |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
171 cmpb #$48 h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
172 beq ckeqa |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
173 cmpb #$52 r |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
174 bne ckeso |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
175 ckeqa ldx caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
176 clra |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
177 ckesx stx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
178 sta worka,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
179 ldy gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
180 lbsr adalx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
181 bcc ckenf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
182 tst worka,u chk offset |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
183 beq ckexo |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
184 leax gaddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
185 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
186 lda #$02 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
187 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
188 lda zlabel,u z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
189 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
190 leax gaddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
191 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
192 leax bequb,pcr equ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
193 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
194 lbsr xpdat *+ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
195 lda worka,u x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
196 adda #$30 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
197 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
198 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
199 ckenf lda worka,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
200 beq ckext |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
201 ldx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
202 deca |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
203 ckeso leax -$01,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
204 bra ckesx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
205 ckexo ldb instx,u chk ign |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
206 cmpb #$4b |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
207 bne ckexe |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
208 leax gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
209 lda zlabel,u prefix z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
210 lbra gnpea xxxx zxxxx equ $xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
211 ckexe tst equfl,u check equ flag |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
212 beq ckexs |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
213 leax caddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
214 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
215 lda #$02 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
216 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
217 lda zlabel,u z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
218 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
219 leax caddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
220 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
221 leax bequb,pcr equ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
222 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
223 lda #$2a * |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
224 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
225 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
226 bra ckext |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
227 ckexs inc baddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
228 ckext lda instx,u chk ign |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
229 cmpa #$4b k |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
230 beq ckexz |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
231 leax caddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
232 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
233 lda instx,u chk rmb |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
234 cmpa #$52 r |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
235 beq ckexy |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
236 lda #$01 hex object |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
237 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
238 lda fllth,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
239 inca |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
240 beq ckexy |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
241 cmpa #$06 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
242 blo ckexu |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
243 lda #$05 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
244 ckexu sta worka,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
245 leax inst1,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
246 ckexv lbsr xot2h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
247 dec worka,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
248 bne ckexv |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
249 ckexy lda #$02 label tab |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
250 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
251 tst baddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
252 beq ckexz |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
253 lda zlabel,u z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
254 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
255 leax caddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
256 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
257 ckexz rts |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
258 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
259 headr lbsr xcrlf start program file |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
260 ldx crtfl,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
261 stx confl,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
262 lda disof,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
263 sta dskfl,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
264 lda names+5,u chk nam |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
265 cmpa #$04 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
266 beq headc |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
267 leax names,u nam |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
268 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
269 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
270 headc lda optes+5,u chk opt |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
271 cmpa #$04 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
272 beq headg |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
273 leax optes,u opt |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
274 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
275 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
276 headg clr column,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
277 tst os9flx,u chk for OS/9 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
278 lbeq headt |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
279 lda comand,u chk view |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
280 cmpa #$56 v |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
281 lbeq headt |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
282 leax sysdef,pcr system definitions |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
283 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
284 lda obatre,u version |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
285 lbsr xothr |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
286 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
287 ldd obname,u module name offset |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
288 lbsr adal0 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
289 leax lmodul,pcr mod endmod,namemd, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
290 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
291 lda obtyla,u type and language |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
292 anda #$f0 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
293 lsra |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
294 leax ltypes,pcr type |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
295 leax a,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
296 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
297 leax llangs,pcr +objct, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
298 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
299 lda obatre,u attributes and version |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
300 bpl headq |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
301 leax lreent,pcr reent+ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
302 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
303 headq leax lversi,pcr version,xferad,endmem |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
304 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
305 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
306 ldd #$0000 xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
307 pshs d |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
308 tfr s,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
309 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
310 leax orges,pcr org $0000 for storage |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
311 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
312 tfr s,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
313 lbsr xot4h xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
314 puls d |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
315 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
316 lbsr gendat generate data rmb's and equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
317 headh leax lemmod,pcr module header |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
318 lbsr xpdat endmem |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
319 lbsr xpdat equ . |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
320 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
321 lda names+5,u chk nam |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
322 cmpa #$04 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
323 beq headn |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
324 leax names,u nam |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
325 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
326 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
327 headn ldx #$ffff gen absolute equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
328 stx caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
329 ldx #$0000 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
330 stx raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
331 lda xlabel,u prefiz x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
332 sta zulabe,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
333 lbsr gnequ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
334 ldx #$000c gen equ's in header |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
335 stx caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
336 ldx #$0000 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
337 stx raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
338 lda zlabel,u prefiz z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
339 sta zulabe,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
340 lbsr gnequ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
341 lda ulabel,u prefiz u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
342 sta zulabe,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
343 headt ldd curmod,u reset curr locn |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
344 std inlrec,u zap curr locn |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
345 lda curmod+2,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
346 sta inlrec+2,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
347 ldx faddr,u gen out-of-range equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
348 beq headx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
349 leax -$01,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
350 stx caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
351 ldx #$0000 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
352 stx raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
353 lda zlabel,u prefiz z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
354 sta zulabe,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
355 lbsr gnequ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
356 headx inc dorgs,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
357 rts |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
358 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
359 gendat equ * generate data rmb's and equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
360 lda ulabel,u prefix u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
361 sta zulabe,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
362 ldx obstor,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
363 lbeq gendeq |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
364 leax -$01,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
365 stx caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
366 ldx #$0000 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
367 stx raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
368 stx zaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
369 ldx typee,u gen data rmb's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
370 genrm1 stx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
371 cmpx addre,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
372 beq genrm5 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
373 bhi gendeq |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
374 ldy $00,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
375 cmpy raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
376 beq genrm6 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
377 genrm2 blo genrm4 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
378 cmpy caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
379 genrm3 bls genrm6 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
380 genrm4 leax $03,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
381 bra genrm1 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
382 genrm5 ldy obstor,u force last rmb |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
383 bra genrm7 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
384 genrm6 lda zulabe,u prefix u/z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
385 cmpa $02,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
386 bne genrm8 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
387 genrm7 stx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
388 tfr y,d |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
389 subd zaddr,u compute rmb offset |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
390 bls genrm8 chk for non-positive |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
391 pshs d |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
392 leax zaddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
393 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
394 lda #$02 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
395 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
396 lda zulabe,u prefix u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
397 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
398 leax zaddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
399 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
400 leax rmbes,pcr rmb $ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
401 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
402 tfr s,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
403 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
404 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
405 puls d |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
406 sty zaddr,u remember current address |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
407 genrm8 ldx gaddr,u get next label |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
408 bra genrm4 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
409 gendeq ldx obstor,u gen out-of-range data equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
410 stx raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
411 ldx #$ffff |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
412 stx caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
413 lbsr gnequ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
414 rts |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
415 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
416 ender ldx daddr,u end text file |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
417 beq ende0 gen out-of-range equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
418 stx raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
419 ldx #$ffff |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
420 stx caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
421 lda zlabel,u prefix z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
422 sta zulabe,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
423 lbsr gnequ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
424 ende0 lda comand,u chk view |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
425 cmpa #$56 v |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
426 beq ende3 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
427 tst os9flx,u chk for OS/9 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
428 beq ende1 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
429 leax endos9,pcr emod |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
430 lbsr xpdat endmod equ * |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
431 leax lnamem,pcr namemd equ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
432 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
433 lda zlabel,u z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
434 lbsr xoute z/$ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
435 leax obname,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
436 lbsr xot4h xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
437 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
438 leax lxfera,pcr xferad equ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
439 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
440 lda zlabel,u z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
441 lbsr xoute z/$ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
442 leax obxfer,u xfer offset |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
443 lbsr xot4h xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
444 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
445 ende1 leax endes,pcr end |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
446 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
447 tst os9flx,u chk for OS/9 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
448 bne ende2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
449 ldx xaddr,u chk xfer addr |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
450 leax $01,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
451 beq ende2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
452 lda zlabel,u z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
453 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
454 leax xaddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
455 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
456 ende2 lbsr xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
457 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
458 ende3 lda #$01 reset flags and close files |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
459 sta confl,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
460 clr phase,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
461 tst prtfl,u chk for printer output |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
462 beq endep |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
463 clr prtfl,u close printer file |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
464 clr prfile,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
465 leax prblok,u force last block |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
466 lbsr fob |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
467 bcc endpe |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
468 lda #$02 error |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
469 leax errprz,pcr |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
470 ldy #errprl |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
471 os9 I$WritLn |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
472 endpe lda prblok+iobfd+1,u close it |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
473 clr prblok+iobfd,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
474 clr prblok+iobfd+1,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
475 os9 I$Close |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
476 bcc endep |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
477 lda #$02 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
478 leax errprz,pcr |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
479 ldy #errprl |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
480 os9 I$WritLn |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
481 endep tst dskfl,u chk for disk output |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
482 beq endex |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
483 clr disof,u close output file |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
484 clr dskfl,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
485 clr otfile,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
486 leax otblok,u force last block |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
487 lbsr fob |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
488 bcc endxe |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
489 lda #$02 error |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
490 leax errorz,pcr |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
491 ldy #errorl |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
492 os9 I$WritLn |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
493 endxe lda otblok+iobfd+1,u close it |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
494 clr otblok+iobfd,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
495 clr otblok+iobfd+1,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
496 os9 I$Close |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
497 bcc endex |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
498 lda #$02 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
499 leax errorz,pcr |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
500 ldy #errorl |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
501 os9 I$WritLn |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
502 endex lbra xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
503 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
504 gnequ ldx typee,u out-of-range equ's |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
505 gneq1 stx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
506 cmpx addre,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
507 beq gneqx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
508 ldd $00,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
509 cmpd raddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
510 beq gneq6 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
511 gneq2 blo gneq4 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
512 cmpd caddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
513 gneq3 bls gneq6 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
514 gneq4 leax $03,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
515 bra gneq1 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
516 gneq6 stx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
517 lda zulabe,u prefix u/z |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
518 cmpa $02,x |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
519 bne gneq7 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
520 bsr gnpea |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
521 gneq7 ldx gaddr,u |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
522 bra gneq4 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
523 gneqx rts |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
524 ** |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
525 gnpea pshs a gen xxxx zxxxx equ $xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
526 stx baddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
527 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
528 lda #$02 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
529 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
530 puls a label prefix |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
531 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
532 ldx baddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
533 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
534 leax bequb,pcr equ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
535 lbsr xpdat |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
536 lda #$24 $ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
537 lbsr xoute |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
538 ldx baddr,u xxxx |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
539 lbsr xot4h |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
540 lbra xcrlf |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
541 ** |