Coding : malloc & free
Malloc & free are available for kernel commands only (for instance). You must include orix macro header and call MALLOC macro : MALLOC(size) .include "orix.mac" ; Declare ZP (there is 4 16 bits ZP adress, in the future, this 4 adress in ZP will be save when multitasking will be available) MALLOC_PTR1:=userzp MALLOC_PTR1_SAVE:=userzp+2 ; used Read more about Coding : malloc & free[…]