Commit Graph
27 Commits
Author SHA1 Message Date
MightyPork 83996348cb Implement compile-time immediate arithmetics 2020-10-28 17:36:16 +01:00
MightyPork 3999c51eb7 implement a more readable bit mask syntax, add (ldXX Wr Rd Rd) with separate dest and both sources 2020-10-17 14:54:51 +02:00
MightyPork c28fee88fe use 'spin_sleep' for more accurate execution rate, add "s", "m", "u" suffix support to the -C argument 2020-10-10 20:41:46 +02:00
MightyPork ee59096821 buffer module, replacing stacks. TODO: docs, fix parsing of "numbers tuple" in mkbfv (consumed by the conditional branch parser) 2020-10-10 01:26:40 +02:00
MightyPork 1f2dbaa81d add better string and number parsing to sexp. cleaning, more tests 2020-10-09 00:41:09 +02:00
MightyPork 9d7f3d25c8 add stdio module 2020-10-08 00:42:24 +02:00
MightyPork e3fe3c6d72 performance improvements 2020-10-07 23:40:00 +02:00
MightyPork 4115e07ee6 @reg and @value reading and writing is now possible 2020-10-07 22:24:30 +02:00
MightyPork 33ec1461e4 remove unnecessary cloning of SourcePosition, reduce SourcePosition size. clean, format 2020-10-06 23:12:11 +02:00
MightyPork 2fa23dbbc3 start program without spawning thread so screen works on mac. improve mouse demo 2020-10-06 12:28:49 +02:00
MightyPork 34e339b1ca add pretty-printer for assembled instructions 2020-10-05 00:32:08 +02:00
MightyPork 986f3be6a2 cleanup. remove conditional jumps, replaced by condition embedded in the enum 2020-10-04 23:30:11 +02:00
MightyPork 810ed2dddc optimize labels, jumps 2020-10-04 22:45:34 +02:00
MightyPork c37408c7a2 read program from file; fmt, cleanup 2020-09-29 13:27:54 +02:00
MightyPork 01068ea001 crazy hypno + added sleep cmd 2020-09-29 00:40:11 +02:00
MightyPork 532df6eb04 screen imrpvoements 2020-09-29 00:22:42 +02:00
MightyPork d19c4e5bea add experimental framebuffer extension using minifb 2020-09-28 22:16:19 +02:00
MightyPork 3599cb46c4 cleanup, optimize. use Arc for reference sharing 2020-09-28 20:12:31 +02:00
MightyPork d5de189af6 add more sensible API for object handles, add drop instruction 2020-09-28 19:36:15 +02:00
MightyPork 79d5aa3cd5 renaming, cleanup, fmt, move "extension module" traits and structs into a separate mod 2020-09-28 13:55:56 +02:00
MightyPork 8222efe6da remove "immediate ptr" data type, move read, write funcs to RunState, add %objectPtr syntax 2020-09-28 01:01:57 +02:00
MightyPork d489b214e0 add a readme 2020-09-27 00:13:08 +02:00
MightyPork be1ee66970 make exec speed configurable 2020-09-26 23:08:04 +02:00
MightyPork 0cd800653f Example extension: Stacks; fixes to allow module data storage in thread context 2020-09-26 22:49:06 +02:00
MightyPork 3e0aaa71e9 Convert builtin ops into a pseudo-extension 2020-09-26 22:00:27 +02:00
MightyPork 1d444fd516 cleaning 2020-09-26 21:06:34 +02:00
MightyPork f015104b95 re-arrange modules, add "plug-in" system so instructions can be defined in multiple crates 2020-09-26 00:29:33 +02:00