Kalmalyzer / kalms-c2p

Kalms C2P routine collection
38 stars 7 forks source link

Fix for normal/c2p1x1_5_c5_030.s #2

Closed pawelmat closed 2 years ago

pawelmat commented 2 years ago

normal/c2p1x1_5_c5_030.s has an error in creating tempbuf for the last bitplane. Here's the fix:

Lines 169-172 should be removed: lsl.l #6,d1 ; Swap/Merge 2x4, part 1 lsl.l #4,d3 or.l d1,d3 move.l d3,a4

And replaced by: lsl.l #2,d1 ; Swap/Merge 2x4, part 1 or.l d1,d3 move.l d3,(a3)+

Line 195 should be removed: add.l a4,d1

Kalmalyzer commented 2 years ago

Thanks for the heads up. Would you mind making a PR with the change too? I hear it gives Internet karma!

pawelmat commented 2 years ago

Done, PR#3

Kalmalyzer commented 2 years ago

Thanks for the fix!