<!-- PDF page 274 -->

<table>
<thead>
<tr><th rowspan="2">Notes</th><th colspan="2">Address</th><th rowspan="2">Name</th><th rowspan="2">Description</th></tr>
<tr><th>Hex</th><th>Dec</th></tr>
</thead>
<tbody>
<tr><td><b>N2</b></td><td>5C68</td><td>23656</td><td><b>MEM</b></td><td>Address of area used for calculator's memory (usually MEMBOT, but not always)</td></tr>
<tr><td><b>1</b></td><td>5C6A</td><td>23658</td><td><b>FLAGS2</b></td><td>More flags. (Bit 3 set when <b>CAPS SHIFT</b> or <b>CAPS LOCK</b> is on)</td></tr>
<tr><td><b>X1</b></td><td>5C6B</td><td>23659</td><td><b>DF_SZ</b></td><td>The number of lines (including one blank line) in the lower part of the screen</td></tr>
<tr><td><b>N2</b></td><td>5C6C</td><td>23660</td><td></td><td>Reserved for system use</td></tr>
<tr><td><b>2</b></td><td>5C6E</td><td>23662</td><td><b>OLDPPC</b></td><td>Line number to which <b>CONTINUE</b> jumps</td></tr>
<tr><td><b>1</b></td><td>5C70</td><td>23664</td><td><b>OSPPC</b></td><td>Number within line of statement to which <b>CONTINUE</b> jumps</td></tr>
<tr><td><b>N1</b></td><td>5C71</td><td>23665</td><td><b>FLAGX</b></td><td>Various flags</td></tr>
<tr><td><b>N2</b></td><td>5C72</td><td>23666</td><td><b>STRLEN</b></td><td>Length of string type destination in assignment</td></tr>
<tr><td><b>N2</b></td><td>5C74</td><td>23668</td><td><b>T_ADDR</b></td><td>Address of next item in syntax table (very unlikely to be useful)</td></tr>
<tr><td><b>2</b></td><td>5C76</td><td>23670</td><td><b>SEED</b></td><td>The seed for <b>RND</b>. This is the variable that is set by <b>RANDOMIZE</b></td></tr>
<tr><td><b>3</b></td><td>5C78</td><td>23672</td><td><b>FRAMES</b></td><td>3 byte (least significant byte first), frame counter incremented every 20ms</td></tr>
<tr><td><b>2</b></td><td>5C7B</td><td>23675</td><td><b>UDG</b></td><td>Address of first user-defined graphic. You can change this, for instance, to save space by having fewer user-defined characters</td></tr>
<tr><td><b>1</b></td><td>5C7D</td><td>23677</td><td><b>COORDS</b></td><td>X-coordinate of last point plotted</td></tr>
<tr><td><b>1</b></td><td>5C7E</td><td>23678</td><td></td><td>Y-coordinate of last point plotted</td></tr>
<tr><td><b>X1</b></td><td>5C7F</td><td>23679</td><td><b>GMODE</b></td><td>Graphical layer/mode flags</td></tr>
<tr><td><b>X1</b></td><td>5C80</td><td>23680</td><td><b>PRCC</b></td><td>Full address of next position for <b>LPRINT</b> to print at (in ZX Printer buffer). Legal values 5B00 – 5B1F[^p274-1]</td></tr>
<tr><td><b>1</b></td><td>5C81</td><td>23681</td><td><b>STIMEOUT</b></td><td>Screensaver control</td></tr>
<tr><td><b>2</b></td><td>5C82</td><td>23682</td><td><b>ECHO_E</b></td><td>33-column number and 24 line number (in lower half) of end of input buffer</td></tr>
<tr><td><b>2</b></td><td>5C84</td><td>23684</td><td><b>DF_CC</b></td><td>Address in display file of <b>PRINT</b> position</td></tr>
<tr><td><b>2</b></td><td>5C86</td><td>23686</td><td><b>DF_CCL</b></td><td>Like DF_CC for lower part of screen</td></tr>
<tr><td><b>X1</b></td><td>5C88</td><td>23688</td><td><b>S_POSN</b></td><td>33-column number for <b>PRINT</b> position</td></tr>
<tr><td><b>X1</b></td><td>5C89</td><td>23689</td><td></td><td>24-line number for <b>PRINT</b> position</td></tr>
<tr><td><b>X2</b></td><td>5C8A</td><td>23690</td><td><b>SPOSNL</b></td><td>Like S_POSN for lower part</td></tr>
<tr><td><b>1</b></td><td>5C8C</td><td>23692</td><td><b>SCR_CT</b></td><td>Counts scrolls – it is always 1 more than the number of scrolls that will be done before stopping with <b>scroll?</b>. If you keep poking this with a number bigger than 1 (say 255), the screen will scroll on and on without asking you</td></tr>
<tr><td><b>1</b></td><td>5C8D</td><td>23693</td><td><b>ATTR_P</b></td><td>Permanent current colours, etc., (as set up by colour statements)</td></tr>
<tr><td><b>1</b></td><td>5C8E</td><td>23694</td><td><b>MASK_P</b></td><td>Used for transparent colours, etc. Any bit that is 1 shows that the corresponding attribute bit is taken not from ATTR_P, but from what is already on the screen</td></tr>
<tr><td><b>N1</b></td><td>5C8F</td><td>23695</td><td><b>ATTR_T</b></td><td>Temporary current colours, etc., (as set up by colour items)</td></tr>
<tr><td><b>N1</b></td><td>5C90</td><td>23696</td><td><b>MASK_T</b></td><td>Like MASK_P, but temporary</td></tr>
<tr><td><b>1</b></td><td>5C91</td><td>23697</td><td><b>P_FLAG</b></td><td>More flags</td></tr>
<tr><td><b>N30</b></td><td>5C92</td><td>23698</td><td><b>MEMBOT</b></td><td>Calculator's memory area – used to store numbers that cannot conveniently be put on the calculator stack</td></tr>
<tr><td><b>2</b></td><td>5CB0</td><td>23728</td><td></td><td>Not used</td></tr>
<tr><td><b>2</b></td><td>5CB2</td><td>23730</td><td><b>RAMTOP</b></td><td>Address of last byte of NextBASIC system area.</td></tr>
<tr><td><b>2</b></td><td>5CB4</td><td>23732</td><td><b>P_RAMT</b></td><td>Address of last byte of physical RAM.</td></tr>
</tbody>
</table>

[^p274-1]: Not used in 128K mode or when certain peripherals are attached

