OK well I think I have isolated the jump table for enhanced modes, though it has an offset from that number in the table of 4. For instance the 8f 22 at $8805 plus the offset of 4 is jumping to mode $10 at $18f26.
Code: Select all
87F5 db $88, $DF, $89, $17, $89, $5D, $89, $EF, $8A, $03
87FF db $8B, $B0, $8D, $F8, $8E, $93, $8F, $22, $00, $00
8809 db $8F, $E4, $90, $FF, $91, $DE, $00, $00, $00, $00
8813 db $91, $F5, $94, $69, $96, $4A, $00, $00, $00, $00
881D db $00, $00, $00, $00, $00, $00, $00, $00, $98, $A8
8827 db $00, $00, $98, $D9, $99, $18, $00, $00, $99, $5F
8831 db $00, $00, $99, $6D, $99, $F6, $9A, $40, $9A, $4E
883B db $9C, $24, $9C, $78, $00, $00, $00, $00, $00, $00
8845 db $00, $00, $9D, $F2, $9D, $F2, $9D, $F2, $9E, $40
884F db $9E, $A2, $00, $00, $00, $00, $00, $00, $00, $00
8859 db $00, $00, $A4, $B2, $A4, $B2, $00, $00, $00, $00
8863 db $A8, $C9, $A8, $D3, $A8, $EA, $00, $00, $00, $00
886D db $00, $00, $00, $00, $00, $00, $00, $00, $A9, $04
8877 db $00, $00, $00, $00, $00, $00, $00, $00, $A9, $12
8881 db $A9, $1D
These were some of the actual locations it jumped to according to the logic analyzer
and this is the point that it was making the indirect branch through the jump table