Language constructs ! - set rom injection point (ex !00800000) : - set ram injection point (ex :80400000) // - line comment # - line comment ; - line comment /* */ - block comment
Data instance keywords
asm - Inject MIPS assembly code; supports branch labels
asm { /* mips assembly code */ }
hex - Inject a pool of hex data
hex { /* plain-text hex */ }
asc - Inject a zero-terminated ascii string
asc "string"
m64 - Inject an SM64 string, terminated by 0xFF
m64 "string"
bin - Inject a binary file
bin "path"
+ All of data instance keywords have ram_* and rom_* compatibility aliases. + All data injections finish with 32bit alignment
Functions
clear - Clear a block of data using 0x00's or provided char; has ram_clear and rom_clear aliases.
clear(num size[, num char])
system - Executes a system command if safe-mode is turned off.
system(string command)
print - print a string to the console
print(string message)