Basys 3 RISC-V computer
The Basys 3 Z-80 computer with the Z-80 replaced by an RV32IM processor written from scratch (rtl/rv32_cpu.v): multi-cycle, 90 MHz, CSRs and traps, interrupts, two hardware triggers and a resumable NMI for the monitor. Passes riscv-tests rv32ui/um/mi. rv32_system.v keeps all the Z-80 machine's peripherals, with I/O port N at FFFFFF00h + N, 80 KB of RAM with BASIC preloaded, and a 32 KB monitor ROM. BASIC, the five games and the monitor (with an RV32 disassembler, assembler, breakpoints and single step) are ported to RISC-V GCC. Python emulator and tests in tools/; full-system simulation in sim/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
5930b958b4
103 files changed
+55677
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# terminfo for the Basys 3 FPGA terminal: a VT220 with 16 ANSI colours,
|
||||
# underline, blink, 80x32 (basys3) or 132x64 after ESC[?3h (basys3-w).
|
||||
# tic -x -o ~/.terminfo terminfo/basys3.ti then export TERM=basys3
|
||||
basys3|Basys 3 FPGA VT220 terminal with ANSI colour,
|
||||
lines#32, cols#80,
|
||||
colors#16, pairs#256,
|
||||
op=\E[39;49m,
|
||||
setaf=\E[%?%p1%{8}%<%t3%p1%d%e9%p1%{8}%-%d%;m,
|
||||
setab=\E[%?%p1%{8}%<%t4%p1%d%e10%p1%{8}%-%d%;m,
|
||||
invis=\E[8m,
|
||||
rmso=\E[27m, rmul=\E[24m,
|
||||
sgr0=\E[m\017\E(B,
|
||||
kbs=\177,
|
||||
khome=\E[1~, kend=\E[4~,
|
||||
kf5=\E[15~,
|
||||
indn=\E[%p1%dS, rin=\E[%p1%dT,
|
||||
cnl=\E[%p1%dE, cpl=\E[%p1%dF,
|
||||
hpa=\E[%i%p1%dG, vpa=\E[%i%p1%dd,
|
||||
cbt=\E[Z,
|
||||
use=vt220,
|
||||
basys3-w|Basys 3 FPGA terminal in 132-column mode,
|
||||
lines#64, cols#132,
|
||||
is2=\E[?3h, rs2=\E[?3h,
|
||||
use=basys3,
|
||||
Reference in new issue
Block a user