zelaven 4 years ago
parent
commit
6945387ef1
3 changed files with 12 additions and 7 deletions
  1. BIN
      Examples/Example_LinkedList.pk3
  2. +10
    -0
      build.sh
  3. +2
    -7
      src/acs_source/ZMEMORY.acs

BIN
Examples/Example_LinkedList.pk3 View File


+ 10
- 0
build.sh View File

@ -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

+ 2
- 7
src/acs_source/ZMEMORY.acs View File

@ -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[];
$

Loading…
Cancel
Save