Feng Zhou, 2021-7
EN | 中文
This is a port of Stephen A. Edwards's Apple2fpga to Xilinx Zynq platform. It runs on the PYNQ-Z1 FPGA board and emulates an Apple II Plus computer on the board. Here are the main features,
Easy way to get started is to download the binary package. There is a BOOT.BIN file inside it. This includes everything you need in terms of software. Before you can run that, however, you need the following hardware parts,
To hook the hardware up,
BOOT.BIN
file to the root directory..nib
files are supported.
But .dsk
and .do
can easily be converted to .nib
by dsk2nib.Now turn on the PYNQ Z1. Press any key on the keyboard. And you should be greeted with the ]
prompt in a couple of seconds.
To load a disk image, open any serial console software on your PC (for example Putty). Then you have a command line,
list
to list all disk images.load <x>
to load a disk image.Common Apple II commands,
CATALOG
PR#6
CALL -1184
LOAD
RUN
BRUN
Brief instructions for compiling from source.
neoapple2/
to get the XSA that defines the hardware "platform".
neoapple2/neoapple2.tcl
in Vivado Tcl Shell to create actual project files.neoapple2.xpr
in Vivado.File -> Export Hardware -> Include bitstream -> neoapple2.xsa
Tools -> Launch Vitis IDE
neoapple2ui
to generate final SD card boot image,
neoapple2ui
workspace, open it by File -> Switch Workspace
.File -> New -> Platform Project
and name the project neoapple2
and for "hardware specification", choose the neoapple2.xsa
file generated above. Then press Finish
.Project -> Build All
to build everything. If things went well, you will get the boot image at neoapple2ui/neoapple2ui_system/Debug/sd_card/BOOT.BIN
.I wrote about the design and implementation of the system in the technical report.
Video demo:
Please leave your comments and feedback here.