- z80_system: dual-clock graphics RAM behind ports 30h-34h (X/Y, plot
with auto-increment, read-back, hardware fill); text_display overlays it
under the text, colour 0 transparent.
- BASIC: CLS COLOR PLOT LINE RECT FILL CIRCLE POINT, LOCATE and INK;
faster keyword tokenizing.
- docs/basic-manual.md (+ PDF via docs/build-manual.sh).
- basic/examples/graphics-demo.bas and tools/send-bas.py to load programs
over the serial port.
- Simulation checks drawing and saves a frame; the emulator models the
graphics and timer ports and can stop when BASIC waits for input.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SW15 switches the terminal from the PC's serial line to a Z-80 running at
90 MHz from its own clock, with 64 KB of block RAM preloaded with BASIC.
- rtl/z80_cpu.v: Z-80 built for speed (one clock per memory access, next
byte read during decode), full documented instruction set plus the
common undocumented forms; no interrupts.
- rtl/z80_system.v: RAM, console/timer/7-segment ports, toggle handshakes
to the terminal clock.
- basic/: BASIC interpreter in C for SDCC, start-up code, prebuilt image.
- tools/z80emu.py, tools/cputest.py, scripts/cpusim.sh: reference emulator
and random tests comparing the CPU after every instruction.
- SW14 feeds the PC's UART into the Z-80 for pasting programs; BTND
resets the Z-80 only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- VGA 640x480@60 text display, 8x16 CP437 font ROM from Linux console fonts
- USB HID keyboard (PS/2 via onboard PIC24), scan code set 2 to ASCII
with xterm sequences for cursor/editing keys
- UART RX/TX with switch-selectable baud, local echo option
- Terminal engine: control codes, deferred wrap, hardware scroll,
VT100/ANSI subset (cursor moves, erase, reverse video, cursor hide)
- Vivado build/program/flash scripts and xsim whole-design testbench
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>