Macros and Aliases
Minicube64 has some useful aliases and macros that can be used as shorthand for common code tasks.
These are included in each ROM with include "64cube.inc"
at the top.
These aliases and macros are optional but good practise to include them.
Available Aliases
These are aliases to the memory addresses of control registers.
Graphics and Input
Audio
Interrrupt Vectors
VBLANK
Interrupt vector is0x010e
unlike0xfffe
on other 6502 systems.
Current Macros
_setb value,dest
Sets a byte value to a destination 8 bit memory address.
Sets a word value to a destination 16 bit memory address.
_setw value,dest
_movw value,dest
_addw source,addition,dest
_addwb source,addition,dest
_addwi source,addition,dest
Last updated