diff --git a/PLASMA/src/stdlib.plh b/PLASMA/src/stdlib.plh new file mode 100644 index 00000000..2307526b --- /dev/null +++ b/PLASMA/src/stdlib.plh @@ -0,0 +1,16 @@ +import stdlib + predef cls, gotoxy, viewport, putc, puts, getc, gets, syscall, romcall + predef heapmark, heapallocallign, heapalloc, heaprelease, heapavail + predef memset, memcpy, memxcpy + predef isugt, isuge, isult, isule + predef exec + ; + ; System flags: memory allocator screen holes. + ; + const restxt1 = $0001 + const restxt2 = $0002 + const reshgr1 = $0004 + const reshgr2 = $0008 + const resxhgr1 = $0010 + const resxhgr2 = $0020 +end diff --git a/PLASMA/src/testlib.plh b/PLASMA/src/testlib.plh new file mode 100644 index 00000000..a2e244ad --- /dev/null +++ b/PLASMA/src/testlib.plh @@ -0,0 +1,9 @@ +import testlib + predef puti, putln + word print + const dec = 0 + const hex = 2 + const newln = 4 + const str = 6 + const char = 8 +end