KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Maple command and response values More...
Macros | |
#define | MAPLE_RESPONSE_FILEERR -5 |
File error. | |
#define | MAPLE_RESPONSE_AGAIN -4 |
Try again later. | |
#define | MAPLE_RESPONSE_BADCMD -3 |
Bad command sent. | |
#define | MAPLE_RESPONSE_BADFUNC -2 |
Bad function code. | |
#define | MAPLE_RESPONSE_NONE -1 |
No response. | |
#define | MAPLE_COMMAND_DEVINFO 1 |
Device info request. | |
#define | MAPLE_COMMAND_ALLINFO 2 |
All info request. | |
#define | MAPLE_COMMAND_RESET 3 |
Reset device request. | |
#define | MAPLE_COMMAND_KILL 4 |
Kill device request. | |
#define | MAPLE_RESPONSE_DEVINFO 5 |
Device info response. | |
#define | MAPLE_RESPONSE_ALLINFO 6 |
All info response. | |
#define | MAPLE_RESPONSE_OK 7 |
Command completed ok. | |
#define | MAPLE_RESPONSE_DATATRF 8 |
Data transfer. | |
#define | MAPLE_COMMAND_GETCOND 9 |
Get condition request. | |
#define | MAPLE_COMMAND_GETMINFO 10 |
Get memory information. | |
#define | MAPLE_COMMAND_BREAD 11 |
Block read. | |
#define | MAPLE_COMMAND_BWRITE 12 |
Block write. | |
#define | MAPLE_COMMAND_BSYNC 13 |
Block sync. | |
#define | MAPLE_COMMAND_SETCOND 14 |
Set condition request. | |
#define | MAPLE_COMMAND_MICCONTROL 15 |
Microphone control. | |
#define | MAPLE_COMMAND_CAMCONTROL 17 |
Camera control. | |
Maple command and response values
These are all either commands or responses to commands sent to or from Maple in normal operation.
#define MAPLE_COMMAND_ALLINFO 2 |
All info request.
#define MAPLE_COMMAND_BREAD 11 |
Block read.
#define MAPLE_COMMAND_BSYNC 13 |
Block sync.
#define MAPLE_COMMAND_BWRITE 12 |
Block write.
#define MAPLE_COMMAND_CAMCONTROL 17 |
Camera control.
#define MAPLE_COMMAND_DEVINFO 1 |
Device info request.
#define MAPLE_COMMAND_GETCOND 9 |
Get condition request.
#define MAPLE_COMMAND_GETMINFO 10 |
Get memory information.
#define MAPLE_COMMAND_KILL 4 |
Kill device request.
#define MAPLE_COMMAND_MICCONTROL 15 |
Microphone control.
#define MAPLE_COMMAND_RESET 3 |
Reset device request.
#define MAPLE_COMMAND_SETCOND 14 |
Set condition request.
#define MAPLE_RESPONSE_AGAIN -4 |
Try again later.
#define MAPLE_RESPONSE_ALLINFO 6 |
All info response.
#define MAPLE_RESPONSE_BADCMD -3 |
Bad command sent.
#define MAPLE_RESPONSE_BADFUNC -2 |
Bad function code.
#define MAPLE_RESPONSE_DATATRF 8 |
Data transfer.
#define MAPLE_RESPONSE_DEVINFO 5 |
Device info response.
#define MAPLE_RESPONSE_FILEERR -5 |
File error.
#define MAPLE_RESPONSE_NONE -1 |
No response.
#define MAPLE_RESPONSE_OK 7 |
Command completed ok.