Apple II expansion card using a Raspberry Pi for I/O
Go to file
2021-05-31 20:46:55 -04:00
Apple2 Change firmware to wait for RPi ready 2021-06-01 00:37:38 +00:00
Hardware Update image to fourth prototype 2021-03-23 21:10:06 -04:00
RaspberryPi Change firmware to wait for RPi ready 2021-06-01 00:37:38 +00:00
.gitignore Change firmware to wait for RPi ready 2021-06-01 00:37:38 +00:00
LICENSE Change to MIT license 2021-03-23 22:27:36 -04:00
README.md Update README.md 2021-05-31 20:46:55 -04:00

Apple2-IO-RPi

Apple II expansion card using a Raspberry Pi for I/O

Image of Board

Purpose

The purpose of this project is to provide I/O for an Apple II series 8 bit computer via a Raspberry Pi Zero W which is powered by the Apple II expansion bus. This includes using the attached RPi Zero W for it's storage, network and processor to provide new functionality for the Apple II.

Project Status

So far, this is a project and not a finished product. The current prototype is on the fourth revision and a few have been assembled and tested. It is now possible for the Apple II to boot from and write to a virutal hard drive image stored on the RPi in any slot and execute simple commands on the RPi via the Apple II. The code has no error handling or tests yet and is incomplete.

Features

  1. Boot menu which waits for RPi to be ready
  2. ProDOS bootable drive from image stored on RPi
  3. Execute Linux commands on the RPi from the Apple II
  4. Load binary files directly from the RPi to the II
  5. Update Apple II firmware in place from image on RPi

Roadmap

  1. Proper ProDOS clock driver (currently just directly sets values on block reads)
  2. Support for direct file read/write without drive image
  3. Image conversion on download
  4. Web service call support
  5. Full terminal emulation
  6. Remote code execution
  7. Proxy VNC connection, rendering as Apple II compatible graphics

Setup

  1. Have PCBs made from the gerber and drill files in the Hardware folder or email me for a blank or fully assembled board
  2. Solder chips, header and capacitors in place
  3. Attach Raspberry Pi Zero W facing outward from the card
  4. Install Raspberry Pi OS on microSD card https://www.raspberrypi.org/software/
  5. Configure wifi in boot/wpa_supplicant.conf https://howtoraspberrypi.com/how-to-raspberry-pi-headless-setup/
  6. Add empty ssh file boot (for ssh access over wifi)
  7. Put microSD card in the RPi
  8. Install the expansion card into the Apple II
  9. Power on the Apple II
  10. Update firmware with utility (not written yet) or use EPROM programmer
  11. sudo apt install git golang
  12. git clone https://github.com/tjboldt/Apple2-IO-RPi.git
  13. cd Apple2-IO-RPi/RaspberryPi/apple2driver
  14. go get
  15. go build
  16. ./apple2driver ../Apple2-IO-RPi.hdv
  17. Setup the Driver as a service or to autostart via cronjob (crontab -e then add the line @reboot /home/pi/Apple2-IO-RPi/RaspberryPi/apple2driver/apple2driver /home/pi/Apple2-IO-RPi/RaspberryPi/Apple2-IO-RPi.hdv > /home/pi/Apple2-IO-RPi/RaspberryPi/Apple2-IO-RPi.log)

Update

  1. Restart Apple II
  2. Select run command
  3. git pull
  4. Restart Apple II
  5. Select boot
  6. -UPDATE.FIRMWARE
  7. Enter slot number the card is in
  8. Wait for firmware update to complete all four pages

Similar Project

If you prefer having Apple II peripherals control a Raspberry Pi rather than simply using the Raspberry Pi to provide storage, network access and processing to the Apple II, have a look at David Schmenk's excellent Apple2Pi project.