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

+5 -1
View File
@@ -78,6 +78,7 @@ module rv32_system #(
output reg tx_req,
output reg [7:0] tx_data,
input tx_ack,
input wide, // the screen is 132x64 (terminal clock: synchronised here)
output reg [15:0] seg_val,
output halted,
input brk_key, // pulse: the Pause key, enter the monitor
@@ -427,9 +428,12 @@ module rv32_system #(
end
end
(* ASYNC_REG = "TRUE" *) reg [1:0] wide_s = 2'b00;
always @(posedge clk) wide_s <= {wide_s[0], wide};
// -------------------------------------------------------- port reads
always @* case (io_addr)
8'h00: io_din = {6'd0, tx_ready, rx_avail};
8'h00: io_din = {5'd0, wide_s[1], tx_ready, rx_avail};
8'h01: io_din = rx_data;
8'h10: io_din = ms[7:0]; // sampled on the same edge that fills ms_latch
8'h11: io_din = ms_latch[15:8];