#acl FreaknetGroup:read,write,admin,delete,revert All:read = AMSTRAD PCW 9256 disk dump = <> == how to == Disk is 3" model EME 232 model We use this howto: https://dmcmillan.co.uk/blog/imaging-an-amstrad-pcw-disk but with THIS cable: {{{ PCW Pin 1 > GND > Ground > Greaseweazle Pin 1 PCW Pin 2 > INDEX > Index > Greaseweazle Pin 8 PCW Pin 4 > DRV1 > Drive select 1 > Greaseweazle Pin 12 (NOT 10!!!) PCW Pin 6 > N/C > (not connected) > (not connected) PCW Pin 8 > MED1 > Motor enable drive 1 > Greaseweazle Pin 16 PCW Pin 10 > DIR > Direction select > Greaseweazle Pin 18 PCW Pin 12 > STEP > Head step > Greaseweazle Pin 20 PCW Pin 14 > WDAT > Write data > Greaseweazle Pin 22 PCW Pin 16 > WGAT > Write gate > Greaseweazle Pin 24 PCW Pin 18 > TRK0 > Track 0 > Greaseweazle Pin 26 PCW Pin 20 > WPT > Write protect > Greaseweazle Pin 28 PCW Pin 22 > RDAT > Read data > Greaseweazle Pin 30 PCW Pin 24 > S1 > Side 1 select > Greaseweazle Pin 32 PCW Pin 26 > RDY > Ready > Greaseweazle Pin 34 }}} and greaseweazle with this command line: {{{ gw read --tracks=c=0-39:h=0:step=1 --revs=6 --drive b --format=ibm.scan wip.dsk }}} https://github.com/damieng/DiskImageManager * https://forum.vcfed.org/index.php?threads/writing-imd-and-td0-images-to-floppy-that-have-a-single-density-first-track.74023/ * https://github.com/damieng/DiskImageManager == APPUNTI == === formato dei dischetti da 3 pollici === le etichette sui floppy riportano CF-2, il cui layout e' per ciascun lato del floppy: 40 tracce / 9 settori per traccia / 512 byte per settore in realta' i dischetti sono utilizzati come CF-2 DD (doppia densita'), il cui layout e': 80 tracce per lato / 9 settori per traccia / 512 byte per settore questo tipo di formato prevede che un floppy sia usato su entrambi i lati come un unico medium, a differenza del CF-2 con il quale e' come se ciascun lato fosse un dischetto a se. per cui l'immagine binaria (raw/dsk) di un dischetto "pesa" 80*9*512*2 = 737280 bytes (720k) NOTA: il formato fisico e' lo stesso per i floppy CF-2 e CF-2DD. Semplicemente a un certo punto sono stati prodotti dei drive in grado di leggere/scrivere a doppia densita'. I dischetti da 3 POLLICI prodotti dopo l'introduzione dei nuovi drive sono stati commercializzati come CF2-DD anche se identici ai vecchi CF-2. Dunque, come nel nostro caso, un dischetto con l'etichetta CF-2 puo' benissimo essere letto/scritto a doppia densita' su un drive da 3'' piu' recente. === cablaggio === {{{ PCW Pin 1 > GND > Ground > Greaseweazle Pin 1 PCW Pin 2 > INDEX > Index > Greaseweazle Pin 8 PCW Pin 4 > DRV1 > Drive select 1 > Greaseweazle Pin 12 (NOT 10!!!) -> gw will see the drive as B PCW Pin 6 > N/C > (not connected) > (not connected) PCW Pin 8 > MED1 > Motor enable drive 1 > Greaseweazle Pin 16 PCW Pin 10 > DIR > Direction select > Greaseweazle Pin 18 PCW Pin 12 > STEP > Head step > Greaseweazle Pin 20 PCW Pin 14 > WDAT > Write data > Greaseweazle Pin 22 PCW Pin 16 > WGAT > Write gate > Greaseweazle Pin 24 PCW Pin 18 > TRK0 > Track 0 > Greaseweazle Pin 26 PCW Pin 20 > WPT > Write protect > Greaseweazle Pin 28 PCW Pin 22 > RDAT > Read data > Greaseweazle Pin 30 PCW Pin 24 > S1 > Side 1 select > Greaseweazle Pin 32 PCW Pin 26 > RDY > Ready > Greaseweazle Pin 34 }}} alimentazione: speculare rispetto a un normale (12V e 5V invertite) === greaseweazle: lettura disco -> "raw flux" file (formato SuperCard Pro) === {{{ $ gw read –revs=6 –drive B –tracks=c=0-79:h=0-1 file.scp }}} === greaseweazle: conversione scp -> dsk (immagine binaria raw) === {{{ $ gw convert --tracks=c=0-79:h=0-1 --format ibm.scan file.scp file.dsk }}} === greaseweazle: conversione scp -> edsk (immagine binaria con headers per emulatori) === {{{ $ gw convert --tracks=c=0-79:h=0-1 --format ibm.scan file.scp file.edsk }}} === plot layout tracce/settori/lati === {{{ $ ./hxcfloppyemulator }}} Load -> selezionare file scp -> Track analyzer === lista/estrazione files con cpmtools (serve cpmtools.diskdef) === {{{ # apt install cpmtools # cat cpmtools.diskdef >>/etc/cpmtools/diskdefs $ cpmls -f cf2dd file.dsk # <- lista delle "user area" e dei file in essi contenuti 1: file1 file2 [...] 4: file7 file8 $ cpmcp -f cf2dd file.dsk 1:* destdir/ # <- copia tutti i file dalla user area 1: a destdir/ [...] $ cpmcp -f cf2dd file.dsk 4:* destdir/ # <- copia tutti i file dalla user area 4: a destdir/ }}} === conversione files da locoscript a rtf/doc con ailink (https://ai.ansible.uk/ailink.html) === * serve windows (o wine) * selezionare destdir * premere su convert, scegliere i file === emulatore joyce === https://www.seasip.info/Unix/Joyce/index.html {{{ $ unzip joyce-2.4.2.zip ; cd joyce-2.4.2/ ; ./configure ; make $ bin/xjoyce -a locoscript_2.edsk -b file.edsk ...pero' non si capisce cosa si deve fare per aprire un file XD }}}