Commit Graph

30 Commits (master)

Author SHA1 Message Date
Ondřej Hruška 9f289cffd3
add includes 3 years ago
Ondřej Hruška 9cd03ca8e3
make scheduler timeslice configurable 3 years ago
Ondřej Hruška 8659240d01
wip coroutines and scheduler 3 years ago
Ondřej Hruška 83996348cb
Implement compile-time immediate arithmetics 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 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 ee59096821
buffer module, replacing stacks. TODO: docs, fix parsing of "numbers tuple" in mkbfv (consumed by the conditional branch parser) 4 years ago
Ondřej Hruška 1f2dbaa81d
add better string and number parsing to sexp. cleaning, more tests 4 years ago
Ondřej Hruška 9d7f3d25c8
add stdio module 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 33ec1461e4
remove unnecessary cloning of SourcePosition, reduce SourcePosition size. clean, format 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 34e339b1ca
add pretty-printer for assembled instructions 4 years ago
Ondřej Hruška 986f3be6a2
cleanup. remove conditional jumps, replaced by condition embedded in the enum 4 years ago
Ondřej Hruška 810ed2dddc
optimize labels, jumps 4 years ago
Ondřej Hruška c37408c7a2 read program from file; fmt, cleanup 4 years ago
Ondřej Hruška 01068ea001
crazy hypno + added sleep cmd 4 years ago
Ondřej Hruška 532df6eb04
screen imrpvoements 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 d489b214e0
add a readme 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 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 f493cc102a
add "_" pattern for explicitly specifying the "discard" destination (may be used for side effects) 4 years ago
Ondřej Hruška f7e0998696
add mul, disable slow mode 4 years ago
Ondřej Hruška 88a4d77b8f
implement call, ret, far jumps, add, sub 4 years ago
Ondřej Hruška 5f4fd0e806
exec 4 years ago