Telemon 2.4 to telemon 3.0 (bank 7 orix)
[table id=3 /]
[table id=3 /]
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[…]
If your program must work with Orix You don’t need to switch to overlay ram. Because Orix use it (a little) mainly for keyboard buffers and rs232 buffers (14KB are free). If you need more ram, you can use malloc. Be careful because malloc in cc65 manages his own malloc “segment”. In assembly, malloc use Read more about Coding : switch to ram overlay or bank[…]
his page describe how you can have Orix and his hardware. And how to start in the quickest way ! ===== I need all stuffs required to have Orix working on my setup : I don’t have time or skills===== * Contact me : jede[at]oric[dot]org ===== I have a telestrat ===== ==== hardware required ==== Read more about Coding : Get started[…]
malloc & free Malloc & free are available in the kernel. For instance telestrat cc65 target uses its internal malloc function. Anyway, it’s possible to use malloc & free in assembly with kernel primitive. When the malloc is done, it returns a pointer (or null if it’s not possible to do the malloc). When the Read more about kernel : malloc, free & lsmem[…]