Figured i'd say the mega drive trace log is hard to read at the moment, but I think it should be easy to fix. The registers aren't aligned:
Current:
019018: 0C40 cmpi.w #$640, D0 D0:000002D0 D1:00000018 D2:000000FF D3:000000AA D4:01680039 D5:0000C30D D6:00700020 D7:00000001 A0:00FFB200 A1:00FF8000 A2:00FFCD7C A3:00060DDF A4:00010B0A A5:00FF8000 A6:00FFB200 A7:00FFFDEC SR:2309 USP:00000000 xNzvC
01901C: 6202 bhi $19020 D0:000002D0 D1:00000018 D2:000000FF D3:000000AA D4:01680039 D5:0000C30D D6:00700020 D7:00000001 A0:00FFB200 A1:00FF8000 A2:00FFCD7C A3:00060DDF A4:00010B0A A5:00FF8000 A6:00FFB200 A7:00FFFDEC SR:2309 USP:00000000 xNzvC
01901E: 4E75 rts D0:000002D0 D1:00000018 D2:000000FF D3:000000AA D4:01680039 D5:0000C30D D6:00700020 D7:00000001 A0:00FFB200 A1:00FF8000 A2:00FFCD7C A3:00060DDF A4:00010B0A A5:00FF8000 A6:00FFB200 A7:00FFFDF0 SR:2309 USP:00000000 xNzvC
Improved:
019018: 0C40 cmpi.w #$640, D0 D0:000002D0 D1:00000018 D2:000000FF D3:000000AA D4:01680039 D5:0000C30D D6:00700020 D7:00000001 A0:00FFB200 A1:00FF8000 A2:00FFCD7C A3:00060DDF A4:00010B0A A5:00FF8000 A6:00FFB200 A7:00FFFDEC SR:2309 USP:00000000 xNzvC
01901C: 6202 bhi $19020 D0:000002D0 D1:00000018 D2:000000FF D3:000000AA D4:01680039 D5:0000C30D D6:00700020 D7:00000001 A0:00FFB200 A1:00FF8000 A2:00FFCD7C A3:00060DDF A4:00010B0A A5:00FF8000 A6:00FFB200 A7:00FFFDEC SR:2309 USP:00000000 xNzvC
01901E: 4E75 rts D0:000002D0 D1:00000018 D2:000000FF D3:000000AA D4:01680039 D5:0000C30D D6:00700020 D7:00000001 A0:00FFB200 A1:00FF8000 A2:00FFCD7C A3:00060DDF A4:00010B0A A5:00FF8000 A6:00FFB200 A7:00FFFDF0 SR:2309 USP:00000000 xNzvC