commit aadaf31f9123a4328aaff20338b27f0b62138dff
Merge: 6faf70b cdae1cf
Author: Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sun Sep 27 16:21:33 2020 -0600
Commit: GitHub <noreply@github.com>
CommitDate: Sun Sep 27 16:21:33 2020 -0600
Merge pull request #24 from jtothebell/MemoryCompat-Rebased
Memory compat rebased
platform/3ds/source/3dsHost.cpp | 57 ++--
platform/switch/source/SwitchHost.cpp | 13 +-
source/Audio.cpp | 143 +++++-----
source/Audio.h | 4 +
source/Input.cpp | 34 ++-
source/Input.h | 5 +-
source/PicoRam.h | 134 ++++++++--
source/cart.cpp | 63 ++---
source/cart.h | 24 +-
source/graphics.cpp | 225 ++++++++--------
source/graphics.h | 2 +-
source/host.h | 4 +-
source/hostVmShared.h | 6 +
source/main.cpp | 10 +-
source/nibblehelpers.cpp | 34 +++
source/nibblehelpers.h | 9 +
source/p8GlobalLuaFunctions.h | 27 ++
source/picoluaapi.cpp | 105 +++++++-
source/picoluaapi.h | 4 +
source/vm.cpp | 252 +++++++++++++++---
source/vm.h | 36 ++-
test/Makefile | 23 +-
test/audiotests.cpp | 17 +-
test/carts/cartdatatest.p8 | 27 ++
test/carts/memorytest.p8 | 39 +++
test/carts/screenshots/cartdatatest_f01.png | Bin 0 -> 348 bytes
test/carts/screenshots/memorytest_f01.png | Bin 0 -> 508 bytes
test/carts/screenshots/tonumtest2_f01.png | Bin 0 -> 707 bytes
test/carts/tonumtest2.p8 | 30 +++
test/carttests.cpp | 117 ++++----
test/endtoendtests.cpp | 154 +++++++++--
test/graphicstests.cpp | 232 ++++++++--------
test/nibblehelperstests.cpp | 20 ++
test/vmtests.cpp | 396 ++++++++++++++++++++++++++++
34 files changed, 1700 insertions(+), 546 deletions(-)