Commit graph

117 commits

Author SHA1 Message Date
hugova
c2a5af481f rewrote the circle code to use relative position for pixel draw. This made it 2 orders of magnitudes faster! 2025-06-28 22:25:55 +02:00
hugova
484bafa828 Fix quartercircle offset isse (before the circle had the offset (0,0) always!) 2025-06-28 21:10:59 +02:00
hugova
363e3907ff Fix circle-code (wip) Now the test renders the forth quarter of a circle! 2025-06-28 21:05:25 +02:00
hugova
50a17ad691 rewrote circle code (still not working) 2025-06-28 20:53:39 +02:00
hugova
07e12696e5 Fix bugg where screen do not properly clear on startup 2025-06-28 20:14:22 +02:00
hugova
846d792aee Add extended testing of pixel_draw and fix a pixel_draw bugg (error of max 8px) 2025-06-28 20:12:58 +02:00
hugova
d691d692b9 more pritty circle bugs 2025-06-26 22:38:11 +02:00
hugova
8b955a5007 very cool but not working circle. 2025-06-26 22:05:08 +02:00
hugova
89dcec60ff implement general divition 2025-05-17 16:12:13 +02:00
hugova
3283f9a68a fix compiler arguments 2025-05-17 16:12:13 +02:00
hugova
42d6b35713 remove none relevant stuff from build.sh 2025-05-17 16:12:13 +02:00
hugova
69232b6d53 optimize general multiplication, less cpu cykels in most cases 2025-05-16 18:37:21 +02:00
hugova
9a06f770c2 add general multiplication implementation 2025-05-16 11:11:21 +02:00
hugova
c6392088f8 optimize away JMP instruction in mem logic 2025-05-15 17:43:23 +02:00
hugova
f17b332005 optimize code, no need to set Y after overflow 2025-05-15 17:39:43 +02:00
hugova
350e014e3f fix the banner of char_draw to the compiler 2025-05-15 17:36:34 +02:00
hugova
465996a2e6 used unsafe add to improve char_draw performance 2025-05-15 17:32:42 +02:00
hugova
c1a79b32b7 unroll loop for faster char-draw:s 2025-05-15 17:24:40 +02:00
hugova
98ef4eaef0 remove unused instruction 2025-05-15 17:14:24 +02:00
hugova
87fd6a1b9d make memset work more like c:s implementation. 2025-05-15 17:05:28 +02:00
hugova
cc46c68290 optimize new memcpy 2025-05-15 16:18:50 +02:00
hugova
f8dbfd86f9 rewrite memcpy to work more like c:s implementation 2025-05-15 16:11:51 +02:00
hugova
3295b71f6b make char_draw faster using lookup-table 2025-05-12 12:21:18 +02:00
hugova
55e63ff627 optimise away constant by adding it to lookup-table 2025-05-12 02:24:55 +02:00
hugova
d34d25ce9f reduce 2 into 1 instruction in pixel_draw.s 2025-05-12 02:06:26 +02:00
hugova
65905fa7e7 optimise pixel draw using lookup table 2025-05-12 01:44:00 +02:00
hugova
2bab2a6c8a change naming convention for one variable 2025-05-11 22:32:36 +02:00
hugova
c2e89a5487 make char.s use ARGVEC 2025-05-11 22:23:08 +02:00
hugova
c2a4ff416d fix comment and fix syntax 2025-05-11 20:45:11 +02:00
hugova
017a337180 make pixel drawing faster using lookup table 2025-05-11 20:00:48 +02:00
hugova
e89d566fbb make .build executable 2025-05-11 19:59:47 +02:00
hugova
df5130df2e comment out buggy code in source.s 2025-05-08 23:06:32 +02:00
hugova
83793035ad add use of ARGVEC see public.inc 2025-05-08 23:05:38 +02:00
hugova
9b5fd7d6e5 limit pixel_draw to only write pixel with 0 - 255 x_pos 2025-05-08 23:05:38 +02:00
hugova
032cbea0ab create build file and remove enviroment specific file 2025-05-08 21:46:02 +02:00
hugova
3e063e9aaf move pixel-draw code 2025-05-08 21:41:46 +02:00
8a45d4fca1 Revert "populate .inc file with parameters for compiler"
We changed our minds, Hugo has the better idea, I concede and humbly
admit defeat.

This reverts commit 8d5cf37448.
2025-05-08 20:24:18 +02:00
hugova
8d5cf37448 populate .inc file with parameters for homade compiler, will change format 2025-05-08 20:16:06 +02:00
hugova
c8484975a8 move emacs uggly banner to the right place 2025-05-08 20:15:13 +02:00
hugova
a553549b18 found place were old 16-bit zeropage format was used, fix that! 2025-05-08 20:11:04 +02:00
hugova
75bbe83a01 fix spelling 2025-05-08 19:41:17 +02:00
hugova
09d7701c15 add test program for char_draw 2025-05-02 22:36:27 +02:00
hugova
ddd2057ff4 add hinting for user side compiler 2025-05-02 22:02:55 +02:00
hugova
4c604c8a47 fix spelling 2025-05-02 21:57:59 +02:00
hugova
830c4d135d Add small minute changes 2025-05-02 21:51:49 +02:00
hugova
a5044d6e4c Add code for not working scanline interupt (for future dubbel buffer) 2025-05-02 20:46:27 +02:00
hugova
1a8d4593ed Minimise performance issues of None Maskable Interupt 2025-05-02 18:55:33 +02:00
hugova
3bdf52d1a8 Add more variable for triangle_drawing 2025-05-01 17:25:37 +02:00
hugova
737ebbbe51 Add more skeleton code for future triangle drawing 2025-05-01 16:17:42 +02:00
hugova
c27e79efa6 Add some code structure for future triangle rendering 2025-04-28 16:01:06 +02:00