Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.62 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.62 KB

CBM Tape Pi for Linux OS (e.g. Raspbian)

Marcel Timm, RhinoDevel, 2024, rhinodevel.com

This folder contains the source code of the Linux OS port of CBM Tape Pi which has work-in-progress state.

The compatibility mode of CBM Tape Pi must be used at least once to transfer the fast mode wedge PRG to the Commodore machine.

Doing this with the CPU only is not possible as the timing requirements are not met, because the Linux OS scheduler interrupts sending the signal.

But it can be done with DMA, which is finally implemented!!

Current state (March 3., 2024):

  • Sending program files to the Commodore works (tested with PET 3032, BASIC v4 and C64).
  • Raspberry Pi detects, if fast mode wedge got loaded on the Commodore and enters fast mode.
  • Execute sudo dtoverlay gpio-no-irq before loading a fast mode wedge to the Commodore, if your Raspberry Pi freezes while doing that (see this issue on GitHub). Alternatively add dtoverlay=gpio-no-irq to the content of the file /boot/config.txt.
  • Loading, saving, removing and directory traversal works in fast mode!

Next steps:

  • Do file system access (and later also other things, like networking) with non-root privileges for security and safety.
  • Some bugs to fix.
  • Source code clean-up.
  • ...

Nice things may happening in the future:

  • Access a USB stick via Commodore.
  • Internet/network access for the Commodore via Raspberry Pi.
  • Use DMA controller to speed up fast mode further.
  • Use Commodore as Linux terminal for Raspbian on the Raspberry Pi.
  • ...