mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2025-07-01 15:23:51 +00:00
Add softswitch reads for display modes
Fixes #32 The RdAltChar (mousetext) is not accurate. Under Virtual II it seems to always return true if the 80 column firmware is active, regardless of which character set is active.
This commit is contained in:
@ -304,6 +304,14 @@ can be literals (unquoted strings), strings, or numbers
|
||||
<li><code>PEEK(230)</code> — Hi-Res plotting page (32 = page 1, 64 = page 2)
|
||||
<li><code>PEEK(49152)</code> — Read Keyboard
|
||||
<li><code>PEEK(49168)</code> — Clear Keyboard strobe
|
||||
|
||||
<li><code>PEEK(49178)</code> — See if text mode (> 127) or graphics mode (< 128)
|
||||
<li><code>PEEK(49179)</code> — See if mixed mode (> 127) or full mode (< 128)
|
||||
<li><code>PEEK(49180)</code> — See if page2 (> 127) or page1 (< 128)
|
||||
<li><code>PEEK(49181)</code> — See if hires mode (> 127) or lores mode (< 128)
|
||||
<li><code>PEEK(49182)</code> — See if mousetext mode (> 127)
|
||||
<li><code>PEEK(49188)</code> — See if 80-column mode (> 127)
|
||||
|
||||
<li><code>PEEK(49200)</code> — Click Speaker (no-op)
|
||||
<li><code>PEEK(49248)</code> — Read Paddle Button #3 — <em>Use the PageDown key</em>
|
||||
<li><code>PEEK(49249)</code> — Read Paddle Button #0 — <em>Use the Home key</em>
|
||||
|
Reference in New Issue
Block a user