Now what?
Roger Heflin
rah at horizon.hit.net
Tue May 25 18:49:54 GMT 1999
On Tue, 25 May 1999, Bruce Plecan wrote:
>
> | Looking at the code is really the only way to figure out things.
>
> Is not this re-edit just the coded part?.
>
Yes that is some of the code. I am not sure there is enough for it to
be all of the code. On mine there was a considerable ammount of code
0xA000- 0xFFFF was pretty much all code.
> If
> | you have the ALDL output stream that is a good place to start.
>
> Meaning using Gcar?.
I am not familiar with Gcar. What you really need is the description
of the ALDL outputed data stream. THen you figure out what code
outputs the ALDL data, and you figure out where that code gets the
data from. At the point you know where the data came from, you know
where some of the internal data is stored. From that you can
generally figure out where some of the related data is gotten from, or
stored to.
Roger
> Grumpy
> |
> | Roger
>
> | > snip
> | > 90FC L90FC: pulx What needs to be done with this to make sense
> of
> | > it??
> | > 90FD pulx
> | > 90FE pula
> | > 90FF pulb
> | > 9100 ins
> | > 9101 rts
> | > 9102 L9102: pshy
> | > 9104 pshb
> | > 9105 pshx
> | > 9106 suba 0x00,x
> | > 9108 bcc L910B
> | > 910A clra
> | > 910B L910B: subb 0x01,x
> | > 910D bcc L9110
> | > 910F clrb
> | > 9110 L9110: pshx
> | > 9111 puly
> | > 9113 psha
> | > 9114 ldaa #0x10
> | > 9116 mul
> | > 9117 pshb
> | > 9118 tab
> | > 9119 abx
> | > 911A pula
> | > 911B pulb
> | > 911C psha
> | > 911D ldaa #0x10
> | > 911F mul
> | > 9120 pshb
> | > 9121 ldab 0x02,y
> | > 9124 mul
> | > 9125 abx
> | > 9126 pshx
> | > 9127 ldab 0x02,y
> | > 912A abx
> | > 912B tsy
> | > 912D ldd 0x03,x
> | > 912F sba
> | > 9130 ldab 0x03,y
> | > 9133 bcc L913B
> | > 9135 nega
> | > 9136 mul
> | > 9137 adca 0x03,x
> | > 9139 bra L9141
> | > 913B L913B: mul
> | > 913C adca #0x00
> | > 913E nega
> | > 913F adda 0x03,x
> | > 9141 L9141: pulx
> | > 9142 psha
> | > 9143 ldd 0x03,x
> | > 9145 sba
> | > 9146 ldab 0x03,y
> | > 9149 bcc L9151
> | > 914B nega
> | > 914C mul
> | > 914D adca 0x03,x
> | > 914F bra L9157
> | > 9151 L9151: mul
> | > 9152 adca #0x00
> | > 9154 nega
> | > 9155 adda 0x03,x
> | > 9157 L9157: pulb
> | > 9158 psha
> | > 9159 sba
> | > 915A ldab 0x02,y
> | > 915D bcc L9166
> | > 915F nega
> | > 9160 mul
> | > 9161 adca 0x01,y
> | > 9164 bra L916D
> | > 9166 L9166: mul
> | > 9167 adca #0x00
> | > 9169 nega
> | > 916A adda 0x01,y
> | > 916D L916D: ins
> | > 916E pulx
> | > 916F pulx
> | > 9170 pulb
> | > 9171 puly
> | > 9173 rts
> | > 9174 L9174: pshx
> | > 9175 pshb
> | > 9176 ldab 0x00,x
> | > 9178 inx
> | > 9179 bra L9183
> | > 917B L917B: sba
> | > 917C bcc L917F
> | > 917E clra
> | > 917F L917F: pshx
> | > 9180 pshb
> | > 9181 ldab #0x10
> | > 9183 L9183: mul
> | > 9184 pshb
> | > 9185 tab
> | > 9186 abx
> | > 9187 ldd 0x00,x
> | > 9189 sba
> | > 918A pulb
> | > 918B bcc L9193
> | > 918D nega
> | > 918E mul
> | > 918F adca 0x00,x
> | > 9191 bra L9199
> | > 9193 L9193: mul
> | > 9194 adca #0x00
> | > 9196 nega
> | > 9197 adda 0x00,x
> | > 9199 L9199: pulb
> | > 919A pulx
> | > 919B rts
> | > 919C L919C: pshb
> | > 919D pshx
> | > 919E pshx
> | > 919F tsx
> | > 91A0 suba 0x00,x
> | > 91A2 bcc L91AB
> | > 91A4 negb
> | > 91A5 addb 0x00,x
> | > 91A7 stab 0x00,x
> | > 91A9 ldab 0x04,x
> | > 91AB L91AB: mul
> | > 91AC stab 0x01,x
> | > 91AE psha
> | > 91AF ldd 0x03,x
> | > 91B1 negb
> | > 91B2 beq L91B7
> | > 91B4 mul
> | > 91B5 adca #0x00
> | > 91B7 L91B7: tab
> | > 91B8 pula
> | > 91B9 addd 0x00,x
> | > 91BB pulx
> | > 91BC pulx
> | > 91BD ins
> | > 91BE rts
> | > 91BF E0VECT: pshx
> | > 91C0 pshb
> | > 91C1 psha
> | > 91C2 lsrd
> | > 91C3 psha
> | > 91C4 ldy #0x0000
> | > 91C8 tba
> | > 91C9 beq L91D9
> | > 91CB L91CB: ldab 0x00,x
> | > 91CD aby
> | > 91CF ldab 0x01,x
> | > 91D1 aby
> | > 91D3 ldab #0x02
> | > 91D5 abx
> | > 91D6 deca
> | > 91D7 bne L91CB
> | > 91D9 L91D9: pshx
> | > 91DA ldx #0xFF00
> | > 91DD stx L400B
> | > 91E0 tsx
> | > 91E1 dec 0x02,x
> | > 91E3 pulx
> | > 91E4 bpl L91CB
> | > 91E6 ins
> | > 91E7 pula
> | > 91E8 pulb
> | > 91E9 pulx
> | > 91EA rts
> | > 91EB ECVECT: ldx #0x4000
> | > 91EE bclr 0x04,x,#0x04
> | > 91F1 bra L91F9
> | >
> | > snip
> | >
> | > FFF4 VECTF4: .word F4VECT OK ??
> | > FFF6 VECTF6: .word F6VECT
> | > FFF8 VECTF8: .word F8VECT
> | > FFFA VECTFA: .word FAVECT
> | > FFFC VECTFC: .word FCVECT
> | > FFFE RSTVEC: .word RESET
> | > 0000 ; .end
> | >
> | > Thanks
> | > Doc Grumpy Sneezy Sleepy Bashful
> | >
> | >
> |
>
>
More information about the Gmecm
mailing list