Some implementation

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Clean up the rewrite function (optimizations can wait until later)

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Semi-add emulation

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Mostly emulate basic instructions

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Split off the potentially "accelerated" exec-untrusted emulator into a more complete (but potentially slower) emulator.

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Finish most of the emulator and add a test program to set it up

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
HWI implemented, skipping implemented, PANIC screen added

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Fix the arch detection in mingw32

Signed-off-by: Josh Kilmer <srjek2@gmail.com>