Assembler : PC-Engine Library : FUNC.INC

'func.inc' contains a set of functions to calculate derived values at compile time. These are intended to be easy-to-use, and to replace difficult-to-understand literal values.

For example, to display the character stored at VRAM address $1000 using palette #4, one would store the value $4100 in the BAT table. A function would automatically do the required bit-shifting at compile time.

Three functions are defined :