mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-11-19 14:33:02 +00:00
Create headers and use m4 to include them
This commit is contained in:
parent
eeffd30389
commit
934a7eaed6
16
PLASMA/src/stdlib.plh
Normal file
16
PLASMA/src/stdlib.plh
Normal file
@ -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
|
9
PLASMA/src/testlib.plh
Normal file
9
PLASMA/src/testlib.plh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user