Start the screen at 132x64
The terminal comes up (and resets with ESC c) in DECCOLM's 132x64 mode; term_ctrl's WIDE_BOOT parameter selects 80x32 instead. Port 0 bit 2 tells software which width is showing: BASIC's line editor wraps at it, and the games, which play at 80 columns, put 132 back when they end. scripts/sim.sh wide checks the start-up; the other checks still start at 80x32. Manual, README and terminfo updated. send-hex.py is executable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5930b958b4
commit
19278d1d74
23 files changed
+4183
-4102
No files matched your search
@@ -596,9 +596,11 @@ the numbers (see section 9).
|
||||
|
||||
## 8. The text screen
|
||||
|
||||
The text screen is 80 columns by 32 rows; `PRINT CHR$(27);"[?3h"` switches to
|
||||
132 columns by 64 rows in a smaller font (and clears it), `CHR$(27);"[?3l"`
|
||||
back. Two statements place and colour text:
|
||||
The text screen starts at 132 columns by 64 rows in the 8×16 font.
|
||||
`PRINT CHR$(27);"[?3l"` switches to 80 columns by 32 rows in a font twice the
|
||||
size (and clears it), `CHR$(27);"[?3h"` back to 132; `INP(0) AND 4` is 4 at
|
||||
132 columns. The line editor follows the change, and the games play at 80
|
||||
columns and put the screen back as they found it. Two statements place and colour text:
|
||||
|
||||
| Statement | Does |
|
||||
|---|---|
|
||||
@@ -654,7 +656,7 @@ compare value, 10h and 14h the monitor's breakpoint addresses.
|
||||
|
||||
| Port | `INP` | `OUT` |
|
||||
|---|---|---|
|
||||
| 0 | bit 0: a key is waiting; bit 1: the screen can take a character | — |
|
||||
| 0 | bit 0: a key is waiting; bit 1: the screen can take a character; bit 2: the screen is 132 columns wide | — |
|
||||
| 1 | the waiting key | a character to the screen |
|
||||
| 16–19 | the millisecond counter, low byte first (reading 16 freezes the other three) | — |
|
||||
| 32 | — | right two digits of the 7-segment display (hex) |
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user