7#ifndef FLASHCART_64DRIVE_LL_H__
8#define FLASHCART_64DRIVE_LL_H__
32 uint32_t __unused_5[49];
38 uint32_t BUTTON_UPGRADE;
41 uint32_t __unused_6[64];
43 uint32_t USB_COMMAND_STATUS;
44 uint32_t USB_PARAM_RESULT[2];
46 uint32_t __unused_7[5];
48 uint32_t WIFI_COMMAND_STATUS;
49 uint32_t WIFI_PARAM_RESULT[2];
51 uint32_t __unused_8[757];
54 uint32_t WRITEBACK[256];
57#define D64_REGS_BASE (0x18000000UL)
58#define D64_REGS_BASE_EXT (0x1F800000UL)
59#define D64_REGS ((d64_regs_t *) D64_REGS_BASE)
60#define D64_REGS_EXT ((d64_regs_t *) D64_REGS_BASE_EXT)
64 DEVICE_VARIANT_UNKNOWN = 0x0000,
65 DEVICE_VARIANT_A = 0x4100,
66 DEVICE_VARIANT_B = 0x4200,
67} d64_device_variant_t;
82 SAVE_TYPE_SRAM_BANKED,
83 SAVE_TYPE_FLASHRAM_PKST2,
87bool d64_ll_get_version (d64_device_variant_t *device_variant, uint16_t *fpga_revision, uint32_t *bootloader_version);
88bool d64_ll_set_persistent_variable_storage (
bool quick_reboot, d64_tv_type_t force_tv_type, uint8_t cic_seed);
89bool d64_ll_set_save_type (d64_save_type_t save_type);
90bool d64_ll_enable_save_writeback (
bool enabled);
91bool d64_ll_enable_cartrom_writes (
bool enabled);
92bool d64_ll_enable_extended_mode (
bool enabled);
93bool d64_ll_write_eeprom_contents (
void *contents);
94bool d64_ll_write_save_writeback_lba_list (
void *list);
Definition: 64drive_ll.h:20