|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Functions to access the system calls of the Dreamcast ROM. More...
Go to the source code of this file.
Data Structures | |
| struct | cd_check_drive_status_t |
| Status filled by Check Drive syscall. More... | |
| struct | cd_read_params_t |
| Params for READ commands. More... | |
| struct | cd_toc_t |
| TOC structure returned by the BIOS. More... | |
| struct | cd_cmd_toc_params_t |
| Params for GETTOC commands. More... | |
| struct | cd_cmd_play_params_t |
| Params for PLAY command. More... | |
| struct | cd_cmd_getscd_params_t |
| Params for GETSCD command. More... | |
| struct | cd_cmd_chk_status_t |
| GDROM Command Extra Status. More... | |
| struct | cd_sec_mode_params_t |
| Sector mode params. More... | |
| struct | cd_transfer_params_t |
| Parameters for transfer. More... | |
Typedefs | |
| typedef int32_t | gdc_cmd_hnd_t |
| Handle for a requested command. | |
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 (cd_check_drive_status_t *status) |
| Checks the GDROM drive status. | |
| gdc_cmd_hnd_t | syscall_gdrom_send_command (cd_cmd_code_t cmd, void *params) |
| Send a command to the GDROM command queue. | |
| cd_cmd_chk_t | syscall_gdrom_check_command (gdc_cmd_hnd_t hnd, cd_cmd_chk_status_t *status) |
| Check status of queued command for the GDROM. | |
| void | syscall_gdrom_exec_server (void) |
| Process queued GDROM commands. | |
| int | syscall_gdrom_abort_command (gdc_cmd_hnd_t hnd) |
| Abort a queued GDROM command. | |
| int | syscall_gdrom_sector_mode (cd_sec_mode_params_t *mode) |
| 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 (gdc_cmd_hnd_t hnd, const cd_transfer_params_t *params) |
| Initiates a GDROM DMA transfer. | |
| int | syscall_gdrom_dma_check (gdc_cmd_hnd_t hnd, 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 (gdc_cmd_hnd_t hnd, const cd_transfer_params_t *params) |
| Initiates a GDROM PIO transfer. | |
| int | syscall_gdrom_pio_check (gdc_cmd_hnd_t hnd, 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.