|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <errno.h>#include <string.h>#include <stdlib.h>#include <stdint.h>#include <dc/maple.h>#include <dc/maple/controller.h>#include <dc/cdrom.h>#include <arch/cache.h>#include <kos/init.h>#include <kos/dbgio.h>#include <kos/dbglog.h>Macros | |
| #define | BUFFER_SIZE (8 << 11) |
Functions | |
| static void | wait_exit (void) |
| static void | cd_stream_callback (void *param) |
| static int | cd_stream_test (uint32_t lba, uint8_t *buffer, size_t size, int mode) |
| size_t | print_diff (uint8_t *pio_buf, uint8_t *dma_buf, size_t size) |
| int | main (int argc, char *argv[]) |
Variables | |
| static uint8_t | dma_buf [BUFFER_SIZE] |
| static uint8_t | pio_buf [BUFFER_SIZE] |
| #define BUFFER_SIZE (8 << 11) |
Referenced by main().
|
static |
Referenced by cd_stream_test().
|
static |
References buffer, cd_stream_callback(), CDROM_READ_PIO, cdrom_stream_progress(), cdrom_stream_request(), cdrom_stream_set_callback(), cdrom_stream_start(), cdrom_stream_stop(), DBG_ERROR, DBG_INFO, dbglog, ERR_OK, and mode.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] ) |
| size_t print_diff | ( | uint8_t * | pio_buf, |
| uint8_t * | dma_buf, | ||
| size_t | size ) |
|
static |
References cont_state_t::buttons, maple_dev_status(), maple_enum_type(), MAPLE_FUNC_CONTROLLER, and printf.
Referenced by main().
|
static |
Referenced by main(), and print_diff().
|
static |
Referenced by main(), and print_diff().