Commit graph

441 commits

Author SHA1 Message Date
64de7f64e5 Bind delete key to forward delete 2025-07-31 22:14:49 +02:00
e7867aa4d0 Fix weird error with page down 2025-07-31 22:14:49 +02:00
hugova
0e3ebe487c fix test that test most multiplications. Also fix multiplication 0*0 bugg. 2025-07-31 21:53:55 +02:00
0f80ba10ef Add inlining (or compiler intrinsics if you prefer) for AND and XOR 2025-07-31 16:06:41 +02:00
70fb3a9500 Make a compile failure only redisplay if it needs to 2025-07-31 15:34:12 +02:00
254d66270b Remove outdated TODO 2025-07-31 14:52:32 +02:00
7c8dc6b7ba Hide cursor during all non-insert commands 2025-07-31 14:51:33 +02:00
f84b895d22 Remove outdated TODO 2025-07-31 14:46:46 +02:00
38b42a3e9a Only send show/hide cursor commands when needed 2025-07-31 14:45:44 +02:00
d7643b63c8 Make MERGE-LINES actually use the scrolling work it set up 2025-07-31 14:39:49 +02:00
fec79106d2 Rewrite forward and backward commands, they now behave like Emacs's 2025-07-31 14:35:55 +02:00
63a9b50fb4 Add macro for walking buffer content (for example to search) 2025-07-31 14:35:25 +02:00
b7dea0f333 Add method to get the last line of a buffer 2025-07-31 14:35:18 +02:00
0451b5b7d1 Add page up and page down commands to the editor 2025-07-31 13:23:52 +02:00
1f52377b2b Add failsafe to REDISPLAY-LINE for when the editor fucks it up
Occasionally the editor will try to redisplay lines that are
off-screen, even though that shouldn't happen. Ignoring it is
seemingly harmless, so it now signals a warning.
2025-07-31 13:22:59 +02:00
f3cbadfa54 Add dead code elimination and folding of constant conditionals 2025-07-31 13:08:47 +02:00
15898ab691 Add function for replacing IR-TERMINATOR in IBLOCK 2025-07-31 13:07:46 +02:00
e302493800 Some cleanup in compilation of IR-IF to asm 2025-07-31 12:49:50 +02:00
4c3a25d5e6 Add constant folding for purely constant operations 2025-07-31 12:45:24 +02:00
502451af8b Speed up displaying lines when scrolling up 2025-07-31 12:12:25 +02:00
4415bb3d55 Add indent and unindent commands 2025-07-31 12:03:48 +02:00
13715859ef Allow inserting characters into a line without redisplay 2025-07-31 12:03:34 +02:00
5af2ed3f2a Add Ctrl bindings for forward and backward word commands 2025-07-31 11:50:52 +02:00
84ddb747aa Add dummy help command 2025-07-31 11:50:12 +02:00
eb2fac312a Add more recognized keys to the editor 2025-07-31 11:49:14 +02:00
c59bad4bb7 Fix some indentation in editor 2025-07-31 11:48:35 +02:00
5032ee73e8 Fix occasional errors from jumping to an off-screen error location 2025-07-31 11:37:38 +02:00
ff2d31d9ed Replace MISSING-FUNCTION-ERROR's context string 2025-07-31 11:21:30 +02:00
df778d530e Add source information to missing function errors 2025-07-31 11:21:17 +02:00
33136c2164 Make tokenizer properly break text tokens on * and / 2025-07-31 11:14:35 +02:00
1f17283b2a Make quick refresh from line deletion work on the top line 2025-07-31 11:12:35 +02:00
62c19a38d8 Using scrolling, avoid redrawing editor screen after deleting a line 2025-07-31 11:05:49 +02:00
6f6a800897 Add editor command COM-KILL-LINE
Works as close as I care to get it to its Emacs counterpart
2025-07-31 10:51:28 +02:00
c7e66e6c51 Add Hugo's unfinished mandelbrot fractal demo 2025-07-30 23:51:27 +02:00
baab639b4f Add read_pixel and clear_pixel 2025-07-30 23:48:32 +02:00
cf56f3c11c RESTORE key now acts as very soft reset, and for startup
This reverts commit 69d9f49b5c.
2025-07-30 23:47:29 +02:00
24b2374d3e Remove setup_loader and its user 2025-07-30 16:56:24 +02:00
f15ccf7799 Remove EMULATOR_PREVIEW, normal host now includes a default userprog
To test a user program, simply replace userprog.bin with the program
you want to run and assemble the host.
2025-07-30 16:53:13 +02:00
adb0e70f5e Make the program wait for space key instead of joystick to start 2025-07-30 16:37:20 +02:00
69d9f49b5c Check for userprog download on a timer rather than explicitly 2025-07-30 16:18:54 +02:00
04be194c46 Ugly fix for incorrect scrolling on VT220 2025-07-30 11:09:15 +02:00
df009bac42 Remove unused LET* 2025-07-30 10:35:06 +02:00
1ab8dbb818 Add TODO in editor about terminal commands in need of replacing 2025-07-29 20:24:45 +02:00
8d4d462efc Add method to copy whole text into editor buffer 2025-07-29 20:23:54 +02:00
4f096b9820 Make editor save source before compiling 2025-07-29 19:52:27 +02:00
ab9ff442ef Set up IBLOCK order during building to fix ordering bug 2025-07-29 18:58:18 +02:00
04df970b3a Include source information in some IR nodes 2025-07-29 18:57:22 +02:00
5306188869 Add standing Sierpinsky Triangle demo 2025-07-29 17:33:28 +02:00
6a87956370 Correct comment to refer to lookup_tables.s, not END.s 2025-07-29 17:06:50 +02:00
df3ef46afd Add xor-feet demo 2025-07-29 17:05:07 +02:00