Commit graph

14 commits

Author SHA1 Message Date
hugova
4497026d95 Rewrite start condition of line_down so that it start on exaktly the right pixel 2025-03-25 19:20:23 +01:00
hugova
f185c80a16 Add code skeleton for the binary-tree-api:s unittest 2025-03-24 20:16:52 +01:00
hugova
05b0ff9762 Add performance improvments to line_down_inv.s 2025-03-24 19:55:00 +01:00
hugova
9b8e3fe33f Removed 1 instruction from draw_line_down.s 6% performance boost 2025-03-24 18:25:42 +01:00
hugova
3ce76c02a8 Rewrote 4 branch instructions to 2. 2% performance increase 2025-03-24 18:00:17 +01:00
hugova
f583423bb6 Switched CLC ROR to LSR. 2% performance improvment 2025-03-24 17:45:22 +01:00
hugova
bc59ac63b1 Fix performance by using pointer tricks for ADD. 10% faster line drawing 2025-03-24 17:08:09 +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
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
ecc138f2bc Redused number of instructions but to small a diffrence to messure with current test 2025-03-06 00:59:29 +01:00
hugova
9694d8d55b Redused paint_pixel to 1 call in draw line 2025-03-05 22:42:00 +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
982b6c7ea6 A fix for the timer to work by making it start with value 1. It do not increment from 0! 2025-03-05 01:27:37 +01:00
hugova
89c2b42bfe Reorginisation of line-drawing code. Also added a macro to benchmark line drawing logic. Addition of line_test_time to benchmark line drawing time (Do not work yet) 2025-03-04 23:01:57 +01:00