Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mov.w @(h'C4,pc), r0 ; [00047694] = h'FFFFAB8A
- mov.b @r0, r0
- tst #h'80, r0 ;decide whether target or cold AFR map is used?
- bf/s loc_475EC
- add #4, r15
- mov.l @(h'14,r15), r1
- mov.w @(h'B2,pc), r3 ; [0004768E] = h'FFFF85EA
- mov.l r1, @-r15
- mov.l @(h'C4,pc), r6 ; [000476A4] = h'7D46 ;axis 2??
- mov.l @(h'C8,pc), r5 ; [000476A8] = h'7D22 ;axis 1??
- mov.l @(h'CC,pc), r4 ; [000476B0] = h'6D25 ;normal AFR table;
- mov.w @(h'AA,pc), r2 ; [00047690] = h'4F54 ;sub_4F54 is another table reader
- jsr @r2 ; sub_4F54 ;probably with interpolation, too
- mov.b @r3, r7
- bra loc_475FE ;skip to next part
- nop
- loc_475EC: ;get AFR from cold map ?
- mov.l @(h'14,r15), r1
- mov.l r1, @-r15
- mov.w @(h'9A,pc), r3 ; [0004768E] = h'FFFF85EA
- mov.l @(h'B0,pc), r6 ; [000476A4] = h'7D46 ;uses same axes as table 6D25
- mov.l @(h'B0,pc), r5 ; [000476A8] = h'7D22
- mov.l @(h'BC,pc), r4 ; [000476B4] = h'6E25 ;cold AFR?
- mov.w @(h'94,pc), r2 ; [00047690] = h'4F54
- jsr @r2 ; sub_4F54
- mov.b @r3, r7
- loc_475FE: ;both branches meet here and continue
Advertisement
Add Comment
Please, Sign In to add comment