12 #define SGB_PAL_01 0x00U
13 #define SGB_PAL_23 0x01U
14 #define SGB_PAL_03 0x02U
15 #define SGB_PAL_12 0x03U
16 #define SGB_ATTR_BLK 0x04U
17 #define SGB_ATTR_LIN 0x05U
18 #define SGB_ATTR_DIV 0x06U
19 #define SGB_ATTR_CHR 0x07U
20 #define SGB_SOUND 0x08U
21 #define SGB_SOU_TRN 0x09U
22 #define SGB_PAL_SET 0x0AU
23 #define SGB_PAL_TRN 0x0BU
24 #define SGB_ATRC_EN 0x0CU
25 #define SGB_TEST_EN 0x0DU
26 #define SGB_ICON_EN 0x0EU
27 #define SGB_DATA_SND 0x0FU
28 #define SGB_DATA_TRN 0x10U
29 #define SGB_MLT_REQ 0x11U
30 #define SGB_JUMP 0x12U
31 #define SGB_CHR_TRN 0x13U
32 #define SGB_PCT_TRN 0x14U
33 #define SGB_ATTR_TRN 0x15U
34 #define SGB_ATTR_SET 0x16U
35 #define SGB_MASK_EN 0x17U
36 #define SGB_OBJ_TRN 0x18U
#define OLDCALL
Definition: types.h:21
#define PRESERVES_REGS(...)
Definition: types.h:32
void b
Definition: gb.h:736
uint8_t c
Definition: sgb.h:45
void sgb_transfer(uint8_t *packet) OLDCALL PRESERVES_REGS(b
uint8_t sgb_check(void) OLDCALL PRESERVES_REGS(b
unsigned char uint8_t
Definition: stdint.h:51