N64FlashcartMenu/64drive__ll_8h.html
2024-01-10 16:06:35 +00:00

177 lines
12 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: 64drive_ll.h File Reference</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&amp;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&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_abdc04f88b2866c1353f358c089205e4.html">flashcart</a></li><li class="navelem"><a class="el" href="dir_2ac260d472217b65191de9df2a24e86e.html">64drive</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">64drive_ll.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>64drive flashcart low level access
<a href="#details">More...</a></p>
<p><a href="64drive__ll_8h_source.html">Go to the source code of this file.</a></p>
<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:structd64__regs__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__drive.html#structd64__regs__t">d64_regs_t</a></td></tr>
<tr class="memdesc:structd64__regs__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers Structure. <a href="group__drive.html#structd64__regs__t">More...</a><br /></td></tr>
<tr class="separator:structd64__regs__t"><td class="memSeparator" colspan="2">&#160;</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:ga927eac2a576496d8a45d35894af0b7b3"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>D64_REGS_BASE</b>&#160;&#160;&#160;(0x18000000UL)</td></tr>
<tr class="memdesc:ga927eac2a576496d8a45d35894af0b7b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers Base Address. <br /></td></tr>
<tr class="separator:ga927eac2a576496d8a45d35894af0b7b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga020e979e97fb1fae1a0f977a2d6621b3"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>D64_REGS_BASE_EXT</b>&#160;&#160;&#160;(0x1F800000UL)</td></tr>
<tr class="separator:ga020e979e97fb1fae1a0f977a2d6621b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba906b0e1f75b3398b4d69c77bfedaa2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>D64_REGS</b>&#160;&#160;&#160;((<a class="el" href="group__drive.html#structd64__regs__t">d64_regs_t</a> *) <a class="el" href="group__drive.html#ga927eac2a576496d8a45d35894af0b7b3">D64_REGS_BASE</a>)</td></tr>
<tr class="separator:gaba906b0e1f75b3398b4d69c77bfedaa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1569224501b940e89f450eda7399f4d2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>D64_REGS_EXT</b>&#160;&#160;&#160;((<a class="el" href="group__drive.html#structd64__regs__t">d64_regs_t</a> *) D64_REGS_BASE_EXT)</td></tr>
<tr class="separator:ga1569224501b940e89f450eda7399f4d2"><td class="memSeparator" colspan="2">&#160;</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:ga733266b51092a3371356685fbfb92147"><td class="memItemLeft" align="right" valign="top"><a id="ga733266b51092a3371356685fbfb92147" name="ga733266b51092a3371356685fbfb92147"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__drive.html#ga733266b51092a3371356685fbfb92147">d64_device_variant_t</a> { <b>DEVICE_VARIANT_UNKNOWN</b> = 0x0000
, <b>DEVICE_VARIANT_A</b> = 0x4100
, <b>DEVICE_VARIANT_B</b> = 0x4200
}</td></tr>
<tr class="memdesc:ga733266b51092a3371356685fbfb92147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Variant Enumeration. <br /></td></tr>
<tr class="separator:ga733266b51092a3371356685fbfb92147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cf99eecd2a3217e492807788513883b"><td class="memItemLeft" align="right" valign="top"><a id="ga2cf99eecd2a3217e492807788513883b" name="ga2cf99eecd2a3217e492807788513883b"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__drive.html#ga2cf99eecd2a3217e492807788513883b">d64_tv_type_t</a> { <b>TV_TYPE_PAL</b> = 0
, <b>TV_TYPE_NTSC</b> = 1
, <b>TV_TYPE_MPAL</b> = 2
, <b>TV_TYPE_UNKNOWN</b> = 3
}</td></tr>
<tr class="memdesc:ga2cf99eecd2a3217e492807788513883b"><td class="mdescLeft">&#160;</td><td class="mdescRight">TV Type Enumeration. <br /></td></tr>
<tr class="separator:ga2cf99eecd2a3217e492807788513883b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5d8c5ce4d0547470beaf7f385dd21b0"><td class="memItemLeft" align="right" valign="top"><a id="gad5d8c5ce4d0547470beaf7f385dd21b0" name="gad5d8c5ce4d0547470beaf7f385dd21b0"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__drive.html#gad5d8c5ce4d0547470beaf7f385dd21b0">d64_save_type_t</a> { <br />
&#160;&#160;<b>SAVE_TYPE_NONE</b>
, <b>SAVE_TYPE_EEPROM_4K</b>
, <b>SAVE_TYPE_EEPROM_16K</b>
, <b>SAVE_TYPE_SRAM</b>
, <br />
&#160;&#160;<b>SAVE_TYPE_FLASHRAM</b>
, <b>SAVE_TYPE_SRAM_BANKED</b>
, <b>SAVE_TYPE_FLASHRAM_PKST2</b>
<br />
}</td></tr>
<tr class="memdesc:gad5d8c5ce4d0547470beaf7f385dd21b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save Type Enumeration. <br /></td></tr>
<tr class="separator:gad5d8c5ce4d0547470beaf7f385dd21b0"><td class="memSeparator" colspan="2">&#160;</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:gab3f048f7e284be7dc460bb599fd0c09d"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_get_version</b> (<a class="el" href="group__drive.html#ga733266b51092a3371356685fbfb92147">d64_device_variant_t</a> *device_variant, uint16_t *fpga_revision, uint32_t *bootloader_version)</td></tr>
<tr class="separator:gab3f048f7e284be7dc460bb599fd0c09d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac81da34f8b040e3a5d432bd386a95013"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_set_persistent_variable_storage</b> (bool quick_reboot, <a class="el" href="group__drive.html#ga2cf99eecd2a3217e492807788513883b">d64_tv_type_t</a> force_tv_type, uint8_t cic_seed)</td></tr>
<tr class="separator:gac81da34f8b040e3a5d432bd386a95013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga869e080f1efdf6ab29b46983ffb8d37f"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_set_save_type</b> (<a class="el" href="group__drive.html#gad5d8c5ce4d0547470beaf7f385dd21b0">d64_save_type_t</a> save_type)</td></tr>
<tr class="separator:ga869e080f1efdf6ab29b46983ffb8d37f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab46bea56a70f9cde03a2d2bf8afdd051"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_enable_save_writeback</b> (bool enabled)</td></tr>
<tr class="separator:gab46bea56a70f9cde03a2d2bf8afdd051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad00a89f69a20d08b6ccb7d9d6cf44a8b"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_enable_cartrom_writes</b> (bool enabled)</td></tr>
<tr class="separator:gad00a89f69a20d08b6ccb7d9d6cf44a8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d8daaad3d023aff1c84532496af9d54"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_enable_extended_mode</b> (bool enabled)</td></tr>
<tr class="separator:ga2d8daaad3d023aff1c84532496af9d54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafeeebb94609c89806b49d4afc5afc3d1"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_write_eeprom_contents</b> (void *contents)</td></tr>
<tr class="separator:gafeeebb94609c89806b49d4afc5afc3d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58464b350a0ff6402245ed6d62d3f9fc"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>d64_ll_write_save_writeback_lba_list</b> (void *list)</td></tr>
<tr class="separator:ga58464b350a0ff6402245ed6d62d3f9fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >64drive flashcart low level access </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 10 2024 16:06:34 for N64FlashcartMenu by&#160;<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>