|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Macros | |
| #define | WIDTH 640 |
| #define | HEIGHT 480 |
| #define | FB_SIZE (WIDTH * HEIGHT * sizeof(uint16_t)) |
| #define | VIEW_ADDR 0x10000000 |
| #define | VIEW ((uint16_t *)VIEW_ADDR) |
Functions | |
| KOS_INIT_FLAGS (INIT_DEFAULT|INIT_MALLOCSTATS) | |
| static void | switch_to (mmucontext_t *cxt) |
| static uint16_t * | map_view (mmucontext_t *cxt) |
| static void | draw_view (int asid) |
| int | main (int argc, char **argv) |
Referenced by main(), and map_view().
| #define HEIGHT 480 |
Referenced by draw_view().
| #define VIEW ((uint16_t *)VIEW_ADDR) |
Referenced by draw_view(), and main().
| #define VIEW_ADDR 0x10000000 |
Referenced by map_view().
| #define WIDTH 640 |
Referenced by draw_view().
|
static |
| KOS_INIT_FLAGS | ( | INIT_DEFAULT| | INIT_MALLOCSTATS | ) |
| int main | ( | int | argc, |
| char ** | argv ) |
|
static |
References cxt, dcache_inval_range(), FB_SIZE, MMU_ALL_RDWR, MMU_NO_CACHE, mmu_page_map(), NULL, PAGESIZE, PAGESIZE_BITS, and VIEW_ADDR.
Referenced by main().
|
static |
References cxt, mmu_switch_context(), and mmu_use_table().
Referenced by main().