Commit graph

454 commits

Author SHA1 Message Date
hugova
adc211e399 rewrite arithmatic tests. 2025-08-01 20:13:07 +02:00
hugova
eff01e5411 make circle draw not write over program mem. 2025-08-01 19:24:40 +02:00
hugova
ad961e2d23 make run.sh run test.prg instead of host.prg 2025-08-01 18:24:30 +02:00
hugova
9f830d0ca3 make .map file during compilation. 2025-08-01 18:23:44 +02:00
hugova
b6a63a6a26 remove unused stuff from test file. 2025-08-01 18:23:11 +02:00
063838a118 Fix up Makefile to make internal routine test builds work 2025-08-01 14:07:20 +02:00
hugova
01edb71d8a seperate testing and release 2025-08-01 13:41:13 +02:00
3281ec3dd9 Allow any expression as the stop value for a loop 2025-08-01 11:38:55 +02:00
hugova
2a3db7876f make divition return to A, because compiler. 2025-08-01 00:32:53 +02:00
hugova
be13c298c7 fix source.s duplicate .debuginfo and some comments 2025-08-01 00:23:00 +02:00
hugova
f647c68edf fix testing for divition and add doc.. for mult.. 2025-08-01 00:23:00 +02:00
4cddb13ba8 Add user procedures bitor, shiftleft, and shiftright 2025-07-31 23:21:46 +02:00
5c3bccd48d Let comparison take any IR-DATA 2025-07-31 22:14:49 +02:00
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