C | |
cpct_akp_digidrumStatus | |
cpct_akp_songLoopTimes | |
cpct_bitWeights | |
cpct_firmware2hw_colour | |
cpct_keyboardStatusBuffer | |
cpct_mode_rom_status | |
cpct_mxor32_seed | |
D | |
dc_mode0_ct | |
dc_mode1_ct |
This is an internal variable, updated by Arkos Tracker Player, that is used by the player for signalling events to user code.
extern volatile u8 cpct_akp_digidrumStatus
This is an internal variable, updated by Arkos Tracker Player, that contains the number of times the present song has looped.
extern volatile u8 cpct_akp_songLoopTimes
Internal array that contains 8 byte-values, each one with 7 bits off and 1 bit on.
cpct_bitWeights:: .db #0x80, #0x40, #0x20, #0x10, #0x08, #0x04, #0x02, #0x01
Array that maps any firmware colour value (0-27) to its equivalent hardware colour value, which is used by cpct_setPalette and cpct_setPALColour functions
cpct_firmware2hw_colour::
10-bytes (80-bits) array containing pressed / not pressed status of all the keys / buttons the Amstrad CPC can manage (up to 80).
extern u8 cpct_keyboardStatusBuffer[10]
8-bit space for storing the latest selection of MODE, INT.GENERATOR and ROM status.
_cpct_mode_rom_status:: .db #0x9D
Contains the 32-bits seed for Marsaglia’s XOR-shift random number generator.
_cpct_mxor32_seed:: .dw #0x1A7B, #0x59F2
Mode 0 Color conversion table (PEN to Screen pixel format)
dc_mode0_ct:: .db 0x00, 0x40, 0x04, 0x44, 0x10, 0x50, 0x14, 0x54, 0x01, 0x41, 0x05, 0x45, 0x11, 0x51, 0x15, 0x55
Mode 1 Color conversion table (PEN to Screen pixel format)
dc_mode1_ct:: .db 0x00, 0x08, 0x80, 0x88