|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Functions to access the system calls of the Dreamcast ROM. More...
#include <sys/cdefs.h>#include <stdint.h>#include <sys/types.h>Go to the source code of this file.
Functions | |
| void | syscall_sysinfo_init (void) |
| Inits data needed by sysinfo id/icon. | |
| int | syscall_sysinfo_icon (uint32_t icon, uint8_t *dest) |
| Reads an icon from the flashrom. | |
| uint64_t | syscall_sysinfo_id (void) |
| Reads the ID of the Dreamcast. | |
| uint8_t * | syscall_font_address (void) |
| Gets the romfont address. | |
| int | syscall_font_lock (void) |
| Locks access to ROM font. | |
| void | syscall_font_unlock (void) |
| Unlocks access to ROM font. | |
| int | syscall_flashrom_info (uint32_t part, void *info) |
| Gets info on partition in the flashrom. | |
| int | syscall_flashrom_read (uint32_t pos, void *dest, size_t n) |
| Read data from the flashrom. | |
| int | syscall_flashrom_write (uint32_t pos, const void *src, size_t n) |
| Write data to the flashrom. | |
| int | syscall_flashrom_delete (uint32_t pos) |
| Delete a partition of the flashrom. | |
| void | syscall_gdrom_init (void) |
| Initialize the GDROM drive. | |
| void | syscall_gdrom_reset (void) |
| Reset the GDROM drive. | |
| int | syscall_gdrom_check_drive (uint32_t status[2]) |
| Checks the GDROM drive status. | |
| uint32_t | syscall_gdrom_send_command (uint32_t cmd, void *params) |
| Send a command to the GDROM command queue. | |
| int | syscall_gdrom_check_command (uint32_t id, int32_t status[4]) |
| Check status of queued command for the GDROM. | |
| void | syscall_gdrom_exec_server (void) |
| Process queued GDROM commands. | |
| int | syscall_gdrom_abort_command (uint32_t id) |
| Abort a queued GDROM command. | |
| int | syscall_gdrom_sector_mode (uint32_t mode[4]) |
| Sets/gets the sector mode for read commands. | |
| void | syscall_gdrom_dma_callback (uintptr_t callback, void *param) |
| Setup GDROM DMA callback. | |
| int | syscall_gdrom_dma_transfer (uint32_t id, const int32_t params[2]) |
| Initiates a GDROM DMA transfer. | |
| int | syscall_gdrom_dma_check (uint32_t id, size_t *size) |
| Checks a GDROM DMA transfer. | |
| void | syscall_gdrom_pio_callback (uintptr_t callback, void *param) |
| Setup GDROM PIO callback. | |
| int | syscall_gdrom_pio_transfer (uint32_t id, const int32_t params[2]) |
| Initiates a GDROM PIO transfer. | |
| int | syscall_gdrom_pio_check (uint32_t id, size_t *size) |
| Checks a GDROM PIO transfer. | |
| int | syscall_misc_init (void) |
| Initializes all the syscall vectors. | |
| int | syscall_misc_setvector (uint32_t super, uintptr_t handler) |
| Set/Clear a user defined super function. | |
| void | syscall_system_reset (void) __noreturn |
| Resets the Dreamcast. | |
| void | syscall_system_bios_menu (void) __noreturn |
| Go to the BIOS menu. | |
| void | syscall_system_cd_menu (void) __noreturn |
| Exit to CD menu. | |
Functions to access the system calls of the Dreamcast ROM.