Commit Graph

26 Commits (df8bfa91a292074c209fe1272487dede7661f631)

Author SHA1 Message Date
Ondřej Hruška 9f289cffd3
add includes 4 years ago
Ondřej Hruška 9d4fef5222
add file index field to SourcePosition, some refactor, put coroutines in Box 4 years ago
Ondřej Hruška fd90480cec
make stdin async 4 years ago
Ondřej Hruška f87d822432
more docs, fixes, examples 4 years ago
Ondřej Hruška 735f871ea0
Implement critical sections and timeslice setting cmd 4 years ago
Ondřej Hruška 2752fa4beb
fix unit tests, cargo fiox 4 years ago
Ondřej Hruška c8d01b6151
coroutine fixes, first example 4 years ago
Ondřej Hruška 8659240d01
wip coroutines and scheduler 4 years ago
Ondřej Hruška 3999c51eb7
implement a more readable bit mask syntax, add (ldXX Wr Rd Rd) with separate dest and both sources 4 years ago
Ondřej Hruška 74e3716ce4
change register count to 15, add global registers 4 years ago
Ondřej Hruška c28fee88fe
use 'spin_sleep' for more accurate execution rate, add "s", "m", "u" suffix support to the -C argument 4 years ago
Ondřej Hruška e3fe3c6d72
performance improvements 4 years ago
Ondřej Hruška 4115e07ee6
@reg and @value reading and writing is now possible 4 years ago
Ondřej Hruška 2fa23dbbc3 start program without spawning thread so screen works on mac. improve mouse demo 4 years ago
Ondřej Hruška c37408c7a2 read program from file; fmt, cleanup 4 years ago
Ondřej Hruška d19c4e5bea
add experimental framebuffer extension using minifb 4 years ago
Ondřej Hruška 3599cb46c4
cleanup, optimize. use Arc for reference sharing 4 years ago
Ondřej Hruška d5de189af6
add more sensible API for object handles, add drop instruction 4 years ago
Ondřej Hruška 79d5aa3cd5
renaming, cleanup, fmt, move "extension module" traits and structs into a separate mod 4 years ago
Ondřej Hruška 8222efe6da
remove "immediate ptr" data type, move read, write funcs to RunState, add %objectPtr syntax 4 years ago
Ondřej Hruška be1ee66970
make exec speed configurable 4 years ago
Ondřej Hruška 0cd800653f
Example extension: Stacks; fixes to allow module data storage in thread context 4 years ago
Ondřej Hruška 3e0aaa71e9
Convert builtin ops into a pseudo-extension 4 years ago
Ondřej Hruška 1d444fd516
cleaning 4 years ago
Ondřej Hruška ba0e3d0fd2
preparations for module data storage, remove broken tests (dyn trait can't implement PartialEq because ???) 4 years ago
Ondřej Hruška f015104b95
re-arrange modules, add "plug-in" system so instructions can be defined in multiple crates 4 years ago
Ondřej Hruška 8f076e195a
format 4 years ago
Ondřej Hruška 8e7689df48
add explicit retval arg to all instrs (can be shortened), add Wr::discard() 4 years ago
Ondřej Hruška f652ff6669
dump sreg, add new ops 4 years ago
Ondřej Hruška f7e0998696
add mul, disable slow mode 4 years ago
Ondřej Hruška 5f4fd0e806
exec 4 years ago