Bruce Tomlin
Experienced Member
Now that I know the ECB is involved, I can see your problem. That version of petebug definitely won't work with the ECB.
ECB:
010040 ACIA 1 control/status
010041 ACIA 2 control/status
010042 ACIA 1 data
010043 ACIA 2 data
CSA:
010041 ACIA 1 control/status (unused ACIA)
010043 ACIA 1 data
010061 ACIA 2 control/status (the keyboard unit)
010063 ACIA 2 data
So why were you asking for FD0041 ACIA addresses?
Anyhow, here are the only references to the ACIAs in the petebug code, you should be able to hex edit those easily enough. 61/63 is the one used for the display, 41/43 is initialized but not used.
ECB:
010040 ACIA 1 control/status
010041 ACIA 2 control/status
010042 ACIA 1 data
010043 ACIA 2 data
CSA:
010041 ACIA 1 control/status (unused ACIA)
010043 ACIA 1 data
010061 ACIA 2 control/status (the keyboard unit)
010063 ACIA 2 data
So why were you asking for FD0041 ACIA addresses?
Anyhow, here are the only references to the ACIAs in the petebug code, you should be able to hex edit those easily enough. 61/63 is the one used for the display, 41/43 is initialized but not used.
Code:
0087C8: 0839000100010061 L0087C8: BTST #1,$010061.L
0087D2: 13C000010063 MOVE.B D0,$010063.L
0088BE: 0839000000010061 BTST #0,$010061.L
0088CA: 103900010063 MOVE.B $010063.L,D0
008E10: 13FC000300010061 L008E10: MOVE.B #$03,$010061.L
008E18: 13FC001500010061 MOVE.B #$15,$010061.L
008E20: 13FC000300010041 MOVE.B #$03,$010041.L
008E28: 13FC001500010041 MOVE.B #$15,$010041.L