1
0
mirror of https://github.com/cc65/cc65.git synced 2025-04-09 10:39:40 +00:00

Changed function prototype

git-svn-id: svn://svn.cc65.org/cc65/trunk@1316 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-06-21 16:26:15 +00:00
parent 579e1ae267
commit 0ee967fe17

View File

@ -32,26 +32,9 @@
;*****************************************************************************/
.include "modload.inc"
.export _mod_free
.import _free
.importzp ptr1
;------------------------------------------------------------------------------
; mod_free: Free a loaded module
.code
_mod_free:
sta ptr1
stx ptr1+1 ; Save parameter
ldy #MODCTRL_MODULE + 1
lda (ptr1),y
tax
dey
lda (ptr1),y ; Load module pointer
jmp _free ; Free the module memory
_mod_free = _free ; Just free the memory