Show the start-up screen size in the terminal banner
The banner said 80x32 although the screen starts at 132x64; it now follows WIDE_BOOT, with the matching terminfo name (basys3-w or basys3). The testbench checks it in both start-ups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2dafda5fe5
commit
fd876fd44d
2 files changed
+6
-3
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
// Basys 3 VT220 terminal with ANSI colour, and a RISC-V computer running BASIC.
|
||||
// SW15 down: keyboard (USB HID port) -> UART TX (USB-UART port),
|
||||
// UART RX -> 80x30 colour text on VGA
|
||||
// UART RX -> 132x64 (or 80x32) colour text on VGA
|
||||
// SW15 up: the terminal is the computer's console
|
||||
//
|
||||
// SW1:0 baud rate: 00 115200, 01 9600, 10 921600, 11 3000000 (8N1)
|
||||
@@ -247,10 +247,11 @@ module basys3_terminal #(
|
||||
// Start-up banner, fed in like received text. Bytes are read from the
|
||||
// high end of the string; the unused high bytes are zero and skipped.
|
||||
localparam [8*200-1:0] BANNER = {
|
||||
"\033[1mBasys 3 VT220 Terminal\033[0m 80x32 ",
|
||||
"\033[1mBasys 3 VT220 Terminal\033[0m ", WIDE_BOOT ? "132x64" : "80x32 ", " ",
|
||||
"\033[31mc\033[33mo\033[32ml\033[36mo\033[34mu\033[35mr\033[0m ",
|
||||
"\033[4munderline\033[0m\015\012",
|
||||
"UART RX -> screen, keyboard -> UART TX TERM=basys3 or vt220\015\012\012"};
|
||||
"UART RX -> screen, keyboard -> UART TX TERM=vt220 or ",
|
||||
WIDE_BOOT ? "basys3-w" : "basys3 ", "\015\012\012"};
|
||||
// (not shown in computer mode, where BASIC prints its own)
|
||||
reg [7:0] ban_i;
|
||||
wire [7:0] ban_c = BANNER[ban_i*8 +: 8];
|
||||
|
||||
Reference in new issue
Block a user