Commit graph

343 commits

Author SHA1 Message Date
bf2e6f8035 Move public.inc to host 2025-07-24 13:22:09 +02:00
c0dc98a2c9 Move wip-hugo stuff into "host" (to be sorted) 2025-07-24 13:20:29 +02:00
e00474bc98 Move user-side compiler into repo root 2025-07-24 12:34:53 +02:00
a206de1007 Move editor into repo root 2025-07-24 12:34:21 +02:00
4dfde387e4 Remove Dicander's code, as it is unused by the larger system 2025-07-24 12:27:53 +02:00
0168fb4079 Add binary build stuff to editor 2025-07-23 20:32:14 +02:00
ad297f0c09 Make editor's compile command save files (source and binary) 2025-07-23 20:27:37 +02:00
hugova
1e4a823a80 fix bugg added last commit 2025-07-23 18:05:37 +02:00
hugova
3fe7cdb8ac optimise line_* by using 2:s compliment (see commit before)) 2025-07-23 18:03:06 +02:00
hugova
b23a63ddf5 optimise line_down by using signed 16-bit 2025-07-22 17:49:09 +02:00
hugova
e5c78e7565 remove old syntax such that lines can be drawn without smc 2025-07-22 17:15:16 +02:00
hugova
fe28daaf26 make shell script that translate .lbl file to retrodebugger format. Also added a build directory 2025-07-21 23:28:56 +02:00
10e4cf8dc3 Add COM-FORWARD-WORD and COM-BACKWARD-WORD 2025-07-21 21:49:51 +02:00
e717f49afc Replace unused code in code generation with assert 2025-07-21 21:49:51 +02:00
2331d15e11 Fix COM-FORWARD-DELETE 2025-07-21 21:49:51 +02:00
fa4fa088fe Remove old debug print from COMPILE-IR for IR-CALL 2025-07-21 21:49:51 +02:00
c6ba4228b3 Fix bug where lines split by typed newline didn't redisplay 2025-07-21 21:49:51 +02:00
hugova
dc59319900 make VICE load labels from macros as well! 2025-07-19 16:44:35 +02:00
hugova
3bc2917ff9 fix last commit by adding the ./run.sh script (that should be in the repo for a long long time) and fixing readme 2025-07-19 16:36:40 +02:00
hugova
1fcee65974 fix documentation and compilasion so that vice can read labels! 2025-07-19 16:29:20 +02:00
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