Cannot write Apple 2 images
Using with a Greaseweazle and an old TEAC 40-track DD drive.
I cannot successfully write any Apple 2 disk image.
fluxengine write apple2 --140 -d drive:0 -i "D:\roms\Apple2\DOUBLETALK (RC SYSTEMS) SIDE1.DSK"
OPTION: 140kB 5.25" 35-track SS
IMG: read 35 tracks, 1 sides, 140 kB total from D:\roms\Apple2\DOUBLETALK (RC SYSTEMS) SIDE1.DSK
Measuring rotational speed...
Using Greaseweazle GW002600413538510D34393631 on COM5
Rotational period is 200.1ms (299.8rpm)
W 0.0: writing 200 ms in 50000 bytes R 0.0: 240 ms in 61162 bytes 32 raw records, 15 raw sectors; 4.00us clock (250kHz) sectors: 0.0.0? 0.0.1? 0.0.2? 0.0.3! 0.0.4! 0.0.5! 0.0.6! 0.0.7! 0.0.8? 0.0.9! 0.0.10! 0.0.11! 0.0.12! 0.0.13! 0.0.14! 0.0.15? 2304 bytes decoded
bad read
retrying; 5 retries remaining
I have no problem writing Commodore D64 images with the exact same setup, so not sure why it will not write Apple GCR disks.
This looks like it's the wrong type of disk, either HD or DD. (DD disks have a stiffening ring around the centre of the cookie.) Either will work, but you need to tell it which you're using with --drive.high_density=true or =false.
It is DD. I mentioned I can write Commodore D64 images with the exact same disk and drive.
I've checked and the default is high_density=true, so writing the C64 disk shouldn't have worked. Could you try both the Apple and C64 disks with high_density=false and let me know what happens?
How do you change that setting? Is that just the checkbox for "this is high density disk". That is unchecked.
I also tried using the "custom button" and setting that, but it gets an error.
I attached the output of what I have used. The drive is a 40-track DD PC drive. I have an HD drive and that had a similar result, although not exactly the same.
You can e-mail me directly if you prefer conversation outside github. :)
When using the GUI it's that checkbox, yes, but on the CLI you need to specify --drive.high_density=false. For a 40-track drive you should also add 40track_drive but I don't think that's the problem here:
fluxengine write apple2 40track_drive --140 -d drive:0 -i "D:\roms\Apple2\DOS 3.4 Master disk.dsk"