mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-30 19:08:12 +03:00
ac5859adfec8de91fee7969af091e5efc0e79aaf
Local pages need to be reference counted like any other page. It is possible to create references to local variables which escape the extent of their function call, so using a stack doesn't work. Caching is implemented for small page sizes to avoid invoking malloc/free on every function call.
xsystem4
xsystem4 is an implementation of AliceSoft's System 4 game engine for unix-like operating systems.
NOTE: This is a work in progress. Very little is implemented so far.
Building
xsystem4 uses the meson build system.
mkdir build
meson build
ninja -C build
Running
You will need to create an AIN file using the System 4 SDK compiler. Then simply pass it to the system4 executable.
build/system4 ???.ain
Languages
C
96.5%
GLSL
2.7%
Meson
0.3%
CMake
0.2%
Scheme
0.2%