Macro Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
B
 BANK_NUM_SHIFT
 BANK_X
C
 CPCT_1BITARRAY
 CPCT_2BITARRAY
 CPCT_4BITARRAY
 CPCT_6BITARRAY
 CPCT_ABSOLUTE_LOCATION_AREA
 cpct_clearScreen
 cpct_clearScreen_f64
 cpct_clearScreen_f8
 CPCT_ENCODE2BITS
 CPCT_ENCODE4BITS
 CPCT_ENCODE6BITS
 cpct_etm_drawTilemap2x4
 cpct_memPage6
 cpct_rand
 cpct_rand16
 cpct_rand32
 cpct_rand8
 CPCT_RELOCATABLE_AREA
 cpct_setBorder
 cpct_srand
 cpct_srand16(SEED)
 cpct_srand8(SEED)
 cpctm_createTransparentMaskTable
 cpctm_declareMaskTable
 CPCTM_MASKTABLE0M0
 CPCTM_MASKTABLE0M1
 CPCTM_MASKTABLE10M0
 CPCTM_MASKTABLE11M0
 CPCTM_MASKTABLE12M0
 CPCTM_MASKTABLE13M0
 CPCTM_MASKTABLE14M0
 CPCTM_MASKTABLE15M0
 CPCTM_MASKTABLE1M0
 CPCTM_MASKTABLE1M1
 CPCTM_MASKTABLE2M0
 CPCTM_MASKTABLE2M1
 CPCTM_MASKTABLE3M0
 CPCTM_MASKTABLE3M1
 CPCTM_MASKTABLE4M0
 CPCTM_MASKTABLE5M0
 CPCTM_MASKTABLE6M0
 CPCTM_MASKTABLE7M0
 CPCTM_MASKTABLE8M0
 CPCTM_MASKTABLE9M0
 cpctm_reverse_and_select_bits_of_A
 cpctm_reverse_bits_of_A
 cpctm_reverse_mode_0_pixels_of_A
 cpctm_reverse_mode_1_pixels_of_A
 cpctm_screenPtr
D
 dec__ixh
 dec__ixl
 DEFAULT_MEM_CFG
J
 jr__0
L
 ld__a_ixl
 ld__b_ixl
 ld__c_ixl
 ld__ixl Value
 ld__ixl_a
 ld__ixl_b
 ld__ixl_c
R
 RAMCFG_X
S
 Simple aliases for most common random generators
Defines the number of bit to shift the number of a desired bank to the left if order to use it inside a 1-byte command for the Gate Array.
Each one of this macros specify a memory bank configuration.
Define or declare arrays with 1-bit elements
Define or declare arrays with 2-bits elements
Define or declare arrays with 4-bits elements
Define or declare arrays with 6-bits elements
Macro that produces following code and data to be located at given absolute memory location MEM.
Macro to simplify clearing the screen.
Does exactly the same as cpct_clearScreen_f8 but calling cpct_memset_f64 instead of cpct_memset_f8.
Macro to simplify clearing the screen: fast version (in chuncks of 8 bytes)
Encodes 4 2-bits elements into 1 byte for a CPCT_2BITARRAY
Encodes 2 4-bits elements into 1 byte for a CPCT_4BITARRAY
Encodes 4 6-bits elements into 3 bytes for a CPCT_6BITARRAY
This macro uses cpct_etm_drawTileBox2x4 to draw a complete tilemap.
Macro that encodes a video memory page in the 6 Least Significant bits (LSb) of a byte, required as parameter for cpct_setVideoMemoryPage
alias for cpct_rand8
returns a random u16 value (16-bits).
returns a random u32 value (32-bits).
returns a random u8 value ( 8-bits).
Macro that produces following code to be automatically distributed by the linker amongst available memory space area, starting in the loading location defined by Z80CODELOC (see cfg/build_config.mk file)
Changes the colour of the screen border.
alias for cpct_srand8
Sets seed for MXOR generators (SEED = 32 bits value) and restores internal state of cpct_getRandom_mxor_u16.
Sets seed for MXOR generators (SEED = 32 bits value) and restores internal state of cpct_getRandom_mxor_u8.
Creates a 256-bytes look-up table for drawing standard screen pixel formatted sprites using a given colour index as transparent.
Declares a 256-bytes look-up table for drawing standard screen pixel formatted sprites using a given colour index as transparent.
256-table (assembly definition) with mask values for mode 0 using pen 0 as transparent
256-table (assembly definition) with mask values for mode 1 using pen 0 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 10 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 11 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 12 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 13 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 14 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 15 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 1 as transparent
256-table (assembly definition) with mask values for mode 1 using pen 1 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 2 as transparent
256-table (assembly definition) with mask values for mode 1 using pen 2 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 3 as transparent
256-table (assembly definition) with mask values for mode 1 using pen 3 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 4 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 5 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 6 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 7 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 8 as transparent
256-table (assembly definition) with mask values for mode 0 using pen 9 as transparent
Reorders the bits of A and mixes them letting the user select the new order for the bits by using a selection mask.
Macro: cpctm_reverse_mode_2_pixels_of_A
Reverses the order of pixel values contained in register A, assuming A is in screen pixel format, mode 0.
Reverses the order of pixel values contained in register A, assuming A is in screen pixel format, mode 1.
Macro that calculates the video memory location (byte pointer) of a given pair of coordinates (X, Y)
Opcode for “DEC IXH” instruction
Opcode for “DEC IXL” instruction
This represents the standard configuration of the system, where the address space only maps the lower 64K (RAMCFG_0 | BANK_0).
Opcode for “JR #0” instruction
Opcode for “LD A, IXL” instruction
Opcode for “LD B, IXL” instruction
Opcode for “LD C, IXL” instruction
Opcode for “LD IXL, Value” instruction
Opcode for “LD IXL, A” instruction
Opcode for “LD IXL, B” instruction
Opcode for “LD IXL, C” instruction
Each one of this macros specify a RAM Configuration (how 16K memory pages are spread among the 64K available memory space).
This macros are designed to simplify the user interface for generating random numbers.
Close