7#ifndef FLASHCART_64DRIVE_LL_H__
8#define FLASHCART_64DRIVE_LL_H__
33 uint32_t __unused_5[49];
39 uint32_t BUTTON_UPGRADE;
42 uint32_t __unused_6[64];
44 uint32_t USB_COMMAND_STATUS;
45 uint32_t USB_PARAM_RESULT[2];
47 uint32_t __unused_7[5];
49 uint32_t WIFI_COMMAND_STATUS;
50 uint32_t WIFI_PARAM_RESULT[2];
52 uint32_t __unused_8[757];
55 uint32_t WRITEBACK[256];
59#define D64_REGS_BASE (0x18000000UL)
60#define D64_REGS_BASE_EXT (0x1F800000UL)
61#define D64_REGS ((d64_regs_t *) D64_REGS_BASE)
62#define D64_REGS_EXT ((d64_regs_t *) D64_REGS_BASE_EXT)
66 DEVICE_VARIANT_UNKNOWN = 0x0000,
67 DEVICE_VARIANT_A = 0x4100,
68 DEVICE_VARIANT_B = 0x4200,
82 SAVE_TYPE_EEPROM_4KBIT,
83 SAVE_TYPE_EEPROM_16KBIT,
84 SAVE_TYPE_SRAM_256KBIT,
85 SAVE_TYPE_FLASHRAM_1MBIT,
86 SAVE_TYPE_SRAM_BANKED,
87 SAVE_TYPE_FLASHRAM_PKST2,
91bool d64_ll_get_version (
d64_device_variant_t *device_variant, uint16_t *fpga_revision, uint32_t *bootloader_version);
92bool d64_ll_set_persistent_variable_storage (
bool quick_reboot,
d64_tv_type_t force_tv_type, uint8_t cic_seed);
94bool d64_ll_enable_save_writeback (
bool enabled);
95bool d64_ll_enable_cartrom_writes (
bool enabled);
96bool d64_ll_enable_extended_mode (
bool enabled);
97bool d64_ll_write_eeprom_contents (
void *contents);
98bool d64_ll_write_save_writeback_lba_list (
void *list);
d64_tv_type_t
TV Type Enumeration.
Definition: 64drive_ll.h:72
d64_device_variant_t
Device Variant Enumeration.
Definition: 64drive_ll.h:65
d64_save_type_t
Save Type Enumeration.
Definition: 64drive_ll.h:80
Registers Structure.
Definition: 64drive_ll.h:21