Direkt zum Hauptinhalt

USB -> Floppy Drive Adapter

Beschreibung

Möchte man 3,5" Zoll Disketten lesen und schreiben am heutigen Computer. Wird die Auswhl eng.
Während es für 1,44 MB Disketten USB Laufwerke gibt sieht es bei  5,25" Zoll schlecht aus.
Aber es gibt Adapter um ein C64 Floppy Drive anzuschließen.

Vorraustzungen

C64 Laufwerk mit DIN Anschluss

commodore-diskettenlaufwerk-1541.jpg

Din Anschluss Anschlusskabel :

s-l1600.jpg

USB Adapter

s-l1600.jpg

Zu kaufen bei : https://www.ebay.de/itm/164239154127

Installation unter Linux

Abbhängigkeiten installieren

sudo apt-get install libusb-dev build-essential linux-headers-generic git libncurses-dev

Die eigentlichen Programme installieren

cd ~
git clone https://github.com/cc65/cc65.git
cd cc65
make

Ausgabe:
gcc -O3 -Wall -Wextra -Wno-char-subscripts  -o ataricvt ataricvt.c
gcc -O3 -Wall -Wextra -Wno-char-subscripts  -o gamate-fixcart gamate-fixcart.c
make[2]: Für das Ziel „zlib“ ist nichts zu tun.
make[1]: Für das Ziel „all“ ist nichts zu tun.
Diese Ausgabe ist okay

sudo PREFIX=/usr make install

Oder die deb runterladen
https://software.opensuse.org//download.html?project=home%3Astrik&package=cc65

Nun das CBM Paket downloaden.

https://sourceforge.net/projects/opencbm/files/opencbm/opencbm-0.4.99.99/opencbm-0.4.99.99.tar.bz2/download

Nun ins Downloadverzeichnis gehen

cd ~/Downloads
tar -xf opencbm-0.4.99.99.tar.bz2

ggf falls versionsnummer abändern
cd ~/opencbm-0.4.99.99
make -f LINUX/Makefile opencbm plugin-xum1541
sudo make -f LINUX/Makefile install install-plugin-xum1541
sudo ln -s /usr/local/lib/libopencbm.so.0 /usr/lib/libopencbm.so.0

Testen

Mit dem Befehl testen wir die Verbindung

sudo cbmctrl detect

Ausgabe, die Nummer ist die Laufwerksnummer mit der wir das Laufwerk ansprechen:

8: SpeedDOS 1541 

Bedienung

Parameter

sudo cbmctrl <Befehl> <Laufwerksnummer>

Befehle
dir       output the directory of the disk in the specified drive
download  download memory contents from the floppy drive
upload    upload memory contents to the floppy drive
change    wait for a disk to be changed in the specified drive