Commit Graph

29 Commits

Author SHA1 Message Date
zongor c90f236ab3 Refactor and rename to align with new IR better 2025-11-09 13:22:46 -08:00
zongor 1311659bed Add new IR language, update docs 2025-11-08 22:19:18 -08:00
zongor 5d2aa1ad22 wip compiler stuff 2025-11-04 17:09:55 -08:00
zongor 739c3638a6 Code cleanup, add halt return type, add neg and abs ops, fix strings, 2025-10-26 14:49:00 -07:00
zongor c80481de76 Update devices to use file descriptor rather than handel. Create REFRESH syscall 2025-10-25 21:39:13 -07:00
zongor 54fc748d8d Some optimizations, also WIP paint program refactor 2025-10-25 11:03:23 -07:00
zongor 3be8761930 WIP passing args and returning values from a function call. Updates to documentation, update logo 2025-10-24 23:04:05 -07:00
zongor 790d7e8509 Add intial lexer back again, fix docs 2025-10-18 18:15:54 -07:00
zongor 6c1bf1ff8c Fix tests, make auto compile for rom files 2025-10-18 16:54:06 -07:00
zongor 89ef394888 normalize naming, add memory offset opcodes 2025-10-18 14:54:13 -07:00
zongor 3f3c6e1b80 [wip] rewrite device open to use plex 2025-10-16 09:25:34 -07:00
zongor dcf348f577 remove string lookup for devices use handles instead 2025-10-14 00:02:12 -07:00
zongor 4d82914f3c Revert "add get-arg instead of using stack (push/pop). refactor call/return to use arg based"
This reverts commit 97ad6b5505.
2025-10-12 11:15:36 -07:00
zongor 97ad6b5505 add get-arg instead of using stack (push/pop). refactor call/return to use arg based 2025-10-11 13:01:40 -07:00
zongor 89574d9813 Refactor load/save to register/memory. Add memset variants 2025-10-10 14:17:12 -07:00
zongor aea1dba6a2 Add wasm example, add paint example, ad neq opcodes, fix load/save VM, 2025-10-05 22:54:34 -07:00
zongor a5901e7399 get rid of hardcoded device buffers 2025-10-05 12:24:01 -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 3c9603adea make read syscall more flexable; WIP bit shift ops 2025-09-25 17:24:56 -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 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 df9d19207c Reorganize, add tools for parser 2025-09-20 13:49:13 -07: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