Skip to content

Instantly share code, notes, and snippets.

@gnacu
Last active May 14, 2024 16:56
Show Gist options
  • Save gnacu/752cdd488e88f8d34ba27548f95d2910 to your computer and use it in GitHub Desktop.
Save gnacu/752cdd488e88f8d34ba27548f95d2910 to your computer and use it in GitHub Desktop.
;---------------------------------------
extern
#inc_h "file"
fopen #syscall lfil,fopen_
fread #syscall lfil,fread_
fwrite #syscall lfil,fwrite_
fclose #syscall lfil,fclose_
#inc_h "input"
initmouse #syscall linp,initmouse_
killmouse #syscall linp,killmouse_
hidemouse #syscall linp,hidemouse_
readkcmd #syscall linp,readkcmd_
#inc_h "memory"
malloc #syscall lmem,malloc_
#inc_h "screen"
markredraw #syscall lscr,markredraw_
ctx2scr #syscall lscr,ctx2scr_
#inc_h "service"
alert #syscall lser,alert_
quitapp #syscall lser,quitapp_
unldlib #syscall lser,unldlib_
#inc_h "toolkit"
tkupdate #syscall ltkt,tkupdate_
tkmouse #syscall ltkt,tkmouse_
tkkcmd #syscall ltkt,tkkcmd_
tkkprnt #syscall ltkt,tkkprnt_
settkenv #syscall ltkt,settkenv_
ptrthis #syscall ltkt,ptrthis_
getmethod #syscall ltkt,getmethod_
getprop16 #syscall ltkt,getprop16_
.byte $ff ;Terminator
init ;App Initialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment