mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-12-25 01:31:51 +01:00
267 lines
16 KiB
HTML
267 lines
16 KiB
HTML
<!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:gab7be84b75181fe054592353f012ca6d0"><td class="memItemLeft" align="right" valign="top"><a id="gab7be84b75181fe054592353f012ca6d0" name="gab7be84b75181fe054592353f012ca6d0"></a>enum  </td><td class="memItemRight" valign="bottom"><b>sc64_cfg_id_t</b> { <br />
|
|
  <b>CFG_ID_BOOTLOADER_SWITCH</b>
|
|
, <b>CFG_ID_ROM_WRITE_ENABLE</b>
|
|
, <b>CFG_ID_ROM_SHADOW_ENABLE</b>
|
|
, <b>CFG_ID_DD_MODE</b>
|
|
, <br />
|
|
  <b>CFG_ID_ISV_ADDRESS</b>
|
|
, <b>CFG_ID_BOOT_MODE</b>
|
|
, <b>CFG_ID_SAVE_TYPE</b>
|
|
, <b>CFG_ID_CIC_SEED</b>
|
|
, <br />
|
|
  <b>CFG_ID_TV_TYPE</b>
|
|
, <b>CFG_ID_DD_SD_ENABLE</b>
|
|
, <b>CFG_ID_DD_DRIVE_TYPE</b>
|
|
, <b>CFG_ID_DD_DISK_STATE</b>
|
|
, <br />
|
|
  <b>CFG_ID_BUTTON_STATE</b>
|
|
, <b>CFG_ID_BUTTON_MODE</b>
|
|
, <b>CFG_ID_ROM_EXTENDED_ENABLE</b>
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:gab7be84b75181fe054592353f012ca6d0"><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:ga2513d563c6a2ca2914e5b9d4b1dbecd8"><td class="memItemLeft" align="right" valign="top"><a id="ga2513d563c6a2ca2914e5b9d4b1dbecd8" name="ga2513d563c6a2ca2914e5b9d4b1dbecd8"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>sc64_ll_lock</b> (void)</td></tr>
|
|
<tr class="separator:ga2513d563c6a2ca2914e5b9d4b1dbecd8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1f48899ab5f6030cd4cac064d3aa6ab3"><td class="memItemLeft" align="right" valign="top"><a id="ga1f48899ab5f6030cd4cac064d3aa6ab3" name="ga1f48899ab5f6030cd4cac064d3aa6ab3"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_get_version</b> (uint16_t *major, uint16_t *minor, uint32_t *revision)</td></tr>
|
|
<tr class="separator:ga1f48899ab5f6030cd4cac064d3aa6ab3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga183b844a2f8e455e55d23760cc9acb6d"><td class="memItemLeft" align="right" valign="top"><a id="ga183b844a2f8e455e55d23760cc9acb6d" name="ga183b844a2f8e455e55d23760cc9acb6d"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_get_config</b> (sc64_cfg_id_t cfg, uint32_t *value)</td></tr>
|
|
<tr class="separator:ga183b844a2f8e455e55d23760cc9acb6d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf917620b1dece7ad0d76f0784a49155e"><td class="memItemLeft" align="right" valign="top"><a id="gaf917620b1dece7ad0d76f0784a49155e" name="gaf917620b1dece7ad0d76f0784a49155e"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_set_config</b> (sc64_cfg_id_t cfg, uint32_t value)</td></tr>
|
|
<tr class="separator:gaf917620b1dece7ad0d76f0784a49155e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0ad9cabd1f51bd126706beccfe38eef2"><td class="memItemLeft" align="right" valign="top"><a id="ga0ad9cabd1f51bd126706beccfe38eef2" name="ga0ad9cabd1f51bd126706beccfe38eef2"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_writeback_pending</b> (bool *pending)</td></tr>
|
|
<tr class="separator:ga0ad9cabd1f51bd126706beccfe38eef2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5b53fdc17c5085c537d69d3a5634dfd8"><td class="memItemLeft" align="right" valign="top"><a id="ga5b53fdc17c5085c537d69d3a5634dfd8" name="ga5b53fdc17c5085c537d69d3a5634dfd8"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_writeback_enable</b> (void *address)</td></tr>
|
|
<tr class="separator:ga5b53fdc17c5085c537d69d3a5634dfd8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga29696f62aa79398918d47ddb4be561b4"><td class="memItemLeft" align="right" valign="top"><a id="ga29696f62aa79398918d47ddb4be561b4" name="ga29696f62aa79398918d47ddb4be561b4"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_flash_wait_busy</b> (void)</td></tr>
|
|
<tr class="separator:ga29696f62aa79398918d47ddb4be561b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad3067d455aa53169a8827bcf0b12d46f"><td class="memItemLeft" align="right" valign="top"><a id="gad3067d455aa53169a8827bcf0b12d46f" name="gad3067d455aa53169a8827bcf0b12d46f"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_flash_get_erase_block_size</b> (size_t *erase_block_size)</td></tr>
|
|
<tr class="separator:gad3067d455aa53169a8827bcf0b12d46f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaedbe9352c3c96cb1d2feca0863142704"><td class="memItemLeft" align="right" valign="top"><a id="gaedbe9352c3c96cb1d2feca0863142704" name="gaedbe9352c3c96cb1d2feca0863142704"></a>
|
|
sc64_error_t </td><td class="memItemRight" valign="bottom"><b>sc64_ll_flash_erase_block</b> (void *address)</td></tr>
|
|
<tr class="separator:gaedbe9352c3c96cb1d2feca0863142704"><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>
|
|
Generated on Sat Aug 12 2023 19:11:50 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
|
|
</small></address>
|
|
</body>
|
|
</html>
|