Common values for hardware registers. More...
Macros | |
| #define | INIDISP_BRIGHTNESS(n) |
| #define | INIDISP_FORCE_BLANK 0x80 |
| #define | NMITIMEN_JOY_ENABLE 0x01 |
| #define | NMITIMEN_NMI_ENABLE 0x80 |
| #define | TM_BG1 BIT(0) |
| #define | TM_BG2 BIT(1) |
| #define | TM_BG3 BIT(2) |
| #define | TM_BG4 BIT(3) |
| #define | TM_OBJ BIT(4) |
Common values for hardware registers.
| #define INIDISP_BRIGHTNESS | ( | n | ) |
Set brightness (0-15)
| #define INIDISP_FORCE_BLANK 0x80 |
Force screen blank
| #define NMITIMEN_JOY_ENABLE 0x01 |
Enable auto joypad read
| #define NMITIMEN_NMI_ENABLE 0x80 |
Enable NMI on VBlank
| #define TM_BG1 BIT(0) |
Enable BG1 on main screen
| #define TM_BG2 BIT(1) |
Enable BG2 on main screen
| #define TM_BG3 BIT(2) |
Enable BG3 on main screen
| #define TM_BG4 BIT(3) |
Enable BG4 on main screen
| #define TM_OBJ BIT(4) |
Enable sprites on main screen