Simulating the MECB

User avatar
djrm
Posts: 72
Joined: Wed Aug 21, 2024 9:40 pm
Location: Rillington / UK
Contact:

Re: Simulating the MECB

Post by djrm »

It turns out that adding a simple single line disassemble to Assist09 after a trace instruction isn't very difficult at all. The formatting could be improved maybe by arranging the output to a single line.

Code: Select all

>R PC-ECAF A-00 B-BF X-FFFF Y-BFB2 U-BF45 S-BF35 CC-D4 DP-BF 
PC-EC74
>T 8
PC-EC77 A-81 B-BF X-FFFF Y-BFB2 U-BF45 S-BF35 CC-D8 DP-BF 
OP-BE C0 02     LDX   $C002 
PC-EC7A A-81 B-BF X-000A Y-BFB2 U-BF45 S-BF35 CC-D0 DP-BF 
OP-BF B1 00     STX   $B100 
PC-EC7D A-81 B-BF X-000A Y-BFB2 U-BF45 S-BF35 CC-D0 DP-BF 
OP-B6 C0 01     LDA   $C001 
PC-EC80 A-81 B-BF X-000A Y-BFB2 U-BF45 S-BF35 CC-D8 DP-BF 
OP-BE C0 04     LDX   $C004 
PC-EC83 A-81 B-BF X-FFFF Y-BFB2 U-BF45 S-BF35 CC-D8 DP-BF 
OP-BF B1 02     STX   $B102 
PC-EC86 A-81 B-BF X-FFFF Y-BFB2 U-BF45 S-BF35 CC-D8 DP-BF 
OP-B6 C0 01     LDA   $C001 
PC-EC89 A-81 B-BF X-FFFF Y-BFB2 U-BF45 S-BF35 CC-D8 DP-BF 
OP-BE C0 06     LDX   $C006 
PC-EC8C A-81 B-BF X-FFFF Y-BFB2 U-BF45 S-BF35 CC-D8 DP-BF 
OP-BF B1 04     STX   $B104 
>
Post Reply