2023-08-05 01:40:16 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
< meta name = "generator" content = "Doxygen 1.9.5" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > N64FlashcartMenu: Sc64< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectalign" >
< div id = "projectname" > N64FlashcartMenu
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
< / script >
< div id = "main-nav" > < / div >
< / div > <!-- top -->
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Data Structures< / a > |
< a href = "#define-members" > Macros< / a > |
< a href = "#enum-members" > Enumerations< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" > < div class = "title" > Sc64< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "nested-classes" name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
< tr class = "memitem:structsc64__buffers__t" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__sc64.html#structsc64__buffers__t" > sc64_buffers_t< / a > < / td > < / tr >
< tr class = "separator:structsc64__buffers__t" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "define-members" name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:ga00b6faab3e388d629772cdbbfb3f6c10" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga00b6faab3e388d629772cdbbfb3f6c10" name = "ga00b6faab3e388d629772cdbbfb3f6c10" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > SC64_BUFFERS_BASE< / b >       (0x1FFE0000UL)< / td > < / tr >
< tr class = "separator:ga00b6faab3e388d629772cdbbfb3f6c10" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga26d7f62fa678076c416bae5e67a57c5d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga26d7f62fa678076c416bae5e67a57c5d" name = "ga26d7f62fa678076c416bae5e67a57c5d" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > SC64_BUFFERS< / b >       ((< a class = "el" href = "group__sc64.html#structsc64__buffers__t" > sc64_buffers_t< / a > *) SC64_BUFFERS_BASE)< / td > < / tr >
< tr class = "separator:ga26d7f62fa678076c416bae5e67a57c5d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "enum-members" name = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
< tr class = "memitem:gad70dee817cc88e101b1908687b025138" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gad70dee817cc88e101b1908687b025138" name = "gad70dee817cc88e101b1908687b025138" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_error_t< / b > { < br / >
    < b > SC64_OK< / b >
, < b > SC64_ERROR_BAD_ARGUMENT< / b >
, < b > SC64_ERROR_BAD_ADDRESS< / b >
, < b > SC64_ERROR_BAD_CONFIG_ID< / b >
, < br / >
    < b > SC64_ERROR_TIMEOUT< / b >
, < b > SC64_ERROR_SD_CARD< / b >
, < b > SC64_ERROR_UNKNOWN_CMD< / b > = -1
< br / >
}< / td > < / tr >
< tr class = "separator:gad70dee817cc88e101b1908687b025138" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga783458cf7e80a95cc6ffe0c4e06b06bb" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga783458cf7e80a95cc6ffe0c4e06b06bb" name = "ga783458cf7e80a95cc6ffe0c4e06b06bb" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_cfg_t< / b > { < br / >
    < b > CFG_BOOTLOADER_SWITCH< / b >
, < b > CFG_ROM_WRITE_ENABLE< / b >
, < b > CFG_ROM_SHADOW_ENABLE< / b >
, < b > CFG_DD_MODE< / b >
, < br / >
    < b > CFG_ISV_ADDRESS< / b >
, < b > CFG_BOOT_MODE< / b >
, < b > CFG_SAVE_TYPE< / b >
, < b > CFG_CIC_SEED< / b >
, < br / >
    < b > CFG_TV_TYPE< / b >
, < b > CFG_DD_SD_ENABLE< / b >
, < b > CFG_DD_DRIVE_TYPE< / b >
, < b > CFG_DD_DISK_STATE< / b >
, < br / >
    < b > CFG_BUTTON_STATE< / b >
, < b > CFG_BUTTON_MODE< / b >
, < b > CFG_ROM_EXTENDED_ENABLE< / b >
< br / >
}< / td > < / tr >
< tr class = "separator:ga783458cf7e80a95cc6ffe0c4e06b06bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga26d88432c544c1daf0be2335199b0854" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga26d88432c544c1daf0be2335199b0854" name = "ga26d88432c544c1daf0be2335199b0854" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_dd_mode_t< / b > { < b > DD_MODE_DISABLED< / b > = 0
, < b > DD_MODE_REGS< / b > = 1
, < b > DD_MODE_IPL< / b > = 2
, < b > DD_MODE_FULL< / b > = 3
}< / td > < / tr >
< tr class = "separator:ga26d88432c544c1daf0be2335199b0854" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4fc6e6ea26473957f4720f59f69b934e" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga4fc6e6ea26473957f4720f59f69b934e" name = "ga4fc6e6ea26473957f4720f59f69b934e" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_boot_mode_t< / b > { < br / >
    < b > BOOT_MODE_MENU< / b > = 0
, < b > BOOT_MODE_ROM< / b > = 1
, < b > BOOT_MODE_DDIPL< / b > = 2
, < b > BOOT_MODE_DIRECT_ROM< / b > = 3
, < br / >
    < b > BOOT_MODE_DIRECT_DDIPL< / b > = 4
< br / >
}< / td > < / tr >
< tr class = "separator:ga4fc6e6ea26473957f4720f59f69b934e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaba7e686f2ef7ea48b82e33a73a513b95" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gaba7e686f2ef7ea48b82e33a73a513b95" name = "gaba7e686f2ef7ea48b82e33a73a513b95" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_save_type_t< / b > { < br / >
    < b > SAVE_TYPE_NONE< / b >
, < b > SAVE_TYPE_EEPROM_4K< / b >
, < b > SAVE_TYPE_EEPROM_16K< / b >
, < b > SAVE_TYPE_SRAM< / b >
, < br / >
    < b > SAVE_TYPE_FLASHRAM< / b >
, < b > SAVE_TYPE_SRAM_BANKED< / b >
, < b > SAVE_TYPE_SRAM_128K< / b >
< br / >
}< / td > < / tr >
< tr class = "separator:gaba7e686f2ef7ea48b82e33a73a513b95" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa28abddc922566c4a043b87b47a21ee9" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gaa28abddc922566c4a043b87b47a21ee9" name = "gaa28abddc922566c4a043b87b47a21ee9" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_cic_seed_t< / b > { < b > CIC_SEED_AUTO< / b > = 0xFFFF
}< / td > < / tr >
< tr class = "separator:gaa28abddc922566c4a043b87b47a21ee9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5d5735c93d55472c57ba3436bb724a7e" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga5d5735c93d55472c57ba3436bb724a7e" name = "ga5d5735c93d55472c57ba3436bb724a7e" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_tv_type_t< / b > { < b > TV_TYPE_PAL< / b > = 0
, < b > TV_TYPE_NTSC< / b > = 1
, < b > TV_TYPE_MPAL< / b > = 2
, < b > TV_TYPE_PASSTHROUGH< / b > = 3
}< / td > < / tr >
< tr class = "separator:ga5d5735c93d55472c57ba3436bb724a7e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7274e47ae7e8ec1cb99e0ebd10e1a6df" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga7274e47ae7e8ec1cb99e0ebd10e1a6df" name = "ga7274e47ae7e8ec1cb99e0ebd10e1a6df" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_drive_type_t< / b > { < b > DRIVE_TYPE_RETAIL< / b >
, < b > DRIVE_TYPE_DEVELOPMENT< / b >
}< / td > < / tr >
< tr class = "separator:ga7274e47ae7e8ec1cb99e0ebd10e1a6df" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4d939d07904cc93a638c25152b8be055" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga4d939d07904cc93a638c25152b8be055" name = "ga4d939d07904cc93a638c25152b8be055" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_disk_state_t< / b > { < b > DISK_STATE_EJECTED< / b >
, < b > DISK_STATE_INSERTED< / b >
, < b > DISK_STATE_CHANGED< / b >
}< / td > < / tr >
< tr class = "separator:ga4d939d07904cc93a638c25152b8be055" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga813206271f5521b500a359ba0cd52fef" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga813206271f5521b500a359ba0cd52fef" name = "ga813206271f5521b500a359ba0cd52fef" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_button_mode_t< / b > { < b > BUTTON_MODE_NONE< / b >
, < b > BUTTON_MODE_N64_IRQ< / b >
, < b > BUTTON_MODE_USB_PACKET< / b >
, < b > BUTTON_MODE_DD_DISK_SWAP< / b >
}< / td > < / tr >
< tr class = "separator:ga813206271f5521b500a359ba0cd52fef" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "func-members" name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:gadf820e8e073fca1c48141276c58b69e2" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gadf820e8e073fca1c48141276c58b69e2" name = "gadf820e8e073fca1c48141276c58b69e2" > < / a >
< a class = "el" href = "structflashcart__t.html" > flashcart_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_get_flashcart< / b > (void)< / td > < / tr >
< tr class = "separator:gadf820e8e073fca1c48141276c58b69e2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac7888e0a3c11d2c4e19cc4089ed17ce6" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gac7888e0a3c11d2c4e19cc4089ed17ce6" name = "gac7888e0a3c11d2c4e19cc4089ed17ce6" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_lock< / b > (void)< / td > < / tr >
< tr class = "separator:gac7888e0a3c11d2c4e19cc4089ed17ce6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gacdcdcbdd273ffe627abccdf4f56adfcd" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gacdcdcbdd273ffe627abccdf4f56adfcd" name = "gacdcdcbdd273ffe627abccdf4f56adfcd" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_get_version< / b > (uint16_t *major, uint16_t *minor, uint32_t *revision)< / td > < / tr >
< tr class = "separator:gacdcdcbdd273ffe627abccdf4f56adfcd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga73402b4841ea2bc8885070b99a54d315" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga73402b4841ea2bc8885070b99a54d315" name = "ga73402b4841ea2bc8885070b99a54d315" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_get_config< / b > (sc64_cfg_t cfg, uint32_t *value)< / td > < / tr >
< tr class = "separator:ga73402b4841ea2bc8885070b99a54d315" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5c9f5d28e1687fde0ddff6a65705dcda" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga5c9f5d28e1687fde0ddff6a65705dcda" name = "ga5c9f5d28e1687fde0ddff6a65705dcda" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_set_config< / b > (sc64_cfg_t cfg, uint32_t value)< / td > < / tr >
< tr class = "separator:ga5c9f5d28e1687fde0ddff6a65705dcda" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga884828ddf6ffc5aff2edff66b2207bf0" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga884828ddf6ffc5aff2edff66b2207bf0" name = "ga884828ddf6ffc5aff2edff66b2207bf0" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_writeback_pending< / b > (bool *pending)< / td > < / tr >
< tr class = "separator:ga884828ddf6ffc5aff2edff66b2207bf0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab2b6c7dbead6e3a5367fc413d1dff7f7" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gab2b6c7dbead6e3a5367fc413d1dff7f7" name = "gab2b6c7dbead6e3a5367fc413d1dff7f7" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_writeback_enable< / b > (void *address)< / td > < / tr >
< tr class = "separator:gab2b6c7dbead6e3a5367fc413d1dff7f7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae9b704cbe15d40268c3a339ce9068120" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gae9b704cbe15d40268c3a339ce9068120" name = "gae9b704cbe15d40268c3a339ce9068120" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_flash_wait_busy< / b > (void)< / td > < / tr >
< tr class = "separator:gae9b704cbe15d40268c3a339ce9068120" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad4b1f6f0b00eae5f92e00ad9bb11a3f7" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "gad4b1f6f0b00eae5f92e00ad9bb11a3f7" name = "gad4b1f6f0b00eae5f92e00ad9bb11a3f7" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_flash_get_erase_block_size< / b > (size_t *erase_block_size)< / td > < / tr >
< tr class = "separator:gad4b1f6f0b00eae5f92e00ad9bb11a3f7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga3f7c9af0ad7160bd03831fcc3ed58e19" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ga3f7c9af0ad7160bd03831fcc3ed58e19" name = "ga3f7c9af0ad7160bd03831fcc3ed58e19" > < / a >
sc64_error_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sc64_flash_erase_block< / b > (void *address)< / td > < / tr >
< tr class = "separator:ga3f7c9af0ad7160bd03831fcc3ed58e19" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
< a name = "structsc64__buffers__t" id = "structsc64__buffers__t" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#structsc64__buffers__t" > ◆   < / a > < / span > sc64_buffers_t< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > struct sc64_buffers_t< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "textblock" > < / div > < table class = "fieldtable" >
< tr > < th colspan = "3" > Data Fields< / th > < / tr >
< tr > < td class = "fieldtype" >
< a id = "ab90d55ba92c5e014210a1338c1d3554c" name = "ab90d55ba92c5e014210a1338c1d3554c" > < / a > uint8_t< / td >
< td class = "fieldname" >
BUFFER[8192]< / td >
< td class = "fielddoc" >
< / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "ab488aa86495351d75eec070636e42f5e" name = "ab488aa86495351d75eec070636e42f5e" > < / a > uint8_t< / td >
< td class = "fieldname" >
EEPROM[2048]< / td >
< td class = "fielddoc" >
< / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "a5f05404fee16aadda6f2a0205e56be76" name = "a5f05404fee16aadda6f2a0205e56be76" > < / a > uint8_t< / td >
< td class = "fieldname" >
DD_SECTOR[256]< / td >
< td class = "fielddoc" >
< / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "a9a0b03e6d0091fe80a5473422c89a05a" name = "a9a0b03e6d0091fe80a5473422c89a05a" > < / a > uint8_t< / td >
< td class = "fieldname" >
FLASHRAM[128]< / td >
< td class = "fielddoc" >
< / td > < / tr >
< / table >
< / div >
< / div >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2023-08-05 02:00:49 +02:00
Generated on Sat Aug 5 2023 00:00:47 for N64FlashcartMenu by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.5
2023-08-05 01:40:16 +02:00
< / small > < / address >
< / body >
< / html >