diff --git a/Examples/Example_LinkedList.pk3 b/Examples/Example_LinkedList.pk3 index 4ef9259..fff188a 100755 Binary files a/Examples/Example_LinkedList.pk3 and b/Examples/Example_LinkedList.pk3 differ diff --git a/build.sh b/build.sh index 7261ef4..4085321 100755 --- a/build.sh +++ b/build.sh @@ -18,4 +18,14 @@ else 7za a -tzip ../ZMemory_v$version.pk3 -r -x\!*.sh -x\!acs/.gitignore fi +cd ../acs_interface +# This is some weird derpiness. +# The files are however small, so it isn't a big deal. +echo "" >> ZMEMORY.acs #newline +cat ZMEMORY_g.acs >> ZMEMORY.acs +echo "" >> ZMEMORY.acs #newline +cat ZMEMORY_w.acs >> ZMEMORY.acs + +rm ZMEMORY_g.acs +rm ZMEMORY_w.acs diff --git a/src/acs_source/ZMEMORY.acs b/src/acs_source/ZMEMORY.acs index d3907bd..8331519 100644 --- a/src/acs_source/ZMEMORY.acs +++ b/src/acs_source/ZMEMORY.acs @@ -1,16 +1,11 @@ $export_common #library "ZMEMORY" $export_common #include "zcommon.acs" -#define muffins 42 - -$export_common #include "ZMEMORY_g.acs" -$export_common #include "ZMEMORY_w.acs" +#include "ZMEMORY_g.acs" +#include "ZMEMORY_w.acs" //Simple linked list implementation of malloc -//$export_common global int 63:gmemory[]; -//$export_common world int 255:wmemory[]; - $export_option global int 63:gmemory[]; $