|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Values for various maple registers More...
Macros | |
| #define | MAPLE_DMA_TSEL_SOFTWARE 0 |
| DMA initiated by software. | |
| #define | MAPLE_DMA_TSEL_VBLANK 1 |
| DMA initiated at V-Blank. | |
| #define | MAPLE_ENABLE_ENABLED 1 |
| Enable Maple. | |
| #define | MAPLE_ENABLE_DISABLED 0 |
| Disable Maple. | |
| #define | MAPLE_STATE_IDLE 0 |
| Idle state. | |
| #define | MAPLE_STATE_DMA 1 |
| DMA in-progress. | |
| #define | MAPLE_SPEED_1MBPS 0x0100 |
| 1Mbps bus speed | |
| #define | MAPLE_SPEED_2MBPS 0x0000 |
| 2Mbps bus speed | |
| #define | MAPLE_SPEED_4MBPS 0x0200 |
| 4Mbps bus speed | |
| #define | MAPLE_SPEED_8MBPS 0x0300 |
| 8Mbps bus speed | |
| #define | MAPLE_SPEED_TIMEOUT(n) |
| Bus timeout macro. | |
| #define | MAPLE_DMA_PROT_MAGIC 0x61550000 |
| Key in bits 31-16; lo/hi bytes set the allowed range. | |
Values for various maple registers
These are the values that are written to registers to get them to do their thing.
| #define MAPLE_DMA_PROT_MAGIC 0x61550000 |
Key in bits 31-16; lo/hi bytes set the allowed range.
| #define MAPLE_DMA_TSEL_SOFTWARE 0 |
DMA initiated by software.
| #define MAPLE_DMA_TSEL_VBLANK 1 |
DMA initiated at V-Blank.
| #define MAPLE_ENABLE_DISABLED 0 |
Disable Maple.
| #define MAPLE_ENABLE_ENABLED 1 |
Enable Maple.
| #define MAPLE_SPEED_1MBPS 0x0100 |
1Mbps bus speed
| #define MAPLE_SPEED_2MBPS 0x0000 |
2Mbps bus speed
| #define MAPLE_SPEED_4MBPS 0x0200 |
4Mbps bus speed
| #define MAPLE_SPEED_8MBPS 0x0300 |
8Mbps bus speed
| #define MAPLE_SPEED_TIMEOUT | ( | n | ) |
Bus timeout macro.
| #define MAPLE_STATE_DMA 1 |
DMA in-progress.
| #define MAPLE_STATE_IDLE 0 |
Idle state.