1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-11 13:29:44 +00:00

Updated System Library (markdown)

David Schmenk 2017-12-13 21:00:31 -08:00
parent 8fb184cec8
commit 51fae38a0f

@ -38,26 +38,26 @@ word sysvars
```
### The exported API:
```
def putc(c)#0
def putln()#0
def puts(s)#0
def puti(i)#0
def getc()#1
def gets(p)#1
def toupper(c)#1
def call(addr,areg,xreg,yreg,status)#1
def syscall(cmd,params)#1
def heapmark()#1
def heapallocalign(size, pow2, freeaddr)
def heapalloc(size)#1
def heaprelease(newheap)#1
def heapavail()#1
def memset(addr,value,size)#0
def memcpy(dst,src,size)#0
def isugt(a,b)#1
def isuge(a,b)#1
def isult(a,b)#1
def isule(a,b)#1
def modload(mod)#1
def modexec(modfile)#1
def modaddr(str)#1
putc(c)#0
putln()#0
puts(s)#0
puti(i)#0
getc()#1
gets(p)#1
toupper(c)#1
call(addr,areg,xreg,yreg,status)#1
syscall(cmd,params)#1
heapmark()#1
heapallocalign(size, pow2, freeaddr)
heapalloc(size)#1
heaprelease(newheap)#1
heapavail()#1
memset(addr,value,size)#0
memcpy(dst,src,size)#0
isugt(a,b)#1
isuge(a,b)#1
isult(a,b)#1
isule(a,b)#1
modload(mod)#1
modexec(modfile)#1
modaddr(str)#1