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
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
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