Commit graph

15 commits

Author SHA1 Message Date
hugova
08daa79e6a Improve line_down from 839904 to 837970 cykles in line_test_time 2025-03-29 18:09:58 +01:00
hugova
4f585183ce Rename text.s to char_draw for more consistent naming 2025-03-29 14:27:26 +01:00
hugova
0adbbaf12c Add memcpy and code skeleton for text.s 2025-03-28 12:05:11 +01:00
hugova
b3887a8e0d Rename memory operation and create files for later text drawing stuff 2025-03-27 21:12:40 +01:00
hugova
89c9bc4129 Add self modifying code to draw_line for 2% performance improvments 2025-03-26 12:14:55 +01:00
hugova
05b0ff9762 Add performance improvments to line_down_inv.s 2025-03-24 19:55:00 +01:00
hugova
de2d597612 Change of starting condition for potential testing purposes of another person 2025-03-09 23:53:33 +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
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
1524c837ca A optimisation of line_up_inv.s by moving some logic out of loop 2025-03-02 23:14:51 +01:00
hugova
f3712eca9f Move logic outside loop for performance reasons.
Same as earlier commit but for line_down_inv.s, line_up.s
Comment: Should do the same for line_up_inv.s
2025-03-02 18:29:58 +01:00
hugova
0940d9f9f9 1. A fix for a bug where D gets the wrong initial value (2 bytes where flipped)
2. Implemented line drawing for the other 3 cases
2025-03-02 16:51:55 +01:00
hugova
9c86b570ed Will make the indenting better. Also it will properly use dubble ; for comment blocks 2025-02-28 18:22:07 +01:00
hugova
864b0e659b Add hugo code 2025-02-27 22:04:43 +01:00