bradsm87 wrote:
I'll have a good look in Ghidra tonight at anything that refers to the P1610 support mask bit in the ROM and DTC status array in RAM
You may need to go one level higher :
- find the functions that clear/test/set individual bits in the DTC status array, these usually take the DTC index as argument in r4
- find where those functions are called with r4 == dtc_index_for_1610
IIRC the code doesn't ever really go and mess with DTC status bits directly; it's always (?) via helper functions like that.