Skip to content

Instantly share code, notes, and snippets.

@gnacu
Created April 4, 2024 19:40
Show Gist options
  • Select an option

  • Save gnacu/6de6037f68f5ae7fb6dc3b2c36caadef to your computer and use it in GitHub Desktop.

Select an option

Save gnacu/6de6037f68f5ae7fb6dc3b2c36caadef to your computer and use it in GitHub Desktop.
;Path.lib
setname jmp 3
pathadd jmp 6
gopath jmp 18
iextern
#inc_h "memory"
pgalloc #syscall lmem,pgalloc_
#inc_h "screen"
layerpush #syscall lscr,layerpush_
loadclr #syscall lscr,loadclr_
loadicns #syscall lscr,loadicns_
#inc_h "service"
getsfref #syscall lser,getsfref_
loadreloc #syscall lser,loadreloc_
loadlib #syscall lser,loadlib_
#inc_h "toolkit"
classptr #syscall ltkt,classptr_
tknew #syscall ltkt,tknew_
appendto #syscall ltkt,appendto_
.byte $ff ;Terminator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment