Basys 3 Z-80 computer and VT220 terminal - release 9 (git 8f098b5)
https://barant.com/opensource/basys3
Source: https://git.barant.com/barant/Basys3Terminal

For a Digilent Basys 3 (Artix-7 XC7A35T). New in release 9: RENUM in BASIC,
which renumbers a program and fixes its GOTOs and GOSUBs to match. Release 8
added a sound chip (three voices and noise) for a Digilent PmodAMP2 in the
top row of JA, a line editor (cursor keys, Up to recall, Right to copy a
stored line) and string arrays (DIM A$(n)).

basys3_terminal.bit  Load into the FPGA over USB (lost at power-off).
basys3_terminal.mcs  Write to the board's QSPI flash, so it starts at power-on
                     (set jumper JP1 to QSPI).

With Vivado's Hardware Manager: open the target, then Program Device with the
.bit, or Add Configuration Memory Device (s25fl032p-spi-x1_x2_x4, or
mx25l3273f-spi-x1_x2_x4 on newer boards) and program the .mcs.

With openFPGALoader:
  openFPGALoader -b basys3 basys3_terminal.bit        (into the FPGA)
  openFPGALoader -b basys3 -f basys3_terminal.bit     (into flash)

Plug a USB keyboard into the USB host port and a monitor into VGA. Flip SW15
up for Z-80 BASIC; down, the board is a serial terminal on the PROG/UART port.
For sound, plug a PmodAMP2 into the top row of JA and headphones or a speaker
into its jack.
The BASIC manual explains everything else.

The games (The Iron Keep, Bastion Raid, Star Warden, Star Swarm, Crystal
Cavern) aren't in the bitstream: they are memory files in the board's flash.
To put them there from the source download, see the games in README.md
(games/*/*.ihx with tools/send-hex.py, and each game's .bas loader).
