cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

gb_2hardware_8h_source.html (116114B)


      1<!-- HTML header for doxygen 1.8.14-->
      2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      3<html xmlns="http://www.w3.org/1999/xhtml">
      4<head>
      5<meta http-equiv="cache-control" content="max-age=86400"/>
      6<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
      7<meta http-equiv="X-UA-Compatible" content="IE=9"/>
      8<meta name="generator" content="Doxygen 1.8.20"/>
      9<meta name="viewport" content="width=device-width, initial-scale=1"/>
     10<title>GBDK 2020 Docs: gb/hardware.h Source File</title>
     11<link href="tabs.css" rel="stylesheet" type="text/css"/>
     12<script type="text/javascript" src="jquery.js"></script>
     13<script type="text/javascript" src="dynsections.js"></script>
     14<link href="navtree.css" rel="stylesheet" type="text/css"/>
     15<script type="text/javascript" src="resize.js"></script>
     16<script type="text/javascript" src="navtreedata.js"></script>
     17<script type="text/javascript" src="navtree.js"></script>
     18<link href="search/search.css" rel="stylesheet" type="text/css"/>
     19<script type="text/javascript" src="search/searchdata.js"></script>
     20<script type="text/javascript" src="search/search.js"></script>
     21<link href="doxygen.css" rel="stylesheet" type="text/css" />
     22<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
     23</head>
     24<body>
     25<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
     26<div id="titlearea">
     27<table cellspacing="0" cellpadding="0">
     28 <tbody>
     29 <tr style="height: 56px;">
     30  <td id="projectalign" style="padding-left: 0.5em;">
     31   <div id="projectname">GBDK 2020 Docs
     32   &#160;<span id="projectnumber">4.0.6</span>
     33   </div>
     34   <div id="projectbrief">API Documentation for GBDK 2020</div>
     35  </td>
     36 </tr>
     37 </tbody>
     38</table>
     39</div>
     40<!-- end header part -->
     41<!-- Generated by Doxygen 1.8.20 -->
     42<script type="text/javascript">
     43/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     44var searchBox = new SearchBox("searchBox", "search",false,'Search');
     45/* @license-end */
     46</script>
     47<script type="text/javascript" src="menudata.js"></script>
     48<script type="text/javascript" src="menu.js"></script>
     49<script type="text/javascript">
     50/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     51$(function() {
     52  initMenu('',true,false,'search.php','Search');
     53  $(document).ready(function() { init_search(); });
     54});
     55/* @license-end */</script>
     56<div id="main-nav"></div>
     57</div><!-- top -->
     58<div id="side-nav" class="ui-resizable side-nav-resizable">
     59  <div id="nav-tree">
     60    <div id="nav-tree-contents">
     61      <div id="nav-sync" class="sync"></div>
     62    </div>
     63  </div>
     64  <div id="splitbar" style="-moz-user-select:none;" 
     65       class="ui-resizable-handle">
     66  </div>
     67</div>
     68<script type="text/javascript">
     69/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     70$(document).ready(function(){initNavTree('gb_2hardware_8h_source.html',''); initResizable(); });
     71/* @license-end */
     72</script>
     73<div id="doc-content">
     74<!-- window showing the filter options -->
     75<div id="MSearchSelectWindow"
     76     onmouseover="return searchBox.OnSearchSelectShow()"
     77     onmouseout="return searchBox.OnSearchSelectHide()"
     78     onkeydown="return searchBox.OnSearchSelectKey(event)">
     79</div>
     80
     81<!-- iframe showing the search results (closed by default) -->
     82<div id="MSearchResultsWindow">
     83<iframe src="javascript:void(0)" frameborder="0" 
     84        name="MSearchResults" id="MSearchResults">
     85</iframe>
     86</div>
     87
     88<div class="header">
     89  <div class="headertitle">
     90<div class="title">hardware.h</div>  </div>
     91</div><!--header-->
     92<div class="contents">
     93<a href="gb_2hardware_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
     94<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef _HARDWARE_H</span></div>
     95<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define _HARDWARE_H</span></div>
     96<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
     97<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;types.h&gt;</span></div>
     98<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
     99<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">   12</a></span>&#160;<span class="preprocessor">#define __BYTES extern UBYTE</span></div>
    100<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">   13</a></span>&#160;<span class="preprocessor">#define __BYTE_REG extern volatile UBYTE</span></div>
    101<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">   14</a></span>&#160;<span class="preprocessor">#define __REG extern volatile SFR</span></div>
    102<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
    103<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aea9200b29be90b58417787720cdf750b">   18</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#aea9200b29be90b58417787720cdf750b">_VRAM</a>[];</div>
    104<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a73c94166161c33c61d63b3e4b5209cd0">   19</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a73c94166161c33c61d63b3e4b5209cd0">_VRAM8000</a>[];</div>
    105<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af763563b6123ef29d73931f616969049">   20</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#af763563b6123ef29d73931f616969049">_VRAM8800</a>[];</div>
    106<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a668fd555c203361f5e4b835f05243102">   21</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a668fd555c203361f5e4b835f05243102">_VRAM9000</a>[];</div>
    107<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac5b9d1761bb972948fe10637dfaa94a7">   22</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#ac5b9d1761bb972948fe10637dfaa94a7">_SCRN0</a>[];</div>
    108<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afff31f511127bf7ba1bd3b6bc740aee8">   23</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#afff31f511127bf7ba1bd3b6bc740aee8">_SCRN1</a>[];</div>
    109<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a09a4ae65605182c8b694197d3aea695e">   24</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a09a4ae65605182c8b694197d3aea695e">_SRAM</a>[];</div>
    110<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1cf31cae6046360271ead6e8b7a6e87">   25</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#ac1cf31cae6046360271ead6e8b7a6e87">_RAM</a>[];</div>
    111<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2f83a5f5daa6418c77756e32923aef5a">   26</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a2f83a5f5daa6418c77756e32923aef5a">_RAMBANK</a>[];</div>
    112<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7030908728e166877fba9065671deb02">   27</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a7030908728e166877fba9065671deb02">_OAMRAM</a>[];</div>
    113<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a134e3f274c1e607b8c5ff5724860e288">   28</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a134e3f274c1e607b8c5ff5724860e288">_IO</a>[];</div>
    114<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a70db64bdd045a9df09b289fe9b28af22">   29</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a70db64bdd045a9df09b289fe9b28af22">_AUD3WAVERAM</a>[];</div>
    115<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a472e3b0909a2f0878f643e9968b871ef">   30</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a472e3b0909a2f0878f643e9968b871ef">_HRAM</a>[];</div>
    116<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
    117<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a64dd59016e4f0e78672962fbc553a4b4">   34</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a64dd59016e4f0e78672962fbc553a4b4">rRAMG</a>;</div>
    118<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae0976a29e341edc6ceb810e6eb0328f1">   35</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#ae0976a29e341edc6ceb810e6eb0328f1">rROMB0</a>;</div>
    119<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a014f3a9d7ce8f8026c9ac6c0410bb099">   36</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a014f3a9d7ce8f8026c9ac6c0410bb099">rROMB1</a>;</div>
    120<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac2985dbccb16c4c00381d6fbe9600aff">   37</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#ac2985dbccb16c4c00381d6fbe9600aff">rRAMB</a>;</div>
    121<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
    122<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a04f9a36ab04334fcd21d2f50c125d5d0">   41</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a04f9a36ab04334fcd21d2f50c125d5d0">P1_REG</a>;           </div>
    123<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae7eccdbd4f7b211074591866f515b760">   42</a></span>&#160;<span class="preprocessor">#define rP1 P1_REG</span></div>
    124<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
    125<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6963ef598339e1163d30e57a962e5278">   44</a></span>&#160;<span class="preprocessor">#define P1F_5 0b00100000</span></div>
    126<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad215dbfc83c9486ead2f28510366f40b">   45</a></span>&#160;<span class="preprocessor">#define P1F_4 0b00010000</span></div>
    127<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae8e325a01af1c20935a0c73ea6465a0e">   46</a></span>&#160;<span class="preprocessor">#define P1F_3 0b00001000</span></div>
    128<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af59d0dd661ea73965101294d30111385">   47</a></span>&#160;<span class="preprocessor">#define P1F_2 0b00000100</span></div>
    129<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aad20c4bf5115b40c9118a484808f4b92">   48</a></span>&#160;<span class="preprocessor">#define P1F_1 0b00000010</span></div>
    130<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aedf8627c42ccf0aad5025ef629f4395a">   49</a></span>&#160;<span class="preprocessor">#define P1F_0 0b00000001</span></div>
    131<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
    132<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aeaabebe6a36d9e59a01dfceceb7b37d0">   51</a></span>&#160;<span class="preprocessor">#define P1F_GET_DPAD P1F_5</span></div>
    133<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a750bc82ab34a8929a5bba10f2336abe6">   52</a></span>&#160;<span class="preprocessor">#define P1F_GET_BTN  P1F_4</span></div>
    134<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5c97ffb0ee0a345ad31797da26410b5a">   53</a></span>&#160;<span class="preprocessor">#define P1F_GET_NONE (P1F_4 | P1F_5)</span></div>
    135<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
    136<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5f2da0d8200f44b6fd694c4a2bea820e">   55</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a5f2da0d8200f44b6fd694c4a2bea820e">SB_REG</a>;           </div>
    137<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af35c8012bca7a164f0910d55cdf6030f">   56</a></span>&#160;<span class="preprocessor">#define rSB SB_REG</span></div>
    138<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0fb715973ee3edd1b525eb7f503e3b2a">   57</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a0fb715973ee3edd1b525eb7f503e3b2a">SC_REG</a>;           </div>
    139<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7780d3a9b0fcc42499ed2451d7ab2ec5">   58</a></span>&#160;<span class="preprocessor">#define rSC SC_REG</span></div>
    140<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afa1e18e47bf68ce68d7807fff6edf16b">   59</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#afa1e18e47bf68ce68d7807fff6edf16b">DIV_REG</a>;          </div>
    141<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a12ba1f984c585c57163f214f8829d569">   60</a></span>&#160;<span class="preprocessor">#define rDIV DIV_REG</span></div>
    142<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9d295bb437953de5ebcb3c12d65743aa">   61</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a9d295bb437953de5ebcb3c12d65743aa">TIMA_REG</a>;         </div>
    143<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a51594891b388d60d6917a6ff64542b66">   62</a></span>&#160;<span class="preprocessor">#define rTIMA TIMA_REG</span></div>
    144<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a39e5a5b9afd2c2ca78de4aba7ccd071c">   63</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a39e5a5b9afd2c2ca78de4aba7ccd071c">TMA_REG</a>;          </div>
    145<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a588d681dc33d9da3a899863b42980e18">   64</a></span>&#160;<span class="preprocessor">#define rTMA TMA_REG</span></div>
    146<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a659173ac2c8da7fd04bc77973eb95256">   65</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a659173ac2c8da7fd04bc77973eb95256">TAC_REG</a>;          </div>
    147<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aeddc90947f6a6a3a3fd1e1db3751c988">   66</a></span>&#160;<span class="preprocessor">#define rTAC TAC_REG</span></div>
    148<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
    149<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a07863a535e0aaa11b73608d7430dbc0a">   68</a></span>&#160;<span class="preprocessor">#define TACF_START  0b00000100</span></div>
    150<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9179fd1ba4626627567b9478f691e653">   69</a></span>&#160;<span class="preprocessor">#define TACF_STOP   0b00000000</span></div>
    151<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a19dce313b521aad75756abfc19bc9e78">   70</a></span>&#160;<span class="preprocessor">#define TACF_4KHZ   0b00000000</span></div>
    152<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7d2c165347d3bb3e3a54fad73e1f363e">   71</a></span>&#160;<span class="preprocessor">#define TACF_16KHZ  0b00000011</span></div>
    153<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8be2b577af91deed7b8946b500e73319">   72</a></span>&#160;<span class="preprocessor">#define TACF_65KHZ  0b00000010</span></div>
    154<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac00b1e90d257b756845da578f4c3f3ba">   73</a></span>&#160;<span class="preprocessor">#define TACF_262KHZ 0b00000001</span></div>
    155<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
    156<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a72a900117cdee0fbec10a278d9de0876">   75</a></span>&#160;<span class="preprocessor">#define SIOF_CLOCK_EXT  0b00000000 </span></div>
    157<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a55ab8a9eb853e9bcfd72a2bf7e2c524b">   76</a></span>&#160;<span class="preprocessor">#define SIOF_CLOCK_INT  0b00000001 </span></div>
    158<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae9c948fad514ac440b7c6cc037384ec2">   77</a></span>&#160;<span class="preprocessor">#define SIOF_SPEED_1X   0b00000000 </span></div>
    159<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a44f550e55e7154388748e7c330929c63">   78</a></span>&#160;<span class="preprocessor">#define SIOF_SPEED_32X  0b00000010 </span></div>
    160<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a21a6e935e8a3ac591905429874ccbe84">   79</a></span>&#160;<span class="preprocessor">#define SIOF_XFER_START 0b10000000 </span></div>
    161<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a19b35b0b21101a2782ce5bde4125db04">   80</a></span>&#160;<span class="preprocessor">#define SIOF_B_CLOCK      0</span></div>
    162<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a32b7b11b2ca90ffb52ce19e7279ea973">   81</a></span>&#160;<span class="preprocessor">#define SIOF_B_SPEED      1</span></div>
    163<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a03aaffc30c9ff81d86502c1f6b3dbaea">   82</a></span>&#160;<span class="preprocessor">#define SIOF_B_XFER_START 7</span></div>
    164<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
    165<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a509a5d0f138b40830cb447a862573be5">   84</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a509a5d0f138b40830cb447a862573be5">IF_REG</a>;           </div>
    166<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9534175911f7a54fa550318b275c4cc3">   85</a></span>&#160;<span class="preprocessor">#define rIF IF_REG</span></div>
    167<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
    168<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad859dc62b1df1584ade0cbb822a3e46f">   87</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ad859dc62b1df1584ade0cbb822a3e46f">NR10_REG</a>;         </div>
    169<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4a73d9c15883b576fa0a5b4cc4ac2d08">   88</a></span>&#160;<span class="preprocessor">#define rAUD1SWEEP NR10_REG</span></div>
    170<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa8b5c841c97ae090724a910040f8dd2d">   89</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_UP        0b00000000</span></div>
    171<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a281569182e3edb53b7c78b95a4082971">   90</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_DOWN      0b00001000</span></div>
    172<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac4cbf03d9c2d64cddaf348e003780cf8">   91</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_TIME(x)   ((x) &lt;&lt; 4)</span></div>
    173<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaed4a07f441ddeecae520e76eb7b7e27">   92</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_LENGTH(x) (x)</span></div>
    174<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad53dc7f22b99fce195210a95f2749a72">   93</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ad53dc7f22b99fce195210a95f2749a72">NR11_REG</a>;         </div>
    175<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaeb899eb6bd0593ffb4e90a2f762b18f">   94</a></span>&#160;<span class="preprocessor">#define rAUD1LEN NR11_REG</span></div>
    176<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7accf5feabd95a2d84c72f5915fff837">   95</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a7accf5feabd95a2d84c72f5915fff837">NR12_REG</a>;         </div>
    177<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae787a2c857fe8f3803ca353d5309fc85">   96</a></span>&#160;<span class="preprocessor">#define rAUD1ENV NR12_REG</span></div>
    178<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3d30d4797321b403cd713d727fa3db6c">   97</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a3d30d4797321b403cd713d727fa3db6c">NR13_REG</a>;         </div>
    179<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abb35a844f228403a96e28da7633344e1">   98</a></span>&#160;<span class="preprocessor">#define rAUD1LOW NR13_REG</span></div>
    180<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a04c340d91842e8ee2b93922c2bcf39a4">   99</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a04c340d91842e8ee2b93922c2bcf39a4">NR14_REG</a>;         </div>
    181<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab042aa7a7fae75f94d8fb3e08004c797">  100</a></span>&#160;<span class="preprocessor">#define rAUD1HIGH NR14_REG</span></div>
    182<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
    183<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6dd3af1c8e3c66409aa0bc889d98e171">  102</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a6dd3af1c8e3c66409aa0bc889d98e171">NR21_REG</a>;         </div>
    184<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a12f01b21d08249800571c6e0f26beeae">  103</a></span>&#160;<span class="preprocessor">#define rAUD2LEN NR21_REG</span></div>
    185<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af1301c73bf93350045ba3a4887723ae8">  104</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#af1301c73bf93350045ba3a4887723ae8">NR22_REG</a>;         </div>
    186<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abf3efd42adced218237283156dbae055">  105</a></span>&#160;<span class="preprocessor">#define rAUD2ENV NR22_REG</span></div>
    187<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7bb32ac86e3fbf5f869410ba42620616">  106</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a7bb32ac86e3fbf5f869410ba42620616">NR23_REG</a>;         </div>
    188<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a521466a7650d60b464991ebf68112114">  107</a></span>&#160;<span class="preprocessor">#define rAUD2LOW NR23_REG</span></div>
    189<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6676e579a5e421adfb3d3e2d470d9ab6">  108</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a6676e579a5e421adfb3d3e2d470d9ab6">NR24_REG</a>;         </div>
    190<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afc3684b8215221942a0cddc5960cf8a9">  109</a></span>&#160;<span class="preprocessor">#define rAUD2HIGH NR24_REG</span></div>
    191<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
    192<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a85d8e680d4d40a918b4195d2a4fada2a">  111</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a85d8e680d4d40a918b4195d2a4fada2a">NR30_REG</a>;         </div>
    193<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13e230a0d2979e0b9ca9582f6010162b">  112</a></span>&#160;<span class="preprocessor">#define rAUD3ENA NR30_REG</span></div>
    194<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aea78f857e34370d7e1177a8bafe08148">  113</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aea78f857e34370d7e1177a8bafe08148">NR31_REG</a>;         </div>
    195<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae168529ead90f90c28f75d57ba4d28e2">  114</a></span>&#160;<span class="preprocessor">#define rAUD3LEN NR31_REG</span></div>
    196<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a244ee6d8f6144be9b0f94602eddb6239">  115</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a244ee6d8f6144be9b0f94602eddb6239">NR32_REG</a>;         </div>
    197<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a298bccebea918c63aed36c811e02333d">  116</a></span>&#160;<span class="preprocessor">#define rAUD3LEVEL NR32_REG</span></div>
    198<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a01c768b60853c8eecdefc2cedfc8d672">  117</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a01c768b60853c8eecdefc2cedfc8d672">NR33_REG</a>;         </div>
    199<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a31d1d4441749e90c2895fc8750b2234c">  118</a></span>&#160;<span class="preprocessor">#define rAUD3LOW NR33_REG</span></div>
    200<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab6da3e2cdbac1331bef3f6de9c808ab1">  119</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ab6da3e2cdbac1331bef3f6de9c808ab1">NR34_REG</a>;         </div>
    201<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#acd0b3763f8599ed65e2d060b159bd91c">  120</a></span>&#160;<span class="preprocessor">#define rAUD3HIGH NR34_REG</span></div>
    202<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
    203<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a557833cc1671aa0bd71f33766b4e0f24">  122</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a557833cc1671aa0bd71f33766b4e0f24">NR41_REG</a>;         </div>
    204<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abd820b2f5c18efb43548f64862d38f05">  123</a></span>&#160;<span class="preprocessor">#define rAUD4LEN NR41_REG</span></div>
    205<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aba3d9fb63552bc02ec879696b581adac">  124</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aba3d9fb63552bc02ec879696b581adac">NR42_REG</a>;         </div>
    206<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abba6cc1819ea73d36a389fd99807dac5">  125</a></span>&#160;<span class="preprocessor">#define rAUD4ENV NR42_REG</span></div>
    207<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a52593a64863d51fbf5860b0d31448972">  126</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a52593a64863d51fbf5860b0d31448972">NR43_REG</a>;         </div>
    208<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae21217e822a66e77c15a4df4fa0cf1e9">  127</a></span>&#160;<span class="preprocessor">#define rAUD4POLY NR43_REG</span></div>
    209<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1bfe644bf343abd66c790c2758e7c0bb">  128</a></span>&#160;<span class="preprocessor">#define AUD4POLY_WIDTH_15BIT 0x00</span></div>
    210<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9120d2c7cd8800e302e76f525d332d6c">  129</a></span>&#160;<span class="preprocessor">#define AUD4POLY_WIDTH_7BIT  0x08</span></div>
    211<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a849d2cff8df2655f86b294466bec40d6">  130</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a849d2cff8df2655f86b294466bec40d6">NR44_REG</a>;         </div>
    212<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8492c6d9cb38fbb4a2bf9f5caa426578">  131</a></span>&#160;<span class="preprocessor">#define rAUD4GO NR44_REG</span></div>
    213<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
    214<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a924fdf48f6ad020423f6309055314928">  133</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a924fdf48f6ad020423f6309055314928">NR50_REG</a>;         </div>
    215<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a534fa3f905e37ac434537af23847d89a">  134</a></span>&#160;<span class="preprocessor">#define rAUDVOL NR50_REG</span></div>
    216<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
    217<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0dc3f482441d4e13828aebdf396c3be9">  136</a></span>&#160;<span class="preprocessor">#define AUDVOL_VOL_LEFT(x)  ((x) &lt;&lt; 4)</span></div>
    218<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aabac77131d22297a246a3cfb0e443605">  137</a></span>&#160;<span class="preprocessor">#define AUDVOL_VOL_RIGHT(x) ((x))</span></div>
    219<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8cb754b63b073abf30af3fd6f0052832">  138</a></span>&#160;<span class="preprocessor">#define AUDVOL_VIN_LEFT         0b10000000</span></div>
    220<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa257f1e89f6782714cbc76ffc71d0fe7">  139</a></span>&#160;<span class="preprocessor">#define AUDVOL_VIN_RIGHT        0b00001000</span></div>
    221<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
    222<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab28f97eabd5f32d48ea27d97bd5dc64f">  141</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ab28f97eabd5f32d48ea27d97bd5dc64f">NR51_REG</a>;         </div>
    223<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad2891216d025f44b02350f2ae2612b1e">  142</a></span>&#160;<span class="preprocessor">#define rAUDTERM NR51_REG</span></div>
    224<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
    225<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af9a0eee23057665604c258abc667939d">  144</a></span>&#160;<span class="preprocessor">#define AUDTERM_4_LEFT  0b10000000</span></div>
    226<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1470febab4adcff88b31a465d480f72">  145</a></span>&#160;<span class="preprocessor">#define AUDTERM_3_LEFT  0b01000000</span></div>
    227<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a309d26015522c2de1cff39ba6e6e6a04">  146</a></span>&#160;<span class="preprocessor">#define AUDTERM_2_LEFT  0b00100000</span></div>
    228<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aad3ccece4257429e82186f7b4d72b220">  147</a></span>&#160;<span class="preprocessor">#define AUDTERM_1_LEFT  0b00010000</span></div>
    229<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2ba607e94d30ae8eeb1933c9dabbf68d">  148</a></span>&#160;<span class="preprocessor">#define AUDTERM_4_RIGHT 0b00001000</span></div>
    230<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#adc74cebc6671c48bd502667f21d24da4">  149</a></span>&#160;<span class="preprocessor">#define AUDTERM_3_RIGHT 0b00000100</span></div>
    231<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6fb64712b06118cad702691f2aa18cd4">  150</a></span>&#160;<span class="preprocessor">#define AUDTERM_2_RIGHT 0b00000010</span></div>
    232<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa3cdccfb4b6b42cdee682bdb6e4fc310">  151</a></span>&#160;<span class="preprocessor">#define AUDTERM_1_RIGHT 0b00000001</span></div>
    233<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160; </div>
    234<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac429365dce851ca57d8fe4f7c54a1caa">  153</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ac429365dce851ca57d8fe4f7c54a1caa">NR52_REG</a>;         </div>
    235<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a627044263543a1074dc9f4570aa8c915">  154</a></span>&#160;<span class="preprocessor">#define rAUDENA NR52_REG</span></div>
    236<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
    237<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7bbcf10e7a2b69127cd2f9e598bf601f">  156</a></span>&#160;<span class="preprocessor">#define AUDENA_ON    0b10000000</span></div>
    238<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1b424d8f8a7438d19261401a843263d2">  157</a></span>&#160;<span class="preprocessor">#define AUDENA_OFF   0b00000000</span></div>
    239<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
    240<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2fe41a6e0abb211cc00a8fca90543966">  159</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a2fe41a6e0abb211cc00a8fca90543966">AUD3WAVE</a>[16];</div>
    241<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a271367a0bf840e5422b3a7ed541776f8">  160</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a271367a0bf840e5422b3a7ed541776f8">PCM_SAMPLE</a>[16];</div>
    242<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
    243<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6515fdfaa50eeb7e63faeea54f77cd6b">  162</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a6515fdfaa50eeb7e63faeea54f77cd6b">LCDC_REG</a>;         </div>
    244<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8b576a1fe1473ac4aff8afecb28035cb">  163</a></span>&#160;<span class="preprocessor">#define rLCDC LCDC_REG</span></div>
    245<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
    246<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#if defined(__TARGET_ap)</span></div>
    247<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#define LCDCF_OFF       0b00000000</span></div>
    248<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#define LCDCF_ON        0b00000001</span></div>
    249<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">#define LCDCF_WIN9800   0b00000000</span></div>
    250<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">#define LCDCF_WIN9C00   0b00000010</span></div>
    251<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">#define LCDCF_WINOFF    0b00000000</span></div>
    252<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#define LCDCF_WINON     0b00000100</span></div>
    253<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">#define LCDCF_BG8800    0b00000000</span></div>
    254<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">#define LCDCF_BG8000    0b00001000</span></div>
    255<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">#define LCDCF_BG9800    0b00000000</span></div>
    256<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">#define LCDCF_BG9C00    0b00010000</span></div>
    257<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">#define LCDCF_OBJ8      0b00000000</span></div>
    258<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">#define LCDCF_OBJ16     0b00100000</span></div>
    259<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">#define LCDCF_OBJOFF    0b00000000</span></div>
    260<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">#define LCDCF_OBJON     0b01000000</span></div>
    261<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor">#define LCDCF_BGOFF     0b00000000</span></div>
    262<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="preprocessor">#define LCDCF_BGON      0b10000000</span></div>
    263<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">#define LCDCF_B_ON      0</span></div>
    264<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#define LCDCF_B_WIN9C00 1</span></div>
    265<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">#define LCDCF_B_WINON   2</span></div>
    266<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#define LCDCF_B_BG8000  3</span></div>
    267<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#define LCDCF_B_BG9C00  4</span></div>
    268<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJ16   5</span></div>
    269<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJON   6</span></div>
    270<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">#define LCDCF_B_BGON    7</span></div>
    271<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor">#elif defined(__TARGET_duck)</span></div>
    272<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#define LCDCF_OFF       0b00000000</span></div>
    273<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">#define LCDCF_ON        0b10000000</span></div>
    274<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#define LCDCF_WIN9800   0b00000000</span></div>
    275<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#define LCDCF_WIN9C00   0b00001000</span></div>
    276<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="preprocessor">#define LCDCF_WINOFF    0b00000000</span></div>
    277<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="preprocessor">#define LCDCF_WINON     0b00100000</span></div>
    278<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="preprocessor">#define LCDCF_BG8800    0b00000000</span></div>
    279<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="preprocessor">#define LCDCF_BG8000    0b00010000</span></div>
    280<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">#define LCDCF_BG9800    0b00000000</span></div>
    281<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="preprocessor">#define LCDCF_BG9C00    0b00000100</span></div>
    282<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">#define LCDCF_OBJ8      0b00000000</span></div>
    283<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="preprocessor">#define LCDCF_OBJ16     0b00000010</span></div>
    284<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">#define LCDCF_OBJOFF    0b00000000</span></div>
    285<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="preprocessor">#define LCDCF_OBJON     0b00000001</span></div>
    286<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor">#define LCDCF_BGOFF     0b00000000</span></div>
    287<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">#define LCDCF_BGON      0b01000000</span></div>
    288<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="preprocessor">#define LCDCF_B_ON      7</span></div>
    289<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">#define LCDCF_B_WIN9C00 3</span></div>
    290<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="preprocessor">#define LCDCF_B_WINON   5</span></div>
    291<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor">#define LCDCF_B_BG8000  4</span></div>
    292<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="preprocessor">#define LCDCF_B_BG9C00  2</span></div>
    293<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJ16   1</span></div>
    294<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJON   0</span></div>
    295<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="preprocessor">#define LCDCF_B_BGON    6</span></div>
    296<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="preprocessor">#else</span></div>
    297<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae9de9f58318f113afbc955986a502692">  216</a></span>&#160;<span class="preprocessor">#define LCDCF_OFF       0b00000000 </span></div>
    298<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1491fc03ed7f02e7309cc7b0c48b6c8a">  217</a></span>&#160;<span class="preprocessor">#define LCDCF_ON        0b10000000 </span></div>
    299<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a178a111ffe8eb38a2875fcaf3bfeba3f">  218</a></span>&#160;<span class="preprocessor">#define LCDCF_WIN9800   0b00000000 </span></div>
    300<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9d555b0c19019150db73ca245ca62a78">  219</a></span>&#160;<span class="preprocessor">#define LCDCF_WIN9C00   0b01000000 </span></div>
    301<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a582ece3b5f6cc49d47b2ad3e16d47374">  220</a></span>&#160;<span class="preprocessor">#define LCDCF_WINOFF    0b00000000 </span></div>
    302<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13a5f08b9aae68f8fa57a8aa7705b732">  221</a></span>&#160;<span class="preprocessor">#define LCDCF_WINON     0b00100000 </span></div>
    303<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a69a43daf29c680b3ab0fbcad3118cd48">  222</a></span>&#160;<span class="preprocessor">#define LCDCF_BG8800    0b00000000 </span></div>
    304<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a731588b96fb8cdbeb7e68c089373e6f8">  223</a></span>&#160;<span class="preprocessor">#define LCDCF_BG8000    0b00010000 </span></div>
    305<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae4e03124190c7f96586b75cb4470a210">  224</a></span>&#160;<span class="preprocessor">#define LCDCF_BG9800    0b00000000 </span></div>
    306<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2e2a68c3274055a06cf38d00f007d4bf">  225</a></span>&#160;<span class="preprocessor">#define LCDCF_BG9C00    0b00001000 </span></div>
    307<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1452fbc14f59076347c4cd4864fbeb51">  226</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJ8      0b00000000 </span></div>
    308<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a14eddd3d53d8e649f1754bd455b4863d">  227</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJ16     0b00000100 </span></div>
    309<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af14334f65debf6ee02cc21b58729cfde">  228</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJOFF    0b00000000 </span></div>
    310<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6aef42158c90e8025b8341cdea2e3918">  229</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJON     0b00000010 </span></div>
    311<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa8027f47983459c377169f57987b710c">  230</a></span>&#160;<span class="preprocessor">#define LCDCF_BGOFF     0b00000000 </span></div>
    312<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a97ab19d938f05bffbcb4221824c3bfce">  231</a></span>&#160;<span class="preprocessor">#define LCDCF_BGON      0b00000001 </span></div>
    313<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac112618942cb4719def91693616baaff">  232</a></span>&#160;<span class="preprocessor">#define LCDCF_B_ON      7          </span></div>
    314<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac826fdb70a043ebb8f1b317b00db6ff3">  233</a></span>&#160;<span class="preprocessor">#define LCDCF_B_WIN9C00 6          </span></div>
    315<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae1de721c95ddc8f29ba9b9deaee8d68c">  234</a></span>&#160;<span class="preprocessor">#define LCDCF_B_WINON   5          </span></div>
    316<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa336ca1c8bd29763222fc011a6272bdf">  235</a></span>&#160;<span class="preprocessor">#define LCDCF_B_BG8000  4          </span></div>
    317<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4889bb882e956665069212c4c8aa623b">  236</a></span>&#160;<span class="preprocessor">#define LCDCF_B_BG9C00  3          </span></div>
    318<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa8f5bcd5073aae5948a9647dcb76f779">  237</a></span>&#160;<span class="preprocessor">#define LCDCF_B_OBJ16   2          </span></div>
    319<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6f6852d0f1d295b03e1230d5d97cb3e9">  238</a></span>&#160;<span class="preprocessor">#define LCDCF_B_OBJON   1          </span></div>
    320<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa1f66868f63af2af6544e84122de3cc3">  239</a></span>&#160;<span class="preprocessor">#define LCDCF_B_BGON    0          </span></div>
    321<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="preprocessor">#endif</span></div>
    322<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
    323<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad40ebf3b29add46cdd310a7e0802bc6b">  242</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ad40ebf3b29add46cdd310a7e0802bc6b">STAT_REG</a>;         </div>
    324<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a338ec378453b4457efdb3008978c0f28">  243</a></span>&#160;<span class="preprocessor">#define rSTAT STAT_REG</span></div>
    325<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
    326<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="preprocessor">#if defined(__TARGET_ap)</span></div>
    327<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="preprocessor">#define STATF_LYC       0b00000010</span></div>
    328<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="preprocessor">#define STATF_MODE10    0b00000100</span></div>
    329<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="preprocessor">#define STATF_MODE01    0b00001000</span></div>
    330<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="preprocessor">#define STATF_MODE00    0b00010000</span></div>
    331<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="preprocessor">#define STATF_LYCF      0b00100000</span></div>
    332<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="preprocessor">#define STATF_HBL       0b00000000</span></div>
    333<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="preprocessor">#define STATF_VBL       0b10000000</span></div>
    334<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="preprocessor">#define STATF_OAM       0b01000000</span></div>
    335<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor">#define STATF_LCD       0b11000000</span></div>
    336<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="preprocessor">#define STATF_BUSY      0b01000000</span></div>
    337<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="preprocessor">#define STATF_B_LYC     1</span></div>
    338<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="preprocessor">#define STATF_B_MODE10  2</span></div>
    339<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="preprocessor">#define STATF_B_MODE01  3</span></div>
    340<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="preprocessor">#define STATF_B_MODE00  4</span></div>
    341<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="preprocessor">#define STATF_B_LYCF    5</span></div>
    342<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor">#define STATF_B_VBL     7</span></div>
    343<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="preprocessor">#define STATF_B_OAM     6</span></div>
    344<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor">#define STATF_B_BUSY    6</span></div>
    345<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">#else</span></div>
    346<div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b53105cc5be896b48794ba82d2aeb4c">  265</a></span>&#160;<span class="preprocessor">#define STATF_LYC     0b01000000  </span></div>
    347<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a47b5bc2ec6afaf1d50a8db5f24415922">  266</a></span>&#160;<span class="preprocessor">#define STATF_MODE10  0b00100000  </span></div>
    348<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad27f428fca89ea6b236ff3aa4769a05e">  267</a></span>&#160;<span class="preprocessor">#define STATF_MODE01  0b00010000  </span></div>
    349<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a72b78d4d640033770be37d95bf8e1f9d">  268</a></span>&#160;<span class="preprocessor">#define STATF_MODE00  0b00001000  </span></div>
    350<div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2b3637bad69da368c3d7136632963fb7">  269</a></span>&#160;<span class="preprocessor">#define STATF_LYCF    0b00000100  </span></div>
    351<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab04e468d2403bc69f761daa300bb999a">  270</a></span>&#160;<span class="preprocessor">#define STATF_HBL     0b00000000  </span></div>
    352<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#adb52e1f4b56ef259db300a187fe58fc9">  271</a></span>&#160;<span class="preprocessor">#define STATF_VBL     0b00000001  </span></div>
    353<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#acc45e1a4ea60d8248102a71c1658c5a3">  272</a></span>&#160;<span class="preprocessor">#define STATF_OAM     0b00000010  </span></div>
    354<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6f5df560b791d2fc086c23f99dd03354">  273</a></span>&#160;<span class="preprocessor">#define STATF_LCD     0b00000011  </span></div>
    355<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a92a063885caf6c6cda665da0309055ec">  274</a></span>&#160;<span class="preprocessor">#define STATF_BUSY    0b00000010  </span></div>
    356<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1e4b66204a5bff207be36fdfedd63d5">  275</a></span>&#160;<span class="preprocessor">#define STATF_B_LYC     6         </span></div>
    357<div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac75479aa0d34ac4344d80451276e97cc">  276</a></span>&#160;<span class="preprocessor">#define STATF_B_MODE10  5         </span></div>
    358<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5b683ff804221c6fc721b996fce65bda">  277</a></span>&#160;<span class="preprocessor">#define STATF_B_MODE01  4         </span></div>
    359<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#acdbf6b3217f6a5681df94c8b8992d1d6">  278</a></span>&#160;<span class="preprocessor">#define STATF_B_MODE00  3         </span></div>
    360<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab058c32e4ebf21b3beb06a0d7440e6ad">  279</a></span>&#160;<span class="preprocessor">#define STATF_B_LYCF    2         </span></div>
    361<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a55c4815aea004a9951606db7e7a1f0d7">  280</a></span>&#160;<span class="preprocessor">#define STATF_B_VBL     0         </span></div>
    362<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7393f505e4277af40167d72415c46fa5">  281</a></span>&#160;<span class="preprocessor">#define STATF_B_OAM     1         </span></div>
    363<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b0bf7449b517b3cda2a89428db6deb9">  282</a></span>&#160;<span class="preprocessor">#define STATF_B_BUSY    1         </span></div>
    364<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="preprocessor">#endif</span></div>
    365<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160; </div>
    366<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a244b162cf13bbcb4fe842d7e298b39c2">  285</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a244b162cf13bbcb4fe842d7e298b39c2">SCY_REG</a>;          </div>
    367<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad2537c13699429afa59a68c6d6598632">  286</a></span>&#160;<span class="preprocessor">#define rSCY</span></div>
    368<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a86cc170585319565195f2c163250be1f">  287</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a86cc170585319565195f2c163250be1f">SCX_REG</a>;          </div>
    369<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a97932e023d96ece4715802b6c2565c43">  288</a></span>&#160;<span class="preprocessor">#define rSCX SCX_REG</span></div>
    370<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aeb643bd4eac2e6e410cae2fae677c0a7">  289</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aeb643bd4eac2e6e410cae2fae677c0a7">LY_REG</a>;           </div>
    371<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa851dae67d0bb80c17415774558d985f">  290</a></span>&#160;<span class="preprocessor">#define rLY LY_REG</span></div>
    372<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a591084a506c33266b7d6cc3b4b8936ae">  291</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a591084a506c33266b7d6cc3b4b8936ae">LYC_REG</a>;          </div>
    373<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a92083741d31c9b2206b403e97124cbdc">  292</a></span>&#160;<span class="preprocessor">#define rLYC LYC_REG</span></div>
    374<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae13ce414d3fe7c98c1434918186dfc81">  293</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ae13ce414d3fe7c98c1434918186dfc81">DMA_REG</a>;          </div>
    375<div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4225227c2812c3e3e500441f5e90772a">  294</a></span>&#160;<span class="preprocessor">#define rDMA DMA_REG</span></div>
    376<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af577ba87ec3d13d7415e4c4a53cdf997">  295</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#af577ba87ec3d13d7415e4c4a53cdf997">BGP_REG</a>;          </div>
    377<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4fbcc4798c0721efcf4462c04a4566c1">  296</a></span>&#160;<span class="preprocessor">#define rBGP BGP_REG</span></div>
    378<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13f3e89f7b92258d825292e5058815c7">  297</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a13f3e89f7b92258d825292e5058815c7">OBP0_REG</a>;         </div>
    379<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae0a85bdedbbf1c79b5dbb5b23ca4bf79">  298</a></span>&#160;<span class="preprocessor">#define rOBP0 OBP0_REG</span></div>
    380<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9da545164e049ef773128f869daece13">  299</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a9da545164e049ef773128f869daece13">OBP1_REG</a>;         </div>
    381<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2a14470dca10f69c092d817a433383bd">  300</a></span>&#160;<span class="preprocessor">#define rOBP1 OBP1_REG</span></div>
    382<div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1c8d52607616ef37da335447e4cbe850">  301</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1c8d52607616ef37da335447e4cbe850">WY_REG</a>;           </div>
    383<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afe84077234eb6e0520d7a6d0a9e903e7">  302</a></span>&#160;<span class="preprocessor">#define rWY WY_REG</span></div>
    384<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a310aa43fbee2fd6b6b419df48acce1e0">  303</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a310aa43fbee2fd6b6b419df48acce1e0">WX_REG</a>;           </div>
    385<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aba3cbaeca5ad045fb27095c210b661b7">  304</a></span>&#160;<span class="preprocessor">#define rWX WX_REG</span></div>
    386<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7279430d110acf02fa176d5f427a6491">  305</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a7279430d110acf02fa176d5f427a6491">KEY1_REG</a>;         </div>
    387<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad3f67013699d0d38c203e4e863c91c41">  306</a></span>&#160;<span class="preprocessor">#define rKEY1 KEY1_REG</span></div>
    388<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a222d5e3cb366d5e720a832fc68ce3a13">  307</a></span>&#160;<span class="preprocessor">#define rSPD  KEY1_REG</span></div>
    389<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160; </div>
    390<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a793b667a76985934545f73268000371a">  309</a></span>&#160;<span class="preprocessor">#define KEY1F_DBLSPEED 0b10000000</span></div>
    391<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3205df57bc17c35df2924296341c6c69">  310</a></span>&#160;<span class="preprocessor">#define KEY1F_PREPARE  0b00000001</span></div>
    392<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160; </div>
    393<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5ccae0d556500e1055a0ec8de20c535a">  312</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a5ccae0d556500e1055a0ec8de20c535a">VBK_REG</a>;          </div>
    394<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a09fa1caa91313e57dc2c3dd354104b00">  313</a></span>&#160;<span class="preprocessor">#define rVBK VBK_REG</span></div>
    395<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab16e97796d675205a027b1b28b52956e">  314</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ab16e97796d675205a027b1b28b52956e">HDMA1_REG</a>;        </div>
    396<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5011196496193d80fc58cdb632fbab24">  315</a></span>&#160;<span class="preprocessor">#define rHDMA1 HDMA1_REG</span></div>
    397<div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a801400d58ab7d862742e43b49fa68c8d">  316</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a801400d58ab7d862742e43b49fa68c8d">HDMA2_REG</a>;        </div>
    398<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abc4249f04a9081f45439f61dabf861e5">  317</a></span>&#160;<span class="preprocessor">#define rHDMA2 HDMA2_REG</span></div>
    399<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a57a94790cda8101a29c0d20086770f1b">  318</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a57a94790cda8101a29c0d20086770f1b">HDMA3_REG</a>;        </div>
    400<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aca2df62463b4c3bc4a291e18f26f4ec5">  319</a></span>&#160;<span class="preprocessor">#define rHDMA3 HDMA3_REG</span></div>
    401<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3a2e883779980c1c37e780f47da4dd69">  320</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a3a2e883779980c1c37e780f47da4dd69">HDMA4_REG</a>;        </div>
    402<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#adee641ce3abf6b891e0e16bb56bdfcf7">  321</a></span>&#160;<span class="preprocessor">#define rHDMA4 HDMA4_REG</span></div>
    403<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1454ad6d5d04273eae1288af86deadac">  322</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1454ad6d5d04273eae1288af86deadac">HDMA5_REG</a>;        </div>
    404<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae7eecc25286b951a78ef0dfc97aab3a7">  323</a></span>&#160;<span class="preprocessor">#define rHDMA5 HDMA5_REG</span></div>
    405<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160; </div>
    406<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2a1acb31d2869997315be64bff66d24b">  325</a></span>&#160;<span class="preprocessor">#define HDMA5F_MODE_GP  0b00000000</span></div>
    407<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3c22f7324f09a14d666f9b21a9742789">  326</a></span>&#160;<span class="preprocessor">#define HDMA5F_MODE_HBL 0b10000000</span></div>
    408<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160; </div>
    409<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a37c8ee0ef95132fd22cd426868510834">  328</a></span>&#160;<span class="preprocessor">#define HDMA5F_BUSY 0b10000000</span></div>
    410<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160; </div>
    411<div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a76532f8742d9dd8cb26d2ccfd9c37bbf">  330</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a76532f8742d9dd8cb26d2ccfd9c37bbf">RP_REG</a>;           </div>
    412<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a82c53e957d31d22c475e1629843bc12d">  331</a></span>&#160;<span class="preprocessor">#define rRP RP_REG</span></div>
    413<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160; </div>
    414<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a092b2e33a050ac6ced4e897498ce9a2f">  333</a></span>&#160;<span class="preprocessor">#define RPF_ENREAD   0b11000000</span></div>
    415<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaffaea3512173f90b85bae710d40ba6c">  334</a></span>&#160;<span class="preprocessor">#define RPF_DATAIN   0b00000010</span></div>
    416<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac47b78eb2ffea207a8c7ac643555ba6c">  335</a></span>&#160;<span class="preprocessor">#define RPF_WRITE_HI 0b00000001</span></div>
    417<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab0fe74a7c155ae95cbf20bbb5e1bf46b">  336</a></span>&#160;<span class="preprocessor">#define RPF_WRITE_LO 0b00000000</span></div>
    418<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160; </div>
    419<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a28fa1ca08ef1c8ed97280bc5e60bdd99">  338</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a28fa1ca08ef1c8ed97280bc5e60bdd99">BCPS_REG</a>;         </div>
    420<div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4f1816144e0561ff4db1ad24f4ce847a">  339</a></span>&#160;<span class="preprocessor">#define rBCPS BCPS_REG</span></div>
    421<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160; </div>
    422<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a88cceb86b8168f4c539e9612a81145a6">  341</a></span>&#160;<span class="preprocessor">#define BCPSF_AUTOINC 0b10000000</span></div>
    423<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1fc8ff37ffe1c431364e1ef7c3961b30">  342</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1fc8ff37ffe1c431364e1ef7c3961b30">BCPD_REG</a>;         </div>
    424<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3dbfd7c3f4a62774fbc98caa73899e96">  343</a></span>&#160;<span class="preprocessor">#define rBCPD BCPD_REG</span></div>
    425<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1686d2457eb4ad834bb75fb81c86aed8">  344</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1686d2457eb4ad834bb75fb81c86aed8">OCPS_REG</a>;         </div>
    426<div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a056b789889ecf0691e54f721e015b873">  345</a></span>&#160;<span class="preprocessor">#define rOCPS OCPS_REG</span></div>
    427<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160; </div>
    428<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0a6cc6543aa06c12b87e235c3d5da4ff">  347</a></span>&#160;<span class="preprocessor">#define OCPSF_AUTOINC 0b10000000</span></div>
    429<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae24d0e88a1e1b8367ac1f5709d3e500c">  348</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ae24d0e88a1e1b8367ac1f5709d3e500c">OCPD_REG</a>;         </div>
    430<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a723eb3e0c2c681a050e9a325e35c25ae">  349</a></span>&#160;<span class="preprocessor">#define rOCPD OCPD_REG</span></div>
    431<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa128832cecec4e609517fe3daf044e5e">  350</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aa128832cecec4e609517fe3daf044e5e">SVBK_REG</a>;         </div>
    432<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a83e14896ee3ddf2a4201b534d8e5f398">  351</a></span>&#160;<span class="preprocessor">#define rSVBK SVBK_REG</span></div>
    433<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af93abe183851726958f27d979498032e">  352</a></span>&#160;<span class="preprocessor">#define rSMBK SVBK_REG</span></div>
    434<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160; </div>
    435<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a428894ca3fd0bb4527b03bed551ff04c">  354</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a428894ca3fd0bb4527b03bed551ff04c">PCM12_REG</a>;        </div>
    436<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a28368838b9e270c301361a5f39c97154">  355</a></span>&#160;<span class="preprocessor">#define rPCM12 PCM12_REG</span></div>
    437<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160; </div>
    438<div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac6d19ac313a99f41bd996e1ca5e43df0">  357</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ac6d19ac313a99f41bd996e1ca5e43df0">PCM34_REG</a>;        </div>
    439<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1c402357ccc5f6c3c451450b30ca959">  358</a></span>&#160;<span class="preprocessor">#define rPCM34 PCM34_REG</span></div>
    440<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160; </div>
    441<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaef0dc6aab2f821ab406fdbc643af48e">  360</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aaef0dc6aab2f821ab406fdbc643af48e">IE_REG</a>;           </div>
    442<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a52e850e75483f64ca070a33ee4877d47">  361</a></span>&#160;<span class="preprocessor">#define rIE IE_REG</span></div>
    443<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160; </div>
    444<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa7ce989df75547f190d33cc85dce0187">  363</a></span>&#160;<span class="preprocessor">#define IEF_HILO   0b00010000</span></div>
    445<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a921bdc6c640b74c8c41e65f27882c68a">  364</a></span>&#160;<span class="preprocessor">#define IEF_SERIAL 0b00001000</span></div>
    446<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7c06fa33152a235baf273f1828dfa0a4">  365</a></span>&#160;<span class="preprocessor">#define IEF_TIMER  0b00000100</span></div>
    447<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2eec77ca1b8730b410a7075c5a9c189e">  366</a></span>&#160;<span class="preprocessor">#define IEF_STAT   0b00000010</span></div>
    448<div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b8d7fece663511d5778136a5ca0070b">  367</a></span>&#160;<span class="preprocessor">#define IEF_VBLANK 0b00000001</span></div>
    449<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
    450<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
    451<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<span class="comment">/* Square wave duty cycle */</span></div>
    452<div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8a88b504914eed6c0c4d2853689487ba">  371</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_12_5 0b00000000</span></div>
    453<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a52e58c151c5910792e75f7eea7f7ddbb">  372</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_25   0b01000000</span></div>
    454<div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abd862604a105aa2475223b06abfa8bfe">  373</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_50   0b10000000</span></div>
    455<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a194e3432f1e4d5d23d4ea096cef783e5">  374</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_75   0b11000000</span></div>
    456<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a367f10d1cfcc04fdbfcb88f09b230bd3">  375</a></span>&#160;<span class="preprocessor">#define AUDLEN_LENGTH(x) (x)</span></div>
    457<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160; </div>
    458<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="comment">/* Audio envelope flags */</span></div>
    459<div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7dab7d2ad1bf670875814d3029d54122">  378</a></span>&#160;<span class="preprocessor">#define AUDENV_VOL(x)    ((x) &lt;&lt; 4)</span></div>
    460<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9f069f19e8a05d1f1114aaabf531739e">  379</a></span>&#160;<span class="preprocessor">#define AUDENV_UP        0b00001000</span></div>
    461<div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa58f52563d21d56e79d422c544eeb13f">  380</a></span>&#160;<span class="preprocessor">#define AUDENV_DOWN      0b00000000</span></div>
    462<div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad07fa5e19e334eee03c2fcb8671b2ed3">  381</a></span>&#160;<span class="preprocessor">#define AUDENV_LENGTH(x) (x)</span></div>
    463<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160; </div>
    464<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="comment">/* Audio trigger flags */</span></div>
    465<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6d820a86bd30b531d5df5b27139ae92d">  384</a></span>&#160;<span class="preprocessor">#define AUDHIGH_RESTART    0b10000000</span></div>
    466<div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab3325578cf7f7f67610353a62aba274e">  385</a></span>&#160;<span class="preprocessor">#define AUDHIGH_LENGTH_ON  0b01000000</span></div>
    467<div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afe4927e6bc7efa57461e3c3b84d242da">  386</a></span>&#160;<span class="preprocessor">#define AUDHIGH_LENGTH_OFF 0b00000000</span></div>
    468<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160; </div>
    469<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment">/* OAM attributes flags */</span></div>
    470<div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a393866ca405b1023eec0e784bb88b026">  389</a></span>&#160;<span class="preprocessor">#define OAMF_PRI      0b10000000  </span></div>
    471<div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a820677d593625e8716c3b78f36feb805">  390</a></span>&#160;<span class="preprocessor">#define OAMF_YFLIP    0b01000000  </span></div>
    472<div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3cd1c1a1291d43dd43b181ff07f8b0a7">  391</a></span>&#160;<span class="preprocessor">#define OAMF_XFLIP    0b00100000  </span></div>
    473<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a22b6b835de9ee737be73c4d252aac87c">  392</a></span>&#160;<span class="preprocessor">#define OAMF_PAL0     0b00000000  </span></div>
    474<div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad92f3b2a1cc16700a4660c5821bcb15d">  393</a></span>&#160;<span class="preprocessor">#define OAMF_PAL1     0b00010000  </span></div>
    475<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aade9a193ade9ff22ed6f6263d1a3549b">  394</a></span>&#160;<span class="preprocessor">#define OAMF_BANK0    0b00000000  </span></div>
    476<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad195d4be68ff54c3926c431fa5511de5">  395</a></span>&#160;<span class="preprocessor">#define OAMF_BANK1    0b00001000  </span></div>
    477<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4ff8c8a7acb74ba54043596110091605">  397</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL0 0b00000000  </span></div>
    478<div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9dff52d03755812d3a5ee7ca971c2e83">  398</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL1 0b00000001  </span></div>
    479<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a74744fb475532fa5d343e0818dcc6f88">  399</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL2 0b00000010  </span></div>
    480<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a704ab20694793ea87aace8bfc29568bc">  400</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL3 0b00000011  </span></div>
    481<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13d5cddfb4a05fa49fc794aeea675c7b">  401</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL4 0b00000100  </span></div>
    482<div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af9284c71b8ebf10ef8b9e12268f2cce3">  402</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL5 0b00000101  </span></div>
    483<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad6f5b0d9ae958dee3d6dfa8f4273ff5a">  403</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL6 0b00000110  </span></div>
    484<div class="line"><a name="l00404"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af4b27e8f3c3e14a4f91051fea4c64e4b">  404</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL7 0b00000111  </span></div>
    485<div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5dc4d1ee47fe269761fe8fc46d56dabb">  406</a></span>&#160;<span class="preprocessor">#define OAMF_PALMASK 0b00000111   </span></div>
    486<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a519e327cac96f68a8ca9b77e0343672f">  408</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_X_OFFSET 0        </span></div>
    487<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af334c0e7dd6e434b3dbebd45bcdeb75a">  409</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_Y_OFFSET 0        </span></div>
    488<div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#add7f32ba868ef6517798f5fce337e4b2">  410</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_WIDTH 20          </span></div>
    489<div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad252264fdcf900e5fbf611f7a45962ed">  411</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_HEIGHT 18         </span></div>
    490<div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a491dc081eae8c81e7ca88075ab806291">  412</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_BUFFER_WIDTH 32   </span></div>
    491<div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a81fb56b6778772f829dab4c534e7749e">  413</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_BUFFER_HEIGHT 32  </span></div>
    492<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4d682ed7a6158c5ba10afec739b17a8a">  414</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_MAP_ENTRY_SIZE 1  </span></div>
    493<div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af531e7ac0c0a58517fa3061631745c31">  415</a></span>&#160;<span class="preprocessor">#define DEVICE_SPRITE_PX_OFFSET_X 8     </span></div>
    494<div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7f6c8420831388300bbec13ea4cb57a0">  416</a></span>&#160;<span class="preprocessor">#define DEVICE_SPRITE_PX_OFFSET_Y 16    </span></div>
    495<div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad14c51cdfb347c34c364f54e67dc978d">  417</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_PX_WIDTH (DEVICE_SCREEN_WIDTH * 8)   </span></div>
    496<div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7bd450aa268b881257089cf8cd6697ec">  418</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_PX_HEIGHT (DEVICE_SCREEN_HEIGHT * 8) </span></div>
    497<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;<span class="preprocessor">#endif</span></div>
    498</div><!-- fragment --></div><!-- contents -->
    499</div><!-- doc-content -->
    500<div class="ttc" id="agb_2hardware_8h_html_ac1cf31cae6046360271ead6e8b7a6e87"><div class="ttname"><a href="gb_2hardware_8h.html#ac1cf31cae6046360271ead6e8b7a6e87">_RAM</a></div><div class="ttdeci">__BYTES _RAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:25</div></div>
    501<div class="ttc" id="agb_2hardware_8h_html_ac6d19ac313a99f41bd996e1ca5e43df0"><div class="ttname"><a href="gb_2hardware_8h.html#ac6d19ac313a99f41bd996e1ca5e43df0">PCM34_REG</a></div><div class="ttdeci">__REG PCM34_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:357</div></div>
    502<div class="ttc" id="agb_2hardware_8h_html_a2f83a5f5daa6418c77756e32923aef5a"><div class="ttname"><a href="gb_2hardware_8h.html#a2f83a5f5daa6418c77756e32923aef5a">_RAMBANK</a></div><div class="ttdeci">__BYTES _RAMBANK[]</div><div class="ttdef"><b>Definition:</b> hardware.h:26</div></div>
    503<div class="ttc" id="agb_2hardware_8h_html_a70db64bdd045a9df09b289fe9b28af22"><div class="ttname"><a href="gb_2hardware_8h.html#a70db64bdd045a9df09b289fe9b28af22">_AUD3WAVERAM</a></div><div class="ttdeci">__BYTE_REG _AUD3WAVERAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:29</div></div>
    504<div class="ttc" id="agb_2hardware_8h_html_a0b42e4dadd74c927e8b801b4f42c0e44"><div class="ttname"><a href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a></div><div class="ttdeci">#define __REG</div><div class="ttdef"><b>Definition:</b> hardware.h:14</div></div>
    505<div class="ttc" id="agb_2hardware_8h_html_a86cc170585319565195f2c163250be1f"><div class="ttname"><a href="gb_2hardware_8h.html#a86cc170585319565195f2c163250be1f">SCX_REG</a></div><div class="ttdeci">__REG SCX_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:287</div></div>
    506<div class="ttc" id="agb_2hardware_8h_html_ab16e97796d675205a027b1b28b52956e"><div class="ttname"><a href="gb_2hardware_8h.html#ab16e97796d675205a027b1b28b52956e">HDMA1_REG</a></div><div class="ttdeci">__REG HDMA1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:314</div></div>
    507<div class="ttc" id="agb_2hardware_8h_html_a3a2e883779980c1c37e780f47da4dd69"><div class="ttname"><a href="gb_2hardware_8h.html#a3a2e883779980c1c37e780f47da4dd69">HDMA4_REG</a></div><div class="ttdeci">__REG HDMA4_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:320</div></div>
    508<div class="ttc" id="agb_2hardware_8h_html_ab6da3e2cdbac1331bef3f6de9c808ab1"><div class="ttname"><a href="gb_2hardware_8h.html#ab6da3e2cdbac1331bef3f6de9c808ab1">NR34_REG</a></div><div class="ttdeci">__REG NR34_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:119</div></div>
    509<div class="ttc" id="agb_2hardware_8h_html_a659173ac2c8da7fd04bc77973eb95256"><div class="ttname"><a href="gb_2hardware_8h.html#a659173ac2c8da7fd04bc77973eb95256">TAC_REG</a></div><div class="ttdeci">__REG TAC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:65</div></div>
    510<div class="ttc" id="agb_2hardware_8h_html_a9da545164e049ef773128f869daece13"><div class="ttname"><a href="gb_2hardware_8h.html#a9da545164e049ef773128f869daece13">OBP1_REG</a></div><div class="ttdeci">__REG OBP1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:299</div></div>
    511<div class="ttc" id="agb_2hardware_8h_html_a134e3f274c1e607b8c5ff5724860e288"><div class="ttname"><a href="gb_2hardware_8h.html#a134e3f274c1e607b8c5ff5724860e288">_IO</a></div><div class="ttdeci">__BYTE_REG _IO[]</div><div class="ttdef"><b>Definition:</b> hardware.h:28</div></div>
    512<div class="ttc" id="agb_2hardware_8h_html_a73c94166161c33c61d63b3e4b5209cd0"><div class="ttname"><a href="gb_2hardware_8h.html#a73c94166161c33c61d63b3e4b5209cd0">_VRAM8000</a></div><div class="ttdeci">__BYTES _VRAM8000[]</div><div class="ttdef"><b>Definition:</b> hardware.h:19</div></div>
    513<div class="ttc" id="agb_2hardware_8h_html_a57a94790cda8101a29c0d20086770f1b"><div class="ttname"><a href="gb_2hardware_8h.html#a57a94790cda8101a29c0d20086770f1b">HDMA3_REG</a></div><div class="ttdeci">__REG HDMA3_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:318</div></div>
    514<div class="ttc" id="agb_2hardware_8h_html_a04f9a36ab04334fcd21d2f50c125d5d0"><div class="ttname"><a href="gb_2hardware_8h.html#a04f9a36ab04334fcd21d2f50c125d5d0">P1_REG</a></div><div class="ttdeci">__REG P1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:41</div></div>
    515<div class="ttc" id="agb_2hardware_8h_html_a64dd59016e4f0e78672962fbc553a4b4"><div class="ttname"><a href="gb_2hardware_8h.html#a64dd59016e4f0e78672962fbc553a4b4">rRAMG</a></div><div class="ttdeci">__BYTE_REG rRAMG</div><div class="ttdef"><b>Definition:</b> hardware.h:34</div></div>
    516<div class="ttc" id="agb_2hardware_8h_html_a849d2cff8df2655f86b294466bec40d6"><div class="ttname"><a href="gb_2hardware_8h.html#a849d2cff8df2655f86b294466bec40d6">NR44_REG</a></div><div class="ttdeci">__REG NR44_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:130</div></div>
    517<div class="ttc" id="agb_2hardware_8h_html_ad859dc62b1df1584ade0cbb822a3e46f"><div class="ttname"><a href="gb_2hardware_8h.html#ad859dc62b1df1584ade0cbb822a3e46f">NR10_REG</a></div><div class="ttdeci">__REG NR10_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:87</div></div>
    518<div class="ttc" id="agb_2hardware_8h_html_a28fa1ca08ef1c8ed97280bc5e60bdd99"><div class="ttname"><a href="gb_2hardware_8h.html#a28fa1ca08ef1c8ed97280bc5e60bdd99">BCPS_REG</a></div><div class="ttdeci">__REG BCPS_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:338</div></div>
    519<div class="ttc" id="agb_2hardware_8h_html_a0fb715973ee3edd1b525eb7f503e3b2a"><div class="ttname"><a href="gb_2hardware_8h.html#a0fb715973ee3edd1b525eb7f503e3b2a">SC_REG</a></div><div class="ttdeci">__REG SC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:57</div></div>
    520<div class="ttc" id="agb_2hardware_8h_html_a9d295bb437953de5ebcb3c12d65743aa"><div class="ttname"><a href="gb_2hardware_8h.html#a9d295bb437953de5ebcb3c12d65743aa">TIMA_REG</a></div><div class="ttdeci">__REG TIMA_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:61</div></div>
    521<div class="ttc" id="agb_2hardware_8h_html_a014f3a9d7ce8f8026c9ac6c0410bb099"><div class="ttname"><a href="gb_2hardware_8h.html#a014f3a9d7ce8f8026c9ac6c0410bb099">rROMB1</a></div><div class="ttdeci">__BYTE_REG rROMB1</div><div class="ttdef"><b>Definition:</b> hardware.h:36</div></div>
    522<div class="ttc" id="agb_2hardware_8h_html_a557833cc1671aa0bd71f33766b4e0f24"><div class="ttname"><a href="gb_2hardware_8h.html#a557833cc1671aa0bd71f33766b4e0f24">NR41_REG</a></div><div class="ttdeci">__REG NR41_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:122</div></div>
    523<div class="ttc" id="agb_2hardware_8h_html_aa128832cecec4e609517fe3daf044e5e"><div class="ttname"><a href="gb_2hardware_8h.html#aa128832cecec4e609517fe3daf044e5e">SVBK_REG</a></div><div class="ttdeci">__REG SVBK_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:350</div></div>
    524<div class="ttc" id="agb_2hardware_8h_html_a52593a64863d51fbf5860b0d31448972"><div class="ttname"><a href="gb_2hardware_8h.html#a52593a64863d51fbf5860b0d31448972">NR43_REG</a></div><div class="ttdeci">__REG NR43_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:126</div></div>
    525<div class="ttc" id="agb_2hardware_8h_html_a509a5d0f138b40830cb447a862573be5"><div class="ttname"><a href="gb_2hardware_8h.html#a509a5d0f138b40830cb447a862573be5">IF_REG</a></div><div class="ttdeci">__REG IF_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:84</div></div>
    526<div class="ttc" id="agb_2hardware_8h_html_a85d8e680d4d40a918b4195d2a4fada2a"><div class="ttname"><a href="gb_2hardware_8h.html#a85d8e680d4d40a918b4195d2a4fada2a">NR30_REG</a></div><div class="ttdeci">__REG NR30_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:111</div></div>
    527<div class="ttc" id="agb_2hardware_8h_html_a310aa43fbee2fd6b6b419df48acce1e0"><div class="ttname"><a href="gb_2hardware_8h.html#a310aa43fbee2fd6b6b419df48acce1e0">WX_REG</a></div><div class="ttdeci">__REG WX_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:303</div></div>
    528<div class="ttc" id="agb_2hardware_8h_html_a5f2da0d8200f44b6fd694c4a2bea820e"><div class="ttname"><a href="gb_2hardware_8h.html#a5f2da0d8200f44b6fd694c4a2bea820e">SB_REG</a></div><div class="ttdeci">__REG SB_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:55</div></div>
    529<div class="ttc" id="agb_2hardware_8h_html_a6dd3af1c8e3c66409aa0bc889d98e171"><div class="ttname"><a href="gb_2hardware_8h.html#a6dd3af1c8e3c66409aa0bc889d98e171">NR21_REG</a></div><div class="ttdeci">__REG NR21_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:102</div></div>
    530<div class="ttc" id="agb_2hardware_8h_html_a04c340d91842e8ee2b93922c2bcf39a4"><div class="ttname"><a href="gb_2hardware_8h.html#a04c340d91842e8ee2b93922c2bcf39a4">NR14_REG</a></div><div class="ttdeci">__REG NR14_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:99</div></div>
    531<div class="ttc" id="agb_2hardware_8h_html_a5ccae0d556500e1055a0ec8de20c535a"><div class="ttname"><a href="gb_2hardware_8h.html#a5ccae0d556500e1055a0ec8de20c535a">VBK_REG</a></div><div class="ttdeci">__REG VBK_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:312</div></div>
    532<div class="ttc" id="agb_2hardware_8h_html_a3d30d4797321b403cd713d727fa3db6c"><div class="ttname"><a href="gb_2hardware_8h.html#a3d30d4797321b403cd713d727fa3db6c">NR13_REG</a></div><div class="ttdeci">__REG NR13_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:97</div></div>
    533<div class="ttc" id="agb_2hardware_8h_html_ac429365dce851ca57d8fe4f7c54a1caa"><div class="ttname"><a href="gb_2hardware_8h.html#ac429365dce851ca57d8fe4f7c54a1caa">NR52_REG</a></div><div class="ttdeci">__REG NR52_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:153</div></div>
    534<div class="ttc" id="agb_2hardware_8h_html_af1301c73bf93350045ba3a4887723ae8"><div class="ttname"><a href="gb_2hardware_8h.html#af1301c73bf93350045ba3a4887723ae8">NR22_REG</a></div><div class="ttdeci">__REG NR22_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:104</div></div>
    535<div class="ttc" id="agb_2hardware_8h_html_a6515fdfaa50eeb7e63faeea54f77cd6b"><div class="ttname"><a href="gb_2hardware_8h.html#a6515fdfaa50eeb7e63faeea54f77cd6b">LCDC_REG</a></div><div class="ttdeci">__REG LCDC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:162</div></div>
    536<div class="ttc" id="agb_2hardware_8h_html_a924fdf48f6ad020423f6309055314928"><div class="ttname"><a href="gb_2hardware_8h.html#a924fdf48f6ad020423f6309055314928">NR50_REG</a></div><div class="ttdeci">__REG NR50_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:133</div></div>
    537<div class="ttc" id="agb_2hardware_8h_html_aeb643bd4eac2e6e410cae2fae677c0a7"><div class="ttname"><a href="gb_2hardware_8h.html#aeb643bd4eac2e6e410cae2fae677c0a7">LY_REG</a></div><div class="ttdeci">__REG LY_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:289</div></div>
    538<div class="ttc" id="agb_2hardware_8h_html_a7accf5feabd95a2d84c72f5915fff837"><div class="ttname"><a href="gb_2hardware_8h.html#a7accf5feabd95a2d84c72f5915fff837">NR12_REG</a></div><div class="ttdeci">__REG NR12_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:95</div></div>
    539<div class="ttc" id="agb_2hardware_8h_html_a244ee6d8f6144be9b0f94602eddb6239"><div class="ttname"><a href="gb_2hardware_8h.html#a244ee6d8f6144be9b0f94602eddb6239">NR32_REG</a></div><div class="ttdeci">__REG NR32_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:115</div></div>
    540<div class="ttc" id="agb_2hardware_8h_html_a7030908728e166877fba9065671deb02"><div class="ttname"><a href="gb_2hardware_8h.html#a7030908728e166877fba9065671deb02">_OAMRAM</a></div><div class="ttdeci">__BYTES _OAMRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:27</div></div>
    541<div class="ttc" id="agb_2hardware_8h_html_ab28f97eabd5f32d48ea27d97bd5dc64f"><div class="ttname"><a href="gb_2hardware_8h.html#ab28f97eabd5f32d48ea27d97bd5dc64f">NR51_REG</a></div><div class="ttdeci">__REG NR51_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:141</div></div>
    542<div class="ttc" id="agb_2hardware_8h_html_ad53dc7f22b99fce195210a95f2749a72"><div class="ttname"><a href="gb_2hardware_8h.html#ad53dc7f22b99fce195210a95f2749a72">NR11_REG</a></div><div class="ttdeci">__REG NR11_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:93</div></div>
    543<div class="ttc" id="agb_2hardware_8h_html_ae13ce414d3fe7c98c1434918186dfc81"><div class="ttname"><a href="gb_2hardware_8h.html#ae13ce414d3fe7c98c1434918186dfc81">DMA_REG</a></div><div class="ttdeci">__REG DMA_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:293</div></div>
    544<div class="ttc" id="agb_2hardware_8h_html_af577ba87ec3d13d7415e4c4a53cdf997"><div class="ttname"><a href="gb_2hardware_8h.html#af577ba87ec3d13d7415e4c4a53cdf997">BGP_REG</a></div><div class="ttdeci">__REG BGP_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:295</div></div>
    545<div class="ttc" id="agb_2hardware_8h_html_a76532f8742d9dd8cb26d2ccfd9c37bbf"><div class="ttname"><a href="gb_2hardware_8h.html#a76532f8742d9dd8cb26d2ccfd9c37bbf">RP_REG</a></div><div class="ttdeci">__REG RP_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:330</div></div>
    546<div class="ttc" id="agb_2hardware_8h_html_aea78f857e34370d7e1177a8bafe08148"><div class="ttname"><a href="gb_2hardware_8h.html#aea78f857e34370d7e1177a8bafe08148">NR31_REG</a></div><div class="ttdeci">__REG NR31_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:113</div></div>
    547<div class="ttc" id="agb_2hardware_8h_html_a39e5a5b9afd2c2ca78de4aba7ccd071c"><div class="ttname"><a href="gb_2hardware_8h.html#a39e5a5b9afd2c2ca78de4aba7ccd071c">TMA_REG</a></div><div class="ttdeci">__REG TMA_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:63</div></div>
    548<div class="ttc" id="agb_2hardware_8h_html_a428894ca3fd0bb4527b03bed551ff04c"><div class="ttname"><a href="gb_2hardware_8h.html#a428894ca3fd0bb4527b03bed551ff04c">PCM12_REG</a></div><div class="ttdeci">__REG PCM12_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:354</div></div>
    549<div class="ttc" id="agb_2hardware_8h_html_a7279430d110acf02fa176d5f427a6491"><div class="ttname"><a href="gb_2hardware_8h.html#a7279430d110acf02fa176d5f427a6491">KEY1_REG</a></div><div class="ttdeci">__REG KEY1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:305</div></div>
    550<div class="ttc" id="agb_2hardware_8h_html_a09a4ae65605182c8b694197d3aea695e"><div class="ttname"><a href="gb_2hardware_8h.html#a09a4ae65605182c8b694197d3aea695e">_SRAM</a></div><div class="ttdeci">__BYTES _SRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:24</div></div>
    551<div class="ttc" id="agb_2hardware_8h_html_ae24d0e88a1e1b8367ac1f5709d3e500c"><div class="ttname"><a href="gb_2hardware_8h.html#ae24d0e88a1e1b8367ac1f5709d3e500c">OCPD_REG</a></div><div class="ttdeci">__REG OCPD_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:348</div></div>
    552<div class="ttc" id="agb_2hardware_8h_html_a668fd555c203361f5e4b835f05243102"><div class="ttname"><a href="gb_2hardware_8h.html#a668fd555c203361f5e4b835f05243102">_VRAM9000</a></div><div class="ttdeci">__BYTES _VRAM9000[]</div><div class="ttdef"><b>Definition:</b> hardware.h:21</div></div>
    553<div class="ttc" id="agb_2hardware_8h_html_a1454ad6d5d04273eae1288af86deadac"><div class="ttname"><a href="gb_2hardware_8h.html#a1454ad6d5d04273eae1288af86deadac">HDMA5_REG</a></div><div class="ttdeci">__REG HDMA5_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:322</div></div>
    554<div class="ttc" id="agb_2hardware_8h_html_a591084a506c33266b7d6cc3b4b8936ae"><div class="ttname"><a href="gb_2hardware_8h.html#a591084a506c33266b7d6cc3b4b8936ae">LYC_REG</a></div><div class="ttdeci">__REG LYC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:291</div></div>
    555<div class="ttc" id="agb_2hardware_8h_html_a01c768b60853c8eecdefc2cedfc8d672"><div class="ttname"><a href="gb_2hardware_8h.html#a01c768b60853c8eecdefc2cedfc8d672">NR33_REG</a></div><div class="ttdeci">__REG NR33_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:117</div></div>
    556<div class="ttc" id="agb_2hardware_8h_html_afa1e18e47bf68ce68d7807fff6edf16b"><div class="ttname"><a href="gb_2hardware_8h.html#afa1e18e47bf68ce68d7807fff6edf16b">DIV_REG</a></div><div class="ttdeci">__REG DIV_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:59</div></div>
    557<div class="ttc" id="agb_2hardware_8h_html_a13f3e89f7b92258d825292e5058815c7"><div class="ttname"><a href="gb_2hardware_8h.html#a13f3e89f7b92258d825292e5058815c7">OBP0_REG</a></div><div class="ttdeci">__REG OBP0_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:297</div></div>
    558<div class="ttc" id="agb_2hardware_8h_html_a1fc8ff37ffe1c431364e1ef7c3961b30"><div class="ttname"><a href="gb_2hardware_8h.html#a1fc8ff37ffe1c431364e1ef7c3961b30">BCPD_REG</a></div><div class="ttdeci">__REG BCPD_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:342</div></div>
    559<div class="ttc" id="agb_2hardware_8h_html_a3b39604bdf93a32e9ff965c1a55f0df8"><div class="ttname"><a href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a></div><div class="ttdeci">#define __BYTE_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:13</div></div>
    560<div class="ttc" id="agb_2hardware_8h_html_a6676e579a5e421adfb3d3e2d470d9ab6"><div class="ttname"><a href="gb_2hardware_8h.html#a6676e579a5e421adfb3d3e2d470d9ab6">NR24_REG</a></div><div class="ttdeci">__REG NR24_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:108</div></div>
    561<div class="ttc" id="agb_2hardware_8h_html_a7bb32ac86e3fbf5f869410ba42620616"><div class="ttname"><a href="gb_2hardware_8h.html#a7bb32ac86e3fbf5f869410ba42620616">NR23_REG</a></div><div class="ttdeci">__REG NR23_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:106</div></div>
    562<div class="ttc" id="agb_2hardware_8h_html_aaef0dc6aab2f821ab406fdbc643af48e"><div class="ttname"><a href="gb_2hardware_8h.html#aaef0dc6aab2f821ab406fdbc643af48e">IE_REG</a></div><div class="ttdeci">__REG IE_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:360</div></div>
    563<div class="ttc" id="agb_2hardware_8h_html_aea9200b29be90b58417787720cdf750b"><div class="ttname"><a href="gb_2hardware_8h.html#aea9200b29be90b58417787720cdf750b">_VRAM</a></div><div class="ttdeci">__BYTES _VRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:18</div></div>
    564<div class="ttc" id="agb_2hardware_8h_html_a1686d2457eb4ad834bb75fb81c86aed8"><div class="ttname"><a href="gb_2hardware_8h.html#a1686d2457eb4ad834bb75fb81c86aed8">OCPS_REG</a></div><div class="ttdeci">__REG OCPS_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:344</div></div>
    565<div class="ttc" id="agb_2hardware_8h_html_ae0976a29e341edc6ceb810e6eb0328f1"><div class="ttname"><a href="gb_2hardware_8h.html#ae0976a29e341edc6ceb810e6eb0328f1">rROMB0</a></div><div class="ttdeci">__BYTE_REG rROMB0</div><div class="ttdef"><b>Definition:</b> hardware.h:35</div></div>
    566<div class="ttc" id="agb_2hardware_8h_html_a1c8d52607616ef37da335447e4cbe850"><div class="ttname"><a href="gb_2hardware_8h.html#a1c8d52607616ef37da335447e4cbe850">WY_REG</a></div><div class="ttdeci">__REG WY_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:301</div></div>
    567<div class="ttc" id="agb_2hardware_8h_html_a472e3b0909a2f0878f643e9968b871ef"><div class="ttname"><a href="gb_2hardware_8h.html#a472e3b0909a2f0878f643e9968b871ef">_HRAM</a></div><div class="ttdeci">__BYTE_REG _HRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:30</div></div>
    568<div class="ttc" id="agb_2hardware_8h_html_ac2985dbccb16c4c00381d6fbe9600aff"><div class="ttname"><a href="gb_2hardware_8h.html#ac2985dbccb16c4c00381d6fbe9600aff">rRAMB</a></div><div class="ttdeci">__BYTE_REG rRAMB</div><div class="ttdef"><b>Definition:</b> hardware.h:37</div></div>
    569<div class="ttc" id="agb_2hardware_8h_html_a2fe41a6e0abb211cc00a8fca90543966"><div class="ttname"><a href="gb_2hardware_8h.html#a2fe41a6e0abb211cc00a8fca90543966">AUD3WAVE</a></div><div class="ttdeci">__BYTE_REG AUD3WAVE[16]</div><div class="ttdef"><b>Definition:</b> hardware.h:159</div></div>
    570<div class="ttc" id="agb_2hardware_8h_html_ad40ebf3b29add46cdd310a7e0802bc6b"><div class="ttname"><a href="gb_2hardware_8h.html#ad40ebf3b29add46cdd310a7e0802bc6b">STAT_REG</a></div><div class="ttdeci">__REG STAT_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:242</div></div>
    571<div class="ttc" id="agb_2hardware_8h_html_ab2767d5f8f0ad35d8c8ee0bb3f4c51c3"><div class="ttname"><a href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a></div><div class="ttdeci">#define __BYTES</div><div class="ttdef"><b>Definition:</b> hardware.h:12</div></div>
    572<div class="ttc" id="agb_2hardware_8h_html_ac5b9d1761bb972948fe10637dfaa94a7"><div class="ttname"><a href="gb_2hardware_8h.html#ac5b9d1761bb972948fe10637dfaa94a7">_SCRN0</a></div><div class="ttdeci">__BYTES _SCRN0[]</div><div class="ttdef"><b>Definition:</b> hardware.h:22</div></div>
    573<div class="ttc" id="agb_2hardware_8h_html_afff31f511127bf7ba1bd3b6bc740aee8"><div class="ttname"><a href="gb_2hardware_8h.html#afff31f511127bf7ba1bd3b6bc740aee8">_SCRN1</a></div><div class="ttdeci">__BYTES _SCRN1[]</div><div class="ttdef"><b>Definition:</b> hardware.h:23</div></div>
    574<div class="ttc" id="agb_2hardware_8h_html_aba3d9fb63552bc02ec879696b581adac"><div class="ttname"><a href="gb_2hardware_8h.html#aba3d9fb63552bc02ec879696b581adac">NR42_REG</a></div><div class="ttdeci">__REG NR42_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:124</div></div>
    575<div class="ttc" id="agb_2hardware_8h_html_af763563b6123ef29d73931f616969049"><div class="ttname"><a href="gb_2hardware_8h.html#af763563b6123ef29d73931f616969049">_VRAM8800</a></div><div class="ttdeci">__BYTES _VRAM8800[]</div><div class="ttdef"><b>Definition:</b> hardware.h:20</div></div>
    576<div class="ttc" id="agb_2hardware_8h_html_a271367a0bf840e5422b3a7ed541776f8"><div class="ttname"><a href="gb_2hardware_8h.html#a271367a0bf840e5422b3a7ed541776f8">PCM_SAMPLE</a></div><div class="ttdeci">__BYTE_REG PCM_SAMPLE[16]</div><div class="ttdef"><b>Definition:</b> hardware.h:160</div></div>
    577<div class="ttc" id="agb_2hardware_8h_html_a244b162cf13bbcb4fe842d7e298b39c2"><div class="ttname"><a href="gb_2hardware_8h.html#a244b162cf13bbcb4fe842d7e298b39c2">SCY_REG</a></div><div class="ttdeci">__REG SCY_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:285</div></div>
    578<div class="ttc" id="agb_2hardware_8h_html_a801400d58ab7d862742e43b49fa68c8d"><div class="ttname"><a href="gb_2hardware_8h.html#a801400d58ab7d862742e43b49fa68c8d">HDMA2_REG</a></div><div class="ttdeci">__REG HDMA2_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:316</div></div>
    579<!-- HTML footer for doxygen 1.8.14-->
    580<!-- start footer part -->
    581<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
    582</div>
    583</body>
    584</html>