pi1541 / Pi1541

Commodore 1541 emulator for the Raspberry Pi
GNU General Public License v3.0
369 stars 80 forks source link

Any plan for a Pi0 2 port? #226

Open andreacampanella opened 2 years ago

andreacampanella commented 2 years ago

Maybe I missed in my research but I was wondering if there is any plan to port it to the Pi zero 2? I've been out of the loop for a while so I don't really know if there is going to be any performance improvement over the normal one.

gestorum commented 2 years ago

Works for me on my RPi zero 2 using a new build from v1.24 source code but I first need to disable my Epyx Fastload original cartridge (1984) to be able to load files properly.

EddyBeaupre commented 2 years ago

Made it wirk on my Pi Zero 2w with Epyx FastLoad. Here's what i had to do:

  1. Install Raspberry OS on a spare SD and boot your Pi Zero 2W with it.
  2. Update everything (apt update && apt dist-upgrade -y)
  3. Install the toolchain to compile a Pi1541 Kernel.
  4. Compile a Kernel on the Pi Zero 2W itself (tested with v1.24 and master).
  5. Use "bootcode.bin", "fixup.dat" and "start.elf" from the /boot partition of the SD.
  6. Add "arm_freq=1200" to the Pi1541 "config.txt", my Pi is stable without any over-voltage, but you can also add " over_voltage=6" to be on the safe side.
  7. Comment out "GraphIEC = 1" in options.txt if set.
  8. I also had to disable the buzzer, it sometime got stuck with a tone, but the Pi1541 was working well with it.

Your milleage may definitly vary....

gestorum commented 2 years ago

The config.txt tweak did the job. Thanks for your help. Also work well so far with the following config:

[pi02] arm_freq=1150 over_voltage=2 gpu_freq=500 sdram_freq=500 over_voltage_sdram=2

SteveGuidi commented 2 weeks ago

Made it wirk on my Pi Zero 2w with Epyx FastLoad. Here's what i had to do:

  1. Install Raspberry OS on a spare SD and boot your Pi Zero 2W with it.
  2. Update everything (apt update && apt dist-upgrade -y)
  3. Install the toolchain to compile a Pi1541 Kernel.
  4. Compile a Kernel on the Pi Zero 2W itself (tested with v1.24 and master).
  5. Use "bootcode.bin", "fixup.dat" and "start.elf" from the /boot partition of the SD.
  6. Add "arm_freq=1200" to the Pi1541 "config.txt", my Pi is stable without any over-voltage, but you can also add " over_voltage=6" to be on the safe side.
  7. Comment out "GraphIEC = 1" in options.txt if set.
  8. I also had to disable the buzzer, it sometime got stuck with a tone, but the Pi1541 was working well with it.

Your milleage may definitly vary....

I'm about to start on this project in the upcoming weeks and wanted to ask if the ancillary Pi Zero 2w steps are still needed. I found @EddyBeaupre's github page that nicely packages the above steps, but the main Pi1541 page now provides Pi Zero 2(but not W) firmware.