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:
brad ArantandClaude Opus 5.5 committed 2026-11-30 19:34:12 -08:00
1 parent 5930b958b4
commit 19278d1d74
23 files changed
+4183 -4102

No files matched your search

+3 -1
View File
@@ -683,6 +683,7 @@ int main(void)
{
rnd_state = 0xBEEF ^ frame_ctr;
last_frame = frame_ctr;
u8 was_wide = con_stat & 4; /* 132 columns before the game? */
puts_("\033[?3l\033[?25l");
load_shapes();
quit = 0;
@@ -691,6 +692,7 @@ int main(void)
play();
}
clear_all();
puts_("\033[0m\033[2J\033[H\033[?25h");
puts_(was_wide ? "\033[0m\033[?3h\033[?25h" /* back to 132 columns (this clears) */
: "\033[0m\033[2J\033[H\033[?25h");
while (con_stat & 1) (void)con_data;
}
+597 -594
View File
File diff suppressed because it is too large. Load diff