Nunuhara Cabbage e5ef9f4d2d Implement constructors and methods
Implement CALLMETHOD, SH_STRUCTREF and PUSHSTRUCTPAGE instructions.

Constructors are a bit tricky since SH_LOCALCREATE has to implicitly
call an arbitrary number of functions before it returns (just changing
the instruction pointer only allows for calling a single function).

To get around this, there is now a vm_call() function which is used to
call a function synchronously, before returning from the current
instruction.

Methods are implemented as functions, except that they get a struct page
as local variable -1.

Destructors are still not implemented.
2019-10-20 17:33:22 -07:00
2019-10-20 17:33:22 -07:00
2019-10-06 19:35:36 -07:00
2019-10-13 20:00:11 -07:00
2019-10-20 17:33:22 -07:00
2019-10-06 19:35:36 -07:00
2019-10-13 21:32:17 -07:00
2019-10-20 17:33:22 -07:00
2019-10-20 17:33:22 -07:00
2019-10-20 17:33:22 -07:00
2019-10-06 19:35:36 -07:00
2019-10-14 18:09:00 -07:00
2019-10-16 20:11:16 -07:00
2019-10-20 17:33:22 -07:00
2019-10-13 17:51:22 -07:00
2019-10-14 18:09:00 -07:00
2019-10-14 18:09:00 -07:00
2019-10-14 14:18:09 -07:00
2019-10-20 17:33:22 -07:00
2019-10-20 17:33:22 -07:00

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
S
Description
No description provided
Readme
23 MiB
Languages
C 96.5%
GLSL 2.7%
Meson 0.3%
CMake 0.2%
Scheme 0.2%