|
N64FlashcartMenu
|
Data Structures | |
| struct | sc64_buffers_t |
| The SC64 buffers structure. More... | |
| struct | sc64_disk_mapping_t |
| The SC64 Disk Mapping Structure. More... | |
| struct | sc64_disk_mapping_t.disks |
Macros | |
| #define | SC64_BUFFERS_BASE (0x1FFE0000UL) |
| #define | SC64_BUFFERS ((sc64_buffers_t *) SC64_BUFFERS_BASE) |
Functions | |
| flashcart_t * | sc64_get_flashcart (void) |
| void | sc64_ll_lock (void) |
| Lock the SC64. | |
| sc64_error_t | sc64_ll_get_version (uint16_t *major, uint16_t *minor, uint32_t *revision) |
| Get the SC64 version. | |
| sc64_error_t | sc64_ll_get_config (sc64_cfg_id_t cfg, uint32_t *value) |
| Get the SC64 configuration. | |
| sc64_error_t | sc64_ll_set_config (sc64_cfg_id_t cfg, uint32_t value) |
| Set the SC64 configuration. | |
| sc64_error_t | sc64_ll_set_disk_mapping (sc64_disk_mapping_t *disk_mapping) |
| Set the SC64 disk mapping. | |
| sc64_error_t | sc64_ll_writeback_pending (bool *pending) |
| Check if writeback is pending. | |
| sc64_error_t | sc64_ll_writeback_enable (void *address) |
| Enable writeback. | |
| sc64_error_t | sc64_ll_flash_wait_busy (void) |
| Wait for flash to be not busy. | |
| sc64_error_t | sc64_ll_flash_get_erase_block_size (size_t *erase_block_size) |
| Get the flash erase block size. | |
| sc64_error_t | sc64_ll_flash_erase_block (void *address) |
| Erase a flash block. | |
| struct sc64_buffers_t |
| struct sc64_disk_mapping_t |
The SC64 Disk Mapping Structure.
| Data Fields | ||
|---|---|---|
| int | count |
Number of disks |
| struct sc64_disk_mapping_t.disks | disks[4] |
Array of disks |
| struct sc64_disk_mapping_t.disks |
| enum sc64_error_t |
| enum sc64_cfg_id_t |
The SC64 Configuration ID Enumeration.
| enum sc64_dd_mode_t |
| enum sc64_boot_mode_t |
| enum sc64_save_type_t |
| enum sc64_cic_seed_t |
| enum sc64_tv_type_t |
| enum sc64_drive_type_t |
| enum sc64_disk_state_t |
| enum sc64_button_mode_t |
| void sc64_ll_lock | ( | void | ) |
Lock the SC64.
Lock the SC64.
| sc64_error_t sc64_ll_get_version | ( | uint16_t * | major, |
| uint16_t * | minor, | ||
| uint32_t * | revision ) |
Get the SC64 version.
| major | Pointer to store the major version. |
| minor | Pointer to store the minor version. |
| revision | Pointer to store the revision. |
Get the SC64 version.
| major | Pointer to store the major version. |
| minor | Pointer to store the minor version. |
| revision | Pointer to store the revision number. |
| sc64_error_t sc64_ll_get_config | ( | sc64_cfg_id_t | id, |
| uint32_t * | value ) |
Get the SC64 configuration.
| cfg | Configuration ID. |
| value | Pointer to store the configuration value. |
Get the SC64 configuration.
| id | Configuration ID. |
| value | Pointer to store the configuration value. |
| sc64_error_t sc64_ll_set_config | ( | sc64_cfg_id_t | id, |
| uint32_t | value ) |
Set the SC64 configuration.
| cfg | Configuration ID. |
| value | Configuration value. |
Set the SC64 configuration.
| id | Configuration ID. |
| value | Configuration value. |
| sc64_error_t sc64_ll_set_disk_mapping | ( | sc64_disk_mapping_t * | disk_mapping | ) |
Set the SC64 disk mapping.
| disk_mapping | Pointer to the disk mapping structure. |
Set the SC64 disk mapping.
| disk_mapping | Pointer to the disk mapping structure. |
| sc64_error_t sc64_ll_writeback_pending | ( | bool * | pending | ) |
Check if writeback is pending.
| pending | Pointer to store the pending status. |
Check if writeback is pending.
| pending | Pointer to store the pending status. |
| sc64_error_t sc64_ll_writeback_enable | ( | void * | address | ) |
Enable writeback.
| address | Address to enable writeback. |
Enable writeback.
| address | Address to enable writeback. |
| sc64_error_t sc64_ll_flash_wait_busy | ( | void | ) |
Wait for flash to be not busy.
Wait for flash to be not busy.
| sc64_error_t sc64_ll_flash_get_erase_block_size | ( | size_t * | erase_block_size | ) |
Get the flash erase block size.
| erase_block_size | Pointer to store the erase block size. |
Get the flash erase block size.
| erase_block_size | Pointer to store the erase block size. |
| sc64_error_t sc64_ll_flash_erase_block | ( | void * | address | ) |
Erase a flash block.
| address | Address of the block to erase. |
Erase a flash block.
| address | Address of the block to erase. |