captain-amygdala / pistorm

68k Hardware Emulator
MIT License
746 stars 105 forks source link
amiga raspberry

PiStorm

logo

Join us on Discord or on Libera Chat IRC #PiStorm

Project information

Amiga-specific functionality

Since much of the initial work and testing for the PiStorm was done on Amiga computers, a number of extended features are available when the PiStorm is paired with for instance an Amiga 500:

Simple quickstart

You can now reach the PiStorm over SSH, check your router web/settings page to find the IP of the PiStorm, or run ifconfig locally on the PiStorm from the console.

Now the final steps to get things up and running, all of this is done from a command prompt (terminal) either locally on the PiStorm or over ssh:

Important note: If you are using Raspberry Pi OS "Bullseye", the main graphics backend for the OS has changed from dispmanx to DRM, and you need to follow these steps instead of just running make:

Next up, follow the steps for installing the FPGA bitstream update below. (Scroll down.)

If you are running the PiStorm in an Amiga computer, you can start the emulator with a basic default Amiga config by typing sudo ./emulator --config amiga.cfg.
In addition, the emulator will attempt to load a file called default.cfg if no config file is specified on the command line, so if you wish for the emulator to start up with for instance the basic default Amiga config, you can copy amiga.cfg to default.cfg.
Important note: Try not to edit the sample config files such as amiga.cfg, always save them under a different name, for instance one directory level below the pistorm directory.
One way to do this would be to copy for instance amiga.cfg like this: cp ./amiga.cfg ../amiga.cfg and then running the emulator using sudo ./emulator --config ../amiga.cfg. This way, you will never have any problems using git pull to update your PiStorm repo to the latest commit.

To exit the emulator you can press Ctrl+C (on the keyboard or over SSH) or press Q on the keyboard connected to the Raspberry Pi.

For Amiga, there is currently no Gayle or IDE controller emulation available, but PiSCSI can now autoboot RDB/RDSK hard drive images (and physical drives), with Kickstart 2.0 and up. Check out the readme in platforms/amiga/piscsi for more detailed information.

CPLD bitstream update :

Install OpenOCD: sudo apt-get install openocd

Run the CPLD update with ./flash.sh, this will automatically detect your CPLD version and flash appropriately.

If successful "Flashing successful!" will appear, if not it will fail with "Flashing failed" and nprog_log.txt will be created with more details.