diff --git a/64drive_8h.html b/64drive_8h.html new file mode 100644 index 00000000..9e232d7c --- /dev/null +++ b/64drive_8h.html @@ -0,0 +1,101 @@ + + + + + + + +N64FlashcartMenu: 64drive.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
N64FlashcartMenu +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+Functions
+
64drive.h File Reference
+
+
+ +

64drive flashcart support +More...

+ +

Go to the source code of this file.

+ + + + +

+Functions

+flashcart_td64_get_flashcart (void)
 
+

Detailed Description

+

64drive flashcart support

+
+ + + + diff --git a/64drive_8h_source.html b/64drive_8h_source.html new file mode 100644 index 00000000..79d6a9ca --- /dev/null +++ b/64drive_8h_source.html @@ -0,0 +1,99 @@ + + + + + + + +N64FlashcartMenu: 64drive.h Source File + + + + + + + + + +
+
+ + + + + + +
+
N64FlashcartMenu +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
64drive.h
+
+
+Go to the documentation of this file.
1
+
7#ifndef FLASHCART_64DRIVE_H__
+
8#define FLASHCART_64DRIVE_H__
+
9
+
10
+
11#include "../flashcart.h"
+
12
+
13
+
19flashcart_t *d64_get_flashcart (void);
+
20 /* 64drive */
+
22
+
23
+
24#endif
+
Flashcart Structure.
Definition: flashcart.h:42
+
+ + + + diff --git a/64drive__ll_8h.html b/64drive__ll_8h.html new file mode 100644 index 00000000..2362a84a --- /dev/null +++ b/64drive__ll_8h.html @@ -0,0 +1,171 @@ + + + + + + + +N64FlashcartMenu: 64drive_ll.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
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

+
+ + + + diff --git a/64drive__ll_8h_source.html b/64drive__ll_8h_source.html new file mode 100644 index 00000000..3df16474 --- /dev/null +++ b/64drive__ll_8h_source.html @@ -0,0 +1,174 @@ + + + + + + + +N64FlashcartMenu: 64drive_ll.h Source File + + + + + + + + + +
+
+ + + + + + +
+
N64FlashcartMenu +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
64drive_ll.h
+
+
+Go to the documentation of this file.
1
+
7#ifndef FLASHCART_64DRIVE_LL_H__
+
8#define FLASHCART_64DRIVE_LL_H__
+
9
+
10
+
11#include <stdbool.h>
+
12#include <stdint.h>
+
13
+
14
+
20typedef struct {
+
21 uint8_t BUFFER[512];
+
22 uint32_t STATUS;
+
23 uint32_t __unused_1;
+
24 uint32_t COMMAND;
+
25 uint32_t __unused_2;
+
26 uint32_t LBA;
+
27 uint32_t __unused_3;
+
28 uint32_t LENGTH;
+
29 uint32_t __unused_4;
+
30 uint32_t RESULT;
+
31
+
32 uint32_t __unused_5[49];
+
33
+
34 uint32_t SDRAM_SIZE;
+
35 uint32_t MAGIC;
+
36 uint32_t VARIANT;
+
37 uint32_t PERSISTENT;
+
38 uint32_t BUTTON_UPGRADE;
+
39 uint32_t REVISION;
+
40
+
41 uint32_t __unused_6[64];
+
42
+
43 uint32_t USB_COMMAND_STATUS;
+
44 uint32_t USB_PARAM_RESULT[2];
+
45
+
46 uint32_t __unused_7[5];
+
47
+
48 uint32_t WIFI_COMMAND_STATUS;
+
49 uint32_t WIFI_PARAM_RESULT[2];
+
50
+
51 uint32_t __unused_8[757];
+
52
+
53 uint8_t EEPROM[2048];
+
54 uint32_t WRITEBACK[256];
+ +
56
+
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)
+
61
+
62
+
63typedef enum {
+
64 DEVICE_VARIANT_UNKNOWN = 0x0000,
+
65 DEVICE_VARIANT_A = 0x4100,
+
66 DEVICE_VARIANT_B = 0x4200,
+
67} d64_device_variant_t;
+
68
+
69typedef enum {
+
70 TV_TYPE_PAL = 0,
+
71 TV_TYPE_NTSC = 1,
+
72 TV_TYPE_MPAL = 2,
+
73 TV_TYPE_UNKNOWN = 3,
+
74} d64_tv_type_t;
+
75
+
76typedef enum {
+
77 SAVE_TYPE_NONE,
+
78 SAVE_TYPE_EEPROM_4K,
+
79 SAVE_TYPE_EEPROM_16K,
+
80 SAVE_TYPE_SRAM,
+
81 SAVE_TYPE_FLASHRAM,
+
82 SAVE_TYPE_SRAM_BANKED,
+
83 SAVE_TYPE_FLASHRAM_PKST2,
+
84} d64_save_type_t;
+
85
+
86
+
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);
+
95 /* 64drive */
+
97
+
98
+
99#endif
+
Definition: 64drive_ll.h:20
+
+ + + + diff --git a/actions_8h.html b/actions_8h.html index 0fbce997..6194533b 100644 --- a/actions_8h.html +++ b/actions_8h.html @@ -95,7 +95,7 @@ void actions_update (< diff --git a/actions_8h_source.html b/actions_8h_source.html index aed6d72c..00df7a0b 100644 --- a/actions_8h_source.html +++ b/actions_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/annotated.html b/annotated.html index 391ce5c2..93e0cd32 100644 --- a/annotated.html +++ b/annotated.html @@ -81,36 +81,37 @@ $(function() {  Ccomponent_boxart_t  Ccomponent_context_menu_t  Ccomponent_context_menu_t.list - Cdpc_regs_tDPC Registers Structure - Centry_tFile Entry Structure - Cflashcart_tFlashcart Structure - Cipl3_crc32_t - Cmenu_tMenu Structure - Cmenu_t.actions - Cmenu_t.browser - Cmp3player_t - Cos_info_t - Cpath_tPath Structure - Cpi_regs_tParallel Interface Register Structure - Cpi_regs_t.DOM - Cpng_decoder_t - Crom_config_flags_tROM Config Flags Structure - Crom_header_tROM Header Structure - Crom_metadata_tROM Metadata Structure - Csc64_buffers_t - Csc64_cmd_t - Csc64_regs_t - Csettings_tSettings Structure - Csp_mem_t - Csp_regs_t - Cusb_comm_command_t - Cvi_regs_tVideo Interface Registers Structure + Cd64_regs_t + Cdpc_regs_tDPC Registers Structure + Centry_tFile Entry Structure + Cflashcart_tFlashcart Structure + Cipl3_crc32_t + Cmenu_tMenu Structure + Cmenu_t.actions + Cmenu_t.browser + Cmp3player_t + Cos_info_t + Cpath_tPath Structure + Cpi_regs_tParallel Interface Register Structure + Cpi_regs_t.DOM + Cpng_decoder_t + Crom_config_flags_tROM Config Flags Structure + Crom_header_tROM Header Structure + Crom_metadata_tROM Metadata Structure + Csc64_buffers_t + Csc64_cmd_t + Csc64_regs_t + Csettings_tSettings Structure + Csp_mem_t + Csp_regs_t + Cusb_comm_command_t + Cvi_regs_tVideo Interface Registers Structure diff --git a/boot_8h.html b/boot_8h.html index 47dc3565..503bbb04 100644 --- a/boot_8h.html +++ b/boot_8h.html @@ -169,7 +169,7 @@ detect_cic_seed diff --git a/boot_8h_source.html b/boot_8h_source.html index 7b960a32..c4d3b0ea 100644 --- a/boot_8h_source.html +++ b/boot_8h_source.html @@ -122,7 +122,7 @@ $(function() { diff --git a/boot__io_8h.html b/boot__io_8h.html index 8ae592b9..4f010ca6 100644 --- a/boot__io_8h.html +++ b/boot__io_8h.html @@ -937,7 +937,7 @@ RLS diff --git a/boot__io_8h_source.html b/boot__io_8h_source.html index 33f20182..93917ba3 100644 --- a/boot__io_8h_source.html +++ b/boot__io_8h_source.html @@ -325,7 +325,7 @@ $(function() { diff --git a/cart__load_8h.html b/cart__load_8h.html index a3915ad3..26caadd1 100644 --- a/cart__load_8h.html +++ b/cart__load_8h.html @@ -127,7 +127,7 @@ cart_load_err_t cart_load_ diff --git a/cart__load_8h_source.html b/cart__load_8h_source.html index a00982a0..0ecaa355 100644 --- a/cart__load_8h_source.html +++ b/cart__load_8h_source.html @@ -119,7 +119,7 @@ $(function() { diff --git a/classes.html b/classes.html index 86ab76fc..f7fb7e60 100644 --- a/classes.html +++ b/classes.html @@ -85,7 +85,7 @@ $(function() {
cache_metadata_t
component_background_t
component_boxart_t
component_context_menu_t
component_context_menu_t.list
D
-
dpc_regs_t
+
d64_regs_t
dpc_regs_t
E
entry_t
@@ -120,7 +120,7 @@ $(function() { diff --git a/components_8h.html b/components_8h.html index ec36fe9a..e7bafbb9 100644 --- a/components_8h.html +++ b/components_8h.html @@ -252,7 +252,7 @@ image diff --git a/components_8h_source.html b/components_8h_source.html index 0ab10f75..0f90b56a 100644 --- a/components_8h_source.html +++ b/components_8h_source.html @@ -142,7 +142,7 @@ $(function() { diff --git a/constants_8h.html b/constants_8h.html index a7998b4c..0b0490af 100644 --- a/constants_8h.html +++ b/constants_8h.html @@ -242,7 +242,7 @@ Macros diff --git a/constants_8h_source.html b/constants_8h_source.html index 5381004d..42bf5508 100644 --- a/constants_8h_source.html +++ b/constants_8h_source.html @@ -159,7 +159,7 @@ $(function() { diff --git a/crc32_8h.html b/crc32_8h.html index d9c94b78..43005568 100644 --- a/crc32_8h.html +++ b/crc32_8h.html @@ -95,7 +95,7 @@ uint32_t crc32_calculate diff --git a/crc32_8h_source.html b/crc32_8h_source.html index cacb2647..e07fcd14 100644 --- a/crc32_8h_source.html +++ b/crc32_8h_source.html @@ -92,7 +92,7 @@ $(function() { diff --git a/dir_1a56cc8cdc1689899910be5fa4716ee4.html b/dir_1a56cc8cdc1689899910be5fa4716ee4.html index d8954164..ccf1ef76 100644 --- a/dir_1a56cc8cdc1689899910be5fa4716ee4.html +++ b/dir_1a56cc8cdc1689899910be5fa4716ee4.html @@ -127,7 +127,7 @@ Files diff --git a/dir_2ac260d472217b65191de9df2a24e86e.html b/dir_2ac260d472217b65191de9df2a24e86e.html new file mode 100644 index 00000000..85454653 --- /dev/null +++ b/dir_2ac260d472217b65191de9df2a24e86e.html @@ -0,0 +1,95 @@ + + + + + + + +N64FlashcartMenu: 64drive Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
N64FlashcartMenu +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
64drive Directory Reference
+
+
+ + + + + + + + +

+Files

file  64drive.h [code]
 64drive flashcart support
 
file  64drive_ll.h [code]
 64drive flashcart low level access
 
+
+ + + + diff --git a/dir_313caf1132e152dd9b58bea13a4052ca.html b/dir_313caf1132e152dd9b58bea13a4052ca.html index 65656a1f..231c26da 100644 --- a/dir_313caf1132e152dd9b58bea13a4052ca.html +++ b/dir_313caf1132e152dd9b58bea13a4052ca.html @@ -87,7 +87,7 @@ Files diff --git a/dir_4ad298de6e9dc10146d0378a1888b2cb.html b/dir_4ad298de6e9dc10146d0378a1888b2cb.html index 49f1fece..565e3f92 100644 --- a/dir_4ad298de6e9dc10146d0378a1888b2cb.html +++ b/dir_4ad298de6e9dc10146d0378a1888b2cb.html @@ -89,7 +89,7 @@ Files diff --git a/dir_52780cb445d9f0b97a98e8aabec4d968.html b/dir_52780cb445d9f0b97a98e8aabec4d968.html index bf721062..af7ffdc8 100644 --- a/dir_52780cb445d9f0b97a98e8aabec4d968.html +++ b/dir_52780cb445d9f0b97a98e8aabec4d968.html @@ -92,7 +92,7 @@ Files diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index a4d0c359..d8e36623 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -93,7 +93,7 @@ Directories diff --git a/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html b/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html index 4d61194d..4d731b1b 100644 --- a/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html +++ b/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html @@ -86,7 +86,7 @@ Files diff --git a/dir_abdc04f88b2866c1353f358c089205e4.html b/dir_abdc04f88b2866c1353f358c089205e4.html index c278a6a0..ed97143a 100644 --- a/dir_abdc04f88b2866c1353f358c089205e4.html +++ b/dir_abdc04f88b2866c1353f358c089205e4.html @@ -79,6 +79,8 @@ $(function() { + +

Directories

directory  64drive
 
directory  sc64
 
@@ -94,7 +96,7 @@ Files diff --git a/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html b/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html index 104f5a3e..e546a460 100644 --- a/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html +++ b/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html @@ -85,7 +85,7 @@ Files diff --git a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html index 48a5a49d..cdcde47a 100644 --- a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html +++ b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html @@ -86,7 +86,7 @@ Files diff --git a/files.html b/files.html index 5606e820..99d76a74 100644 --- a/files.html +++ b/files.html @@ -80,40 +80,43 @@ $(function() { - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 boot_io.hFlashcart Boot IO
 crc32.hFlashcart Boot Checksum
  flashcart
  sc64
 sc64.hSC64 flashcart support
 sc64_ll.hSC64 flashcart low level access
 flashcart.hFlashcart Subsystem
 flashcart_utils.hFlashcart utilities
  hdmi
 hdmi.h
  menu
  components
 constants.hMenu components constants
  views
 views.hMenu Views
 actions.hMenu Actions
 cart_load.hROM/save loading functions
 components.hMenu Components
 fonts.hMenu fonts
 menu.hMenu Subsystem
 menu_state.hMenu State
 mp3_player.h
 path.hMenu Path
 png_decoder.h
 rom_database.hN64 ROM Database
 settings.hMenu Settings
 sound.hMenu Sound
 usb_comm.hUSB communication subsystem
  utils
 fs.h
 utils.h
  64drive
 64drive.h64drive flashcart support
 64drive_ll.h64drive flashcart low level access
  sc64
 sc64.hSC64 flashcart support
 sc64_ll.hSC64 flashcart low level access
 flashcart.hFlashcart Subsystem
 flashcart_utils.hFlashcart utilities
  hdmi
 hdmi.h
  menu
  components
 constants.hMenu components constants
  views
 views.hMenu Views
 actions.hMenu Actions
 cart_load.hROM/save loading functions
 components.hMenu Components
 fonts.hMenu fonts
 menu.hMenu Subsystem
 menu_state.hMenu State
 mp3_player.h
 path.hMenu Path
 png_decoder.h
 rom_database.hN64 ROM Database
 settings.hMenu Settings
 sound.hMenu Sound
 usb_comm.hUSB communication subsystem
  utils
 fs.h
 utils.h
diff --git a/flashcart_8h.html b/flashcart_8h.html index 97459150..a61a7eb6 100644 --- a/flashcart_8h.html +++ b/flashcart_8h.html @@ -123,7 +123,9 @@ Enumerations   FLASHCART_SAVE_TYPE_SRAM_BANKED , FLASHCART_SAVE_TYPE_SRAM_128K , FLASHCART_SAVE_TYPE_FLASHRAM -, __FLASHCART_SAVE_TYPE_END +, FLASHCART_SAVE_TYPE_FLASHRAM_PKST2 +,
+  __FLASHCART_SAVE_TYPE_END
}  Flashcart save type enumeration.
@@ -152,7 +154,7 @@ Functions diff --git a/flashcart_8h_source.html b/flashcart_8h_source.html index c258ea11..06d56d96 100644 --- a/flashcart_8h_source.html +++ b/flashcart_8h_source.html @@ -103,37 +103,38 @@ $(function() {
32 FLASHCART_SAVE_TYPE_SRAM_BANKED,
33 FLASHCART_SAVE_TYPE_SRAM_128K,
34 FLASHCART_SAVE_TYPE_FLASHRAM,
-
35 __FLASHCART_SAVE_TYPE_END
- -
37
-
38typedef void flashcart_progress_callback_t (float progress);
-
39
-
41typedef struct {
-
42 flashcart_error_t (*init) (void);
-
43 flashcart_error_t (*deinit) (void);
-
44 flashcart_error_t (*load_rom) (char *rom_path, flashcart_progress_callback_t *progress);
-
45 flashcart_error_t (*load_file) (char *file_path, uint32_t rom_offset, uint32_t file_offset);
-
46 flashcart_error_t (*load_save) (char *save_path);
-
47 flashcart_error_t (*set_save_type) (flashcart_save_type_t save_type);
-
48 flashcart_error_t (*set_save_writeback) (uint32_t *sectors);
- -
50
+
35 FLASHCART_SAVE_TYPE_FLASHRAM_PKST2,
+
36 __FLASHCART_SAVE_TYPE_END
+ +
38
+
39typedef void flashcart_progress_callback_t (float progress);
+
40
+
42typedef struct {
+
43 flashcart_error_t (*init) (void);
+
44 flashcart_error_t (*deinit) (void);
+
45 flashcart_error_t (*load_rom) (char *rom_path, flashcart_progress_callback_t *progress);
+
46 flashcart_error_t (*load_file) (char *file_path, uint32_t rom_offset, uint32_t file_offset);
+
47 flashcart_error_t (*load_save) (char *save_path);
+
48 flashcart_error_t (*set_save_type) (flashcart_save_type_t save_type);
+
49 flashcart_error_t (*set_save_writeback) (uint32_t *sectors);
+
51
-
52flashcart_error_t flashcart_init (void);
-
53flashcart_error_t flashcart_deinit (void);
-
54flashcart_error_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress);
-
55flashcart_error_t flashcart_load_file (char *file_path, uint32_t rom_offset, uint32_t file_offset);
-
56flashcart_error_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type);
-
57
+
52
+
53flashcart_error_t flashcart_init (void);
+
54flashcart_error_t flashcart_deinit (void);
+
55flashcart_error_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress);
+
56flashcart_error_t flashcart_load_file (char *file_path, uint32_t rom_offset, uint32_t file_offset);
+
57flashcart_error_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type);
58
-
59#endif
+
59
+
60#endif
flashcart_error_t
Flashcart error enumeration.
Definition: flashcart.h:16
flashcart_save_type_t
Flashcart save type enumeration.
Definition: flashcart.h:27
-
Flashcart Structure.
Definition: flashcart.h:41
+
Flashcart Structure.
Definition: flashcart.h:42
diff --git a/flashcart__utils_8h.html b/flashcart__utils_8h.html index 2c2569dc..71c4278b 100644 --- a/flashcart__utils_8h.html +++ b/flashcart__utils_8h.html @@ -101,7 +101,7 @@ void pi_dma_write_data diff --git a/flashcart__utils_8h_source.html b/flashcart__utils_8h_source.html index 4ff4ceb2..c397c853 100644 --- a/flashcart__utils_8h_source.html +++ b/flashcart__utils_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/fonts_8h.html b/fonts_8h.html index 03093512..d6b66c47 100644 --- a/fonts_8h.html +++ b/fonts_8h.html @@ -112,7 +112,7 @@ void fonts_init (void) diff --git a/fonts_8h_source.html b/fonts_8h_source.html index ad464fd9..28f36b81 100644 --- a/fonts_8h_source.html +++ b/fonts_8h_source.html @@ -101,7 +101,7 @@ $(function() { diff --git a/fs_8h_source.html b/fs_8h_source.html index af88a13d..0a369992 100644 --- a/fs_8h_source.html +++ b/fs_8h_source.html @@ -107,7 +107,7 @@ $(function() { diff --git a/functions.html b/functions.html index 1aa63848..b8c5444b 100644 --- a/functions.html +++ b/functions.html @@ -88,7 +88,7 @@ $(function() { diff --git a/functions_vars.html b/functions_vars.html index a9edd38e..29d2b516 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -88,7 +88,7 @@ $(function() { diff --git a/globals.html b/globals.html index 2c32fa16..a27003ea 100644 --- a/globals.html +++ b/globals.html @@ -175,7 +175,7 @@ $(function() { diff --git a/globals_enum.html b/globals_enum.html index 80ed2d3c..094f2ffd 100644 --- a/globals_enum.html +++ b/globals_enum.html @@ -87,7 +87,7 @@ $(function() { diff --git a/globals_eval.html b/globals_eval.html index 629ced90..d9bd9e86 100644 --- a/globals_eval.html +++ b/globals_eval.html @@ -149,7 +149,7 @@ $(function() { diff --git a/globals_func.html b/globals_func.html index 36490e61..7cae629f 100644 --- a/globals_func.html +++ b/globals_func.html @@ -75,7 +75,7 @@ $(function() { diff --git a/group__drive.html b/group__drive.html new file mode 100644 index 00000000..cb1c44b0 --- /dev/null +++ b/group__drive.html @@ -0,0 +1,338 @@ + + + + + + + +N64FlashcartMenu: Drive + + + + + + + + + +
+
+ + + + + + +
+
N64FlashcartMenu +
+
+
+ + + + + + + +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ + + + +

+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

+flashcart_td64_get_flashcart (void)
 
+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

+

Data Structure Documentation

+ +

◆ d64_regs_t

+ +
+
+ + + + +
struct d64_regs_t
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Data Fields
+uint8_t +BUFFER[512] +
+uint32_t +STATUS +
+uint32_t +__unused_1 +
+uint32_t +COMMAND +
+uint32_t +__unused_2 +
+uint32_t +LBA +
+uint32_t +__unused_3 +
+uint32_t +LENGTH +
+uint32_t +__unused_4 +
+uint32_t +RESULT +
+uint32_t +__unused_5[49] +
+uint32_t +SDRAM_SIZE +
+uint32_t +MAGIC +
+uint32_t +VARIANT +
+uint32_t +PERSISTENT +
+uint32_t +BUTTON_UPGRADE +
+uint32_t +REVISION +
+uint32_t +__unused_6[64] +
+uint32_t +USB_COMMAND_STATUS +
+uint32_t +USB_PARAM_RESULT[2] +
+uint32_t +__unused_7[5] +
+uint32_t +WIFI_COMMAND_STATUS +
+uint32_t +WIFI_PARAM_RESULT[2] +
+uint32_t +__unused_8[757] +
+uint8_t +EEPROM[2048] +
+uint32_t +WRITEBACK[256] +
+ +
+
+
+ + + + diff --git a/group__sc64.html b/group__sc64.html index eb5f6545..e2744dd9 100644 --- a/group__sc64.html +++ b/group__sc64.html @@ -260,7 +260,7 @@ FLASHRAM[128] diff --git a/group__view.html b/group__view.html index 0be06a8c..c0c4b99a 100644 --- a/group__view.html +++ b/group__view.html @@ -151,7 +151,7 @@ void menu_show_error ( diff --git a/hdmi_8h_source.html b/hdmi_8h_source.html index 638e8d65..b57cf8c9 100644 --- a/hdmi_8h_source.html +++ b/hdmi_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/index.html b/index.html index 588059e8..c8ccbdeb 100644 --- a/index.html +++ b/index.html @@ -98,17 +98,20 @@ Current (notable) menu features

Getting started

-SC64

-

Ensure the cart is running the latest firmware. Download the sc64menu.n64 ROM from the latest action run assets. Add it to the root folder on your SD card.

+64drive +

Ensure the cart has the latest firmware installed. Download the latest menu.bin file from the releases page, then put it in the root directory of your SD card.

+SC64

+

Ensure the cart has the latest firmware installed. Download the latest sc64menu.n64 file from the releases page, then put it in the root directory of your SD card.

+

ED64 & ED64P

Currently not supported, but there is an aim to do so. The aim is to replace Altra64 and ED64-UnofficialOS.

-

+

Common to all

-

+

ROM Boxart

To use boxart, you need to place png files of size 158x112 in the folder /menu/boxart on the SD card. Each file must be named according to the 2 letter ROM ID. e.g. for goldeneye, this would be GE.png. A known set of PNG files can be downloaded here.

-

+

Emulator support

Emulators should be added to the /emulators directory on the SD card.

Menu currently supports the following emulators and associated ROM file names:

-

+

Developer documentation

Work in progress!

You can use a dev container in VSCode to ease development.

-

+

To deploy:

-

+

SC64

Make sure that your firmware is compatible (currently v2.16.0+) See: https://github.com/Polprzewodnikowy/SummerCart64/blob/v2.16.0/docs/00_quick_startup_guide.md#firmware-backupupdate

-

+

From the devcontainer

It is not currently possible to directly communicate with USB devices. BUT, as a work around you can use a proxy TCP/IP connection Set up a proxy: open a terminal window, cd ./tools/sc64 and then ./sc64deployer.exe server

Then in the dev container, use make run or make run-debug

-

+

From your host (Windows) OS