pxt-common-packages/cpptests
Michał Moskal d728cfe5c2 support for pxt64 VM (#828)
* starting 64 bit cleanup

* 64 bit cleanup of gc

* More work on 64 bit intgers

* Fix compilation; binary compat checkpoint

* Add nan-boxing

* More 64bit fixes

* Compilation fixes

* start on the vm

* More opcodes

* more validation setup

* add call/ret

* Switch to 16 bit opcode encoding

* Re-working sections

* Working on doubles

* Work on callind

* Add fake missing methods

* Add some image loading code

* Basic opcode validation

* Move VM stuff to new vm.h; clean comments

* Add opcode resolution

* rtcall validation

* Add validating startup code for vm

* Fixes for opcode map

* Allow for PXT-genarted shim table

* Bugfixes; logging

* Fix decoding of ret; verifcation fixes

* Add todo

* Starting to remove linux stuff from vm

* Clone files from core---linux

* Bugfix

* Start on the interpreter dispatch loop

* work on the scheduler

* Add todo

* Action handling

* Add vt sect

* remove todo

* Work on iface and method calls

* Switch to all iface calls for vm

* VTable simplification

* ldfld/stfld

* Add newobj opcode

* Show missing symbols

* Expose screen apis to vm

* Validate vtables

* 64bit fix for string alloc

* Move 64 bit gc to 0x20_0000_0000

* Re-allocate strings from image in gc heap

* Add more logging to gc

* 64 bit fixes

* Closure fixes

* VTable fixup

* Add callget/set

* Working on iface name table

* Fix for lookupMapKey and emptyString

* Don't use the bytecode[] array in VM

* add checkinst opcode; cleanup

* isTagged vs isPointer

* Add helper functions for type checks

* Add dynamic map lookups

* Add mapget/set

* Fix VT check

* Start running the program; various fixes

* Various fixes

* Fixes

* Various vm fixes

* high volume logging

* Allow pre-allocation of stuff on non-gc heap

* Add dmesg_flush()

* Bugfixes

* 64k gc block size

* Don't sort string pointers for now

* Threading

* Fix pixel order

* Event support

* Windows fixes

* CLI fix

* Various windows build fixes; add control.setDebugFlags

* Add missing symbol

* Copy pthread dll

* Lower optimization level

* Link Win DLL statically to mingw

* New music APIs

* Add stop playing; work on the TS side

* Codal connection

* Handle activation

* Drop codal from linux build

* Fix build

* queuePlayInstructions works in sim

* Codal fixes

* Hardware fixes; works

* Thread safety for mixer; add ringtone (clicking)

* Default per-melody volume to 100%

* Only use the play loop for sounds over 2s

* Remove codal refs from VM

* Fix includes for codal-less build

* Build the SDL shell

* Fix build rules

* Test program for log queue

* Move log queue tests

* Pipe logs to SDL

* Allow for restart of VM thread

* Add mixer---ext

* Fix memory errors in melody

* Fix memory errors in melody

* Fast adds/subs for VM

* Don't crash if screen accessed too early

* Add support for push_mask

* Verify push bits

* Fix windows SDL build

* Strip VM binaries for smaller size

* Cleanup

* Bugfix

* Change VAR_BLOCK_WORDS to what it was

* Update TODO comments
2019-05-24 05:10:51 -07:00
..
screen Fix unicode problem in string literals (plus image text improvments) (#415) 2018-09-21 15:21:22 -07:00
queue.cpp support for pxt64 VM (#828) 2019-05-24 05:10:51 -07:00