Commit Graph

57 Commits

Author SHA1 Message Date
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 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 d6893b85a8 working box drawing example 2025-09-28 22:46:08 -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 fe921a1050 Add assembler to release mode, fix whitespace 2025-09-23 23:10:46 -07:00
zongor 2b8b6c38e4 add println to fibonacci example 2025-09-23 23:03:16 -07:00
zongor 2a6e428032 rename to make more sense 2025-09-23 23:00:19 -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 2f08c6893c Fix hello.asm.lisp, update others 2025-09-21 12:50:05 -07:00
zongor 91061fe3c0 First working prototype for assembler! 2025-09-21 12:38:18 -07:00
zongor 6a8a334903 Update readme and tests 2025-09-21 11:07:44 -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 922959191d cleanup / prepwork for assembler. 2025-09-20 12:49:01 -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 7634bbe1c9 cleanup, add more stringops 2025-09-09 21:53:52 -07:00
zongor 770d9d56ff Cleanup, get rid of all the prototyping stuff 2025-09-09 21:15:39 -07:00
zongor 039aa7e9f9 'Undar' ist Undarsċieppan! 2025-09-06 11:32:47 -07:00
zongor aa16b6b348 update opcodes to handle memory better 2025-08-30 10:17:38 -07:00
zongor 0dedf5a2ad add better testing, flags, fix fib.zrl 2025-08-24 08:45:31 -07:00
zongor 63d67b5c0d move sdl to own thing, add array + plex handling 2025-08-16 21:51:23 -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 59b330a4af Update test/loop.zrl 2025-07-30 18:00:23 -04:00
zongor 3fa9c6c0b8 Update test/loop.zrl 2025-07-30 18:00:03 -04:00
zongor 9491559683 Update test/fib.zrl 2025-07-30 17:14:16 -04:00
zongor fac9510c6e Update test/add.zrl 2025-07-30 17:06:59 -04:00
zongor d57456d7b0 rename 2025-07-27 22:30:23 -04:00
zongor 9326d12585 add lisp examples 2025-07-20 23:40:15 -04:00
zongor c43761a8da add zlc benchmarks 2025-07-20 19:12:41 -04:00
zongor 5184b60136 split up code and memory 2025-07-20 11:17:28 -04:00
zongor 7bcaa080b9 rename for better text highlight 2025-07-13 00:19:58 -04:00
zongor e78a26a3c2 combine benchmarks with test 2025-07-13 00:18:25 -04:00
zongor c4d1aec83f more consistant naming 2025-07-13 00:15:36 -04:00
zongor 3e46c04513 add more examples 2025-07-13 00:12:27 -04:00
zongor 67a74f3417 more benchmarks 2025-07-12 23:51:45 -04:00
zongor 7598a93b31 add recursion, add benchmarks 2025-07-12 23:14:23 -04:00
zongor 19a69d3be5 fix jumps to be less weird 2025-07-10 21:46:29 -04:00
zongor fefc9e803a throwing away a bunch of stuff, lets do the whole compiler inside the VM 2025-07-08 21:59:56 -04:00
zongor 9c94e4a6ef update documentation 2025-07-05 23:51:12 -04:00