diff --git a/rtl/basys3_terminal.v b/rtl/basys3_terminal.v index eeafe4a..3d4f9e0 100644 --- a/rtl/basys3_terminal.v +++ b/rtl/basys3_terminal.v @@ -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]; diff --git a/sim/tb_terminal.v b/sim/tb_terminal.v index 936fadd..f66944d 100644 --- a/sim/tb_terminal.v +++ b/sim/tb_terminal.v @@ -264,6 +264,8 @@ module tb_terminal; initial begin #2_000_000; // reset, clear, banner + if (WIDE) expect_row(0, "Basys 3 VT220 Terminal 132x64"); + else expect_row(0, "Basys 3 VT220 Terminal 80x32"); `ifndef SKIP_TERMINAL // ---- keyboard: a, shift+b, Enter, up, ctrl+c, F5