Commit graph

10 commits

Author SHA1 Message Date
hugova
801cd55541 Improved performance of line_down.s before loop. 2025-03-26 22:00:09 +01:00
hugova
41b8fec7a8 Performance improved mult_16 without changing behaviour 2025-03-25 21:40:40 +01:00
hugova
f185c80a16 Add code skeleton for the binary-tree-api:s unittest 2025-03-24 20:16:52 +01:00
hugova
a617d91183 Change 4 spaces indenting to 8 and add string for emacs to understand indenting rules 2025-03-09 23:43:59 +01:00
hugova
09b8a33e09 Adding of 16-bit arithmatic macro variants for X and A as input 2025-03-07 00:48:13 +01:00
hugova
0797e69106 Add all optimisations done on line_down to line_down_inv. DIx a problem that the pixel was drawin a bit to late in the loop on line_down. 2025-03-06 01:50:37 +01:00
hugova
76f29f6b81 Performance improvment in test by 0.1s. Mady by better arithmatic for *40 in draw_pixel and fast_unsafe parameter for most macros 2025-03-05 21:02:54 +01:00
hugova
4d12f20a6e A Fix for D that gets the wrong initial value and the branch logic in line_* checked for the wrong value.
A new proc, line.s that can chose whitch line_* to use
A small test program in source.s
Wrote a smal test program in source.s  (all looks good exept line_up_inv)
2025-03-03 22:08:00 +01:00
hugova
4f396fd740 A fix to a bug, to make line_down draw lines with small slopes.
I needed to use 16bit logic to ashive this.
Also moved out dx*2, dy*2 calculation outside of loop for better performance.
2025-03-01 23:57:15 +01:00
hugova
864b0e659b Add hugo code 2025-02-27 22:04:43 +01:00