Commit Graph

108 Commits

Author SHA1 Message Date
zongor a5901e7399 get rid of hardcoded device buffers 2025-10-05 12:24:01 -07:00
zongor 19aa72018e WORKING PAINT PROGRAM! 2025-10-04 18:58:27 -07:00
zongor c71254f351 wip drawing apps 2025-10-04 18:01:42 -07:00
zongor 77033e121b Add malloc, load-r, load-r8. fix endianess, refactor devices, init box, init window drawing 2025-10-04 17:24:24 -07:00
zongor 807d5b8705 fix drawing, add ioctl for screen (wip), assembler fixes 2025-09-28 17:44:10 -07:00
zongor 7a42429cf2 load binary file 2025-09-26 16:06:56 -07:00
zongor 3c9603adea make read syscall more flexable; WIP bit shift ops 2025-09-25 17:24:56 -07:00
zongor 3733f432e7 fixed read syscall 2025-09-25 15:27:59 -07:00
zongor f650e8110b add and fibbonacci examples now working 2025-09-23 22:08:28 -07:00
zongor 77745c8880 WIP: nested labels, add, hello, and simple work now! 2025-09-22 23:29:25 -07:00
zongor 91061fe3c0 First working prototype for assembler! 2025-09-21 12:38:18 -07:00
zongor 3453b0fcd6 parser fixes 2025-09-21 10:09:14 -07:00
zongor 37ce661648 Add Linux TUI example 2025-09-21 16:23:26 +00:00
zongor 299e36172b add newline for test, (terminal sometimes clears output without '\n') 2025-09-21 09:18:53 -07:00
zongor f6a2cd8de9 fix syscall, update opcodes, fix tests 2025-09-21 09:15:25 -07:00
zongor a1266b9008 fix tests, add lips benchmarks 2025-09-20 14:55:47 -07:00
zongor df9d19207c Reorganize, add tools for parser 2025-09-20 13:49:13 -07:00
zongor 922959191d cleanup / prepwork for assembler. 2025-09-20 12:49:01 -07:00
zongor 2d72240652 add branchless jmps 2025-09-20 10:05:52 -07:00
zongor cf0318e96f rename acc -> flag since it really doesnt accumulate anything, could be confusing to devs 2025-09-20 08:46:09 -07:00
zongor b8832a7116 Fix the syscalls, add strlen as an opcode 2025-09-20 08:44:02 -07:00
zongor dd7cc62a3e Refactor to varied length opcodes, update structure, fix Makefile, WIP: number toS 2025-09-17 23:16:38 -07:00
zongor 94a1375d51 Move some things, fix string to number 2025-09-09 22:50:03 -07:00
zongor 7634bbe1c9 cleanup, add more stringops 2025-09-09 21:53:52 -07:00
zongor 75ad08dae1 Forgot to remove this one 2025-09-09 21:16:33 -07:00
zongor 770d9d56ff Cleanup, get rid of all the prototyping stuff 2025-09-09 21:15:39 -07:00
zongor fde5c82d0d WORKING DEVICES!! 2025-09-02 22:57:48 -07:00
zongor 252c9614c0 small fixes, make default a noop 2025-08-31 12:59:29 -07:00
zongor ab5bc87908 add initial device implementation 2025-08-31 12:56:59 -07:00
zongor 744f2d526b Add OP_GET_PC to implement coroutines/yield in stdlib later. 2025-08-31 10:14:32 -07:00
zongor aa16b6b348 update opcodes to handle memory better 2025-08-30 10:17:38 -07:00
zongor 6be5a4d3f9 fix tests 2025-08-30 07:56:08 -07:00
zongor 43ebed6553 update to opcodes, go with tunnels and syscals, partial refactor of memory, try out fixed size again 2025-08-29 22:02:19 -07:00
zongor 0dedf5a2ad add better testing, flags, fix fib.zrl 2025-08-24 08:45:31 -07:00
zongor f1edd4267f fix loop compile 2025-08-24 00:06:24 -07:00
zongor 8aeeebc351 WIP change to store primitives in memory intead of code 2025-08-23 21:29:46 -07:00
zongor b21de2d1fc fixes, cleanup, type -> plex 2025-08-17 19:32:19 -07:00
zongor 63d67b5c0d move sdl to own thing, add array + plex handling 2025-08-16 21:51:23 -04:00
zongor f6484ff378 Fix makefile, remove hello world test because now can compile it. 2025-08-03 18:09:20 -04:00
zongor 14bf533635 nuqneH 'u'? 2025-08-03 17:46:39 -04:00
zongor 881c6c7740 remove doc 2025-08-03 16:03:50 -04:00
zongor c348ea3fdd add initial compiler 2025-08-03 16:03:25 -04:00
zongor 039de2a761 revert, maybe do this later its complicated enough as it is 2025-08-02 22:23:39 -04:00
zongor 933c76dc06 wip move to byte model 2025-07-29 23:51:41 -04:00
zongor 4fccd4d48d remove temporary malloc 2025-07-28 23:13:39 -04:00
zongor 7e6a063bdb fix lexer 2025-07-27 21:07:39 -04:00
zongor 88dfbb098d start working on lexer 2025-07-27 13:11:44 -04:00
zongor 9326d12585 add lisp examples 2025-07-20 23:40:15 -04:00
zongor 02702315cb new str embedding fn 2025-07-20 21:16:32 -04:00
zongor c43761a8da add zlc benchmarks 2025-07-20 19:12:41 -04:00