Commit graph

323 commits

Author SHA1 Message Date
860be95b7b Make status line reappear correctly when returning from compile text 2025-07-18 21:20:50 +02:00
121195a1ad Fix and optimize view scrolling by setting scrolling regions 2025-07-18 21:19:37 +02:00
34f705aef8 Improve UPDATE-BUFFER-CURSOR's means of getting a line into view 2025-07-18 21:07:06 +02:00
5ad61839c2 Make size of default view match size of target terminal 2025-07-18 21:06:26 +02:00
78487f1c24 Optimize editor newline command
This may be the wrong place for this optimization, but I don't have
the luxury of having time to do things right. Hell, the editor is all
in one big file, does it look like I have time to spare for quality?
2025-07-18 20:47:18 +02:00
2157589190 Optimize editor status line redisplay 2025-07-18 17:54:38 +02:00
c6b9e2980a Optimize editor's character-in-line insertion 2025-07-18 17:53:47 +02:00
ea4b8c3d99 Add scrolling region and text attribute functions to editor 2025-07-18 17:50:16 +02:00
3b59b0ce00 Add functions to hide/show cursor in editor 2025-07-18 17:10:01 +02:00
8173da5d08 Add "slow mode" to editor loosely simulating a 9600 baud serial line 2025-07-18 17:09:17 +02:00
c2fde9fdd0 Comment out incorrect optimization 2025-07-17 19:02:58 +02:00
hugova
8fe1c85a40 fix small issues with linedraw 2025-07-17 14:45:51 +02:00
hugova
1ad8071f75 Reduses one CMP instruction in line_down_inv by drawing the line in the other direction 2025-07-17 14:00:56 +02:00
hugova
cda44f292c Reduses one CMP instruction in line_up_inv 2025-07-17 13:53:56 +02:00
hugova
f64d28168b make line_down draw from other end of line. Reduses one CMP instruction 2025-07-17 13:49:24 +02:00
hugova
54fa061342 fix line draw bug, that snaps the end to exry 8th pixel 2025-07-17 13:49:24 +02:00
hugova
2caf71d8fe add more linetests for debuging 2025-07-17 13:49:24 +02:00
hugova
b4860b000c reduse linedraw cpu cyckles before the loop 2025-07-16 21:31:21 +02:00
hugova
e23896d9f9 reduse a ASL from working on zeropage to working on a accumilator in memset_alt 2025-07-16 20:20:28 +02:00
hugova
49a330d24c reduse a STA instruction in circle code 2025-07-16 20:18:53 +02:00
hugova
38070296d0 optimise memset_alt.s 2025-07-16 19:05:45 +02:00
hugova
bf7021a3a9 revert memset.s 2025-07-15 22:37:56 +02:00
hugova
b8df5cb84b add alternate version of memset (probably slower (only for testing)) 2025-07-15 22:33:19 +02:00
hugova
44ac08950a fix wrong implementation of ! flag 2025-07-15 22:23:49 +02:00
hugova
72a9f7060f removed unessesary instructions in memset.s 2025-07-15 21:21:33 +02:00
7e0dbb791e Add editor CSI handler for VT220's 8-bit CSI character 2025-07-15 18:40:03 +02:00
17560c4b78 Additional changes regarding program loading 2025-07-15 18:18:15 +02:00
f81c0f7e65 Some fixes (mostly typos) in loader.s 2025-07-15 16:45:21 +02:00
5c41b48664 Add editor 2025-07-14 17:29:45 +02:00
f9665ee853 Adjust some parser errors 2025-07-14 17:27:02 +02:00
hugova
3a5a16cc06 add pixel_calc that does the same as picel_draw without the drawing pixel part 2025-07-14 12:24:35 +02:00
hugova
d09f417a49 optimise memset and pixel draw! 2025-07-13 23:56:14 +02:00
hugova
5a35ead4dd cleanup test utch that they can run cleanly after each other 2025-07-13 22:06:31 +02:00
hugova
6ee280abec improve memset with code unrolling 2025-07-13 21:57:30 +02:00
fea2a85b54 Increment source line *after* inserting END-OF-STATEMENT 2025-07-13 20:53:37 +02:00
1b2b65cd41 Export source information from USC 2025-07-13 20:53:37 +02:00
08ea79f2de Make sure error printing don't get non-existent line 2025-07-13 20:53:37 +02:00
hugova
a94c6f4e8f rewrite memset to make it 59523 cpu cycles faster in memset_test 2025-07-13 20:40:02 +02:00
hugova
e187d4a244 Revert "added code comments to loader.s"
This reverts commit 74f589b98d.
2025-07-11 16:35:33 +02:00
hugova
877f5f5955 add documentation 2025-07-11 16:34:12 +02:00
hugova
74f589b98d added code comments to loader.s 2025-07-11 16:20:33 +02:00
1b7eaa30aa Some minor fixes in loader.s that probably don't mean much
So technically there's a big problem here, it gives us no time to run
the transfer, but I'm pretty sure I tested before adding that with no
difference. Who knows, but it definitely doesn't help.
2025-07-11 14:23:44 +02:00
1ebf191797 Add loader.s 2025-07-11 10:21:03 +02:00
0734b19746 Add magic stty command that makes the damn thing work 2025-07-10 21:15:37 +02:00
3373409100 Remove stupid error ignoring from COMPILE-AND-SEND-TO-C64 2025-07-10 18:18:18 +02:00
57a47e6ba3 Add basic unfinished C64 upload function to USC 2025-07-10 18:10:35 +02:00
d22bd4ee49 Ensure asm functions are initialized before compiling 2025-07-10 18:10:17 +02:00
fd70c8d5dc Improve test binary stuff 2025-07-10 17:43:14 +02:00
hugova
385ae9c9e6 simplify branch logic for circle draw 2025-07-10 17:03:33 +02:00
hugova
a1089ccd1c Do some sneaky code reductions in circle draw 2025-07-10 16:46:54 +02:00