zf3 / neoapple2

Port of Stephen A. Edwards's Apple2fpga to PYNQ-Z1 (Xilinx Zynq FPGA), to emulate an Apple II+.
43 stars 2 forks source link
fpga mister retrocomputing retrogaming zynq

Apple II+ Emulation on PYNQ-Z1

NeoApple2 - A Port of Apple2fpga to Xilinx Zynq

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,

My set-up

Set up hardware and run the binary package

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,

  1. Plug the Pmod PS2 into the upper level of PMODA socket on Z1. Then plug the PS/2 keyboard into the Pmod PS2.
  2. Connect the Z1 board to your monitor through the HDMI OUT port on Z1.
  3. Connect your speaker cable or headphone to the audio jack on the left side of Z1.
  4. Connect Z1 to your computer with the MicroUSB cable.
  5. Switch the JP4 jumper (top-left) to MicroSD position. In this setting the board boots from the MicroSD card.
  6. Plugging the MicroSD card it into your computer with a card reader. Then format it in FAT32 (exFAT probably also works). Then copy the BOOT.BIN file to the root directory.
  7. Copy any Apple II disk images you have to the MicroSD card, also root dir. The Internet Archive has a rich library of these. Only .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,

Common Apple II commands,

CATALOG
PR#6
CALL -1184
LOAD
RUN
BRUN

Compile from source

Brief instructions for compiling from source.

In-depth

I wrote about the design and implementation of the system in the technical report.

Video demo:

Youtube video

Feedback

Please leave your comments and feedback here.