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
@@ -641,6 +641,7 @@ int main(void)
u8 i;
rnd_state = 0x1979 ^ frame_ctr;
last_frame = frame_ctr;
u8 was_wide = con_stat & 4; /* 132 columns before the game? */
puts_("\033[?3l\033[?25l");
load_shapes();
for (i = 0; i < NST; i++) { st_x[i] = rnd() % 304; st_y[i] = rnd() % 240; st_v[i] = 1 + (i & 1); }
@@ -650,6 +651,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;
}
+550 -548
View File
File diff suppressed because it is too large. Load diff