N64FlashcartMenu
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions
64drive_ll.h File Reference

64drive flashcart low level access More...

Go to the source code of this file.

Data Structures

struct  d64_regs_t
 

Macros

#define D64_REGS_BASE   (0x18000000UL)
 
#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 }
 
enum  d64_tv_type_t { TV_TYPE_PAL = 0 , TV_TYPE_NTSC = 1 , TV_TYPE_MPAL = 2 , TV_TYPE_UNKNOWN = 3 }
 
enum  d64_save_type_t {
  SAVE_TYPE_NONE , SAVE_TYPE_EEPROM_4K , SAVE_TYPE_EEPROM_16K , SAVE_TYPE_SRAM ,
  SAVE_TYPE_FLASHRAM , SAVE_TYPE_SRAM_BANKED , SAVE_TYPE_FLASHRAM_PKST2
}
 

Functions

bool d64_ll_get_version (d64_device_variant_t *device_variant, uint16_t *fpga_revision, uint32_t *bootloader_version)
 
bool d64_ll_set_persistent_variable_storage (bool quick_reboot, d64_tv_type_t force_tv_type, uint8_t cic_seed)
 
bool d64_ll_set_save_type (d64_save_type_t save_type)
 
bool d64_ll_enable_save_writeback (bool enabled)
 
bool d64_ll_enable_cartrom_writes (bool enabled)
 
bool d64_ll_enable_extended_mode (bool enabled)
 
bool d64_ll_write_eeprom_contents (void *contents)
 
bool d64_ll_write_save_writeback_lba_list (void *list)
 

Detailed Description

64drive flashcart low level access