This is an implementation of the Tzo Virtual Stack Machine in C.
Additionally, there's a Questmark interpreter (questmark.c
), too, with fancy rendering via dos-like!
There's also a TextureVM implementation as well (in anim.c
):
...I should probably spend some time on refactoring these out into separate projects... 😂
There's absolutely guaranteed to be memory leaks in here as at the moment no variables on the Tzo stack are free()
'd after use (I have to find a good working strategy for this still), so please don't use this for anything important!
Linux:
mkdir build
cd build
cmake ..
make
Windows, mingw32:
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make
Windows, Visual Studio 17 (2022):
# note: need to run this in a VS Developer Command Prompt!
mkdir build
cd build
cmake .. -G "Visual Studio 17 2022"
msbuild ./tzo.sln
To compile the other samples, use -DBUILD_CONVO
or -DBUILD_RCONVO
when generating te project files via cmake.