Commit graph

302 commits

Author SHA1 Message Date
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
hugova
156abddbe7 reduse SEC instruction from circle-draw 2025-07-10 16:40:14 +02:00
hugova
b868156138 reduse zeropage usage of circle-draw 2025-07-10 16:28:17 +02:00
hugova
5e3eb78506 reduse instructions in circle draw 2025-07-10 01:38:37 +02:00
hugova
7cd03c02ba add code comments and compiler flag for circle draw. 2025-07-10 01:08:37 +02:00
hugova
4916678549 reduse instructions in circle draw 2025-07-10 00:45:50 +02:00
hugova
fbb7c395e4 rewrite circle code, such that it works on all X and Y (and not only if rest(X /8)=0 and rest(Y/0)=0. This makes the code alot bigger because the same symetries cant be abused. 2025-07-10 00:24:27 +02:00
06d6b434de Remove unused "NEXT" slots from syntax tree nodes (and related code) 2025-07-09 16:06:56 +02:00
d25f3795f5 Add basic unit tests to user-side compiler 2025-07-09 16:00:54 +02:00
83fdb01368 Add way to make binary test build of user-side compiler 2025-07-09 15:19:06 +02:00
7940298753 Add exported "interface" to user-side compiler 2025-07-09 15:18:04 +02:00
fb8f010e0d Delete test-programs.lisp (unused since long ago) 2025-07-09 15:16:44 +02:00
0f0ba054be Add pre-assembly.lisp, which handles transformations needed for asm 2025-07-09 15:15:57 +02:00
36b28f5b8b Remove QUICK-AND-DIRTY-TEST-COMPILE 2025-07-09 14:39:35 +02:00
fd311232de Add error type for missing ASM-FUNCTION 2025-07-09 14:38:49 +02:00
100086afa2 Improve tokenizer and parser error message header 2025-07-09 14:38:28 +02:00
b4d61c0deb Add example-6.c6l 2025-07-09 14:38:11 +02:00
352f9e897e Add TOKEN-ATOMIC for better tokenization statistics 2025-07-09 14:37:47 +02:00
2b0bcecc66 Fix incorrectly cons'd token source 2025-07-09 14:37:35 +02:00
dd3fe5369d Fix column off-by-one error in source tracking 2025-07-09 14:37:25 +02:00
c3dc447fe4 Remove any trace of the attempt to parse in C6L comments 2025-07-09 14:36:47 +02:00
b65012ed04 Remove warning for uncompilable operations, these should be errors 2025-07-09 14:34:57 +02:00