N64FlashcartMenu
|
Data Structures | |
struct | d64_regs_t |
Registers Structure. More... | |
Macros | |
#define | D64_REGS_BASE (0x18000000UL) |
Registers Base Address. | |
#define | D64_REGS_BASE_EXT (0x1F800000UL) |
#define | D64_REGS ((d64_regs_t *) D64_REGS_BASE) |
#define | D64_REGS_EXT ((d64_regs_t *) D64_REGS_BASE_EXT) |
Enumerations | |
enum | d64_device_variant_t { DEVICE_VARIANT_UNKNOWN = 0x0000 , DEVICE_VARIANT_A = 0x4100 , DEVICE_VARIANT_B = 0x4200 } |
Device Variant Enumeration. More... | |
enum | d64_tv_type_t { TV_TYPE_PAL = 0 , TV_TYPE_NTSC = 1 , TV_TYPE_MPAL = 2 , TV_TYPE_UNKNOWN = 3 } |
TV Type Enumeration. More... | |
enum | d64_save_type_t { SAVE_TYPE_NONE , SAVE_TYPE_EEPROM_4KBIT , SAVE_TYPE_EEPROM_16KBIT , SAVE_TYPE_SRAM_256KBIT , SAVE_TYPE_FLASHRAM_1MBIT , SAVE_TYPE_SRAM_BANKED , SAVE_TYPE_FLASHRAM_PKST2 } |
Save Type Enumeration. More... | |
Functions | |
flashcart_t * | d64_get_flashcart (void) |
Get the flashcart structure for 64drive. | |
bool | d64_ll_get_version (d64_device_variant_t *device_variant, uint16_t *fpga_revision, uint32_t *bootloader_version) |
Get the 64drive version. | |
bool | d64_ll_set_persistent_variable_storage (bool quick_reboot, d64_tv_type_t force_tv_type, uint8_t cic_seed) |
Set the persistent variable storage. | |
bool | d64_ll_set_save_type (d64_save_type_t save_type) |
Set the save type. | |
bool | d64_ll_enable_save_writeback (bool enabled) |
Enable or disable save writeback. | |
bool | d64_ll_enable_cartrom_writes (bool enabled) |
Enable or disable cart ROM writes. | |
bool | d64_ll_enable_extended_mode (bool enabled) |
Enable or disable extended mode. | |
bool | d64_ll_write_eeprom_contents (void *contents) |
Write EEPROM contents. | |
bool | d64_ll_write_save_writeback_lba_list (void *list) |
Write save writeback LBA list. | |
struct d64_regs_t |
Registers Structure.
enum d64_device_variant_t |
enum d64_tv_type_t |
enum d64_save_type_t |
flashcart_t * d64_get_flashcart | ( | void | ) |
Get the flashcart structure for 64drive.
bool d64_ll_get_version | ( | d64_device_variant_t * | device_variant, |
uint16_t * | fpga_revision, | ||
uint32_t * | bootloader_version ) |
Get the 64drive version.
device_variant | Pointer to store the device variant. |
fpga_revision | Pointer to store the FPGA revision. |
bootloader_version | Pointer to store the bootloader version. |
Get the 64drive version.
device_variant | Pointer to store the device variant. |
fpga_revision | Pointer to store the FPGA revision. |
bootloader_version | Pointer to store the bootloader version. |
bool d64_ll_set_persistent_variable_storage | ( | bool | quick_reboot, |
d64_tv_type_t | force_tv_type, | ||
uint8_t | cic_seed ) |
Set the persistent variable storage.
quick_reboot | Enable or disable quick reboot. |
force_tv_type | TV type to force. |
cic_seed | CIC seed value. |
Set the persistent variable storage.
quick_reboot | Flag indicating whether to enable quick reboot. |
force_tv_type | The TV type to force. |
cic_seed | The CIC seed value. |
bool d64_ll_set_save_type | ( | d64_save_type_t | save_type | ) |
Set the save type.
save_type | The save type to set. |
Set the save type.
save_type | The save type. |
bool d64_ll_enable_save_writeback | ( | bool | enabled | ) |
Enable or disable save writeback.
enabled | True to enable, false to disable. |
Enable or disable save writeback.
enabled | Flag indicating whether to enable save writeback. |
bool d64_ll_enable_cartrom_writes | ( | bool | enabled | ) |
Enable or disable cart ROM writes.
enabled | True to enable, false to disable. |
Enable or disable cart ROM writes.
enabled | Flag indicating whether to enable cart ROM writes. |
bool d64_ll_enable_extended_mode | ( | bool | enabled | ) |
Enable or disable extended mode.
enabled | True to enable, false to disable. |
Enable or disable extended mode.
enabled | Flag indicating whether to enable extended mode. |
bool d64_ll_write_eeprom_contents | ( | void * | contents | ) |
Write EEPROM contents.
contents | Pointer to the EEPROM contents. |
Write EEPROM contents.
contents | Pointer to the EEPROM contents. |
bool d64_ll_write_save_writeback_lba_list | ( | void * | list | ) |
Write save writeback LBA list.
list | Pointer to the LBA list. |
Write save writeback LBA list.
list | Pointer to the LBA list. |