kbr-net / sdrive-max

Arduino based Atari 8-bit Floppy Emulator with Touchscreen
http://www.kbrnet.de/projekte/sdrive-max/index.html
GNU General Public License v3.0
92 stars 23 forks source link

Creating New disks doesn't respect drive setting. #17

Closed a8bit closed 4 years ago

a8bit commented 5 years ago

Creating a new disk should respect the disk setting in CFG (810 if not selected, 1050 if selected) but it doesn't.

Creating a new disk creates a notional disk that only gets physically created when formatted. If you format with DOS2, you get 90K, if you format with DOS2.5 you get 130K regardless of what drive you have selected.

Getting 90K with DOS2.0 if you are using a 1050 is correct but getting a 130K with DOS2.5 if you are using an 810 is incorrect.

LameLefty commented 5 years ago

As well, the SDrive-MAX firmware should recognize and respond to the standard SpartaDOS X FORMAT commands for creating a NEW disk image. Currently this fails However, if I first boot from Atari DOS, then create a NEW image and format as either a single or enhanced density disk form Atari DOS, I can then boot SpartaDOS X, and reformat that same container ATR file with the SpartaDOS X FORMAT command, but I cannot reformat that ATR to double-density.

kbr-net commented 4 years ago

The drive setting in CFG is only relevant to timing parameters for ATX files. The NEW file option detects the format on the format command, which is the atari sending. DD is not supported yet.

Mi1ezDR commented 4 years ago

I'm not sure if this should be closed quite yet. I'm also unable to use the FORMAT command in SpartaDOS X. Any attempt to do so immediately causes the "new" drive to spit back out an error so that you're unable to choose any other options since SpartaDOS X thinks the drive is now invalid. It seems as if the command it trying to communicate with the drive to discover its capabilities and then errors out.

iCityWork commented 4 years ago

I am having issues trying to format as well, using MyDos. It will fail with error 160 (I think, not with a device at the moment), multiple times, then just work. Very strange indeed.

kbr-net commented 4 years ago

This may be an other issue, than the first poster entered!

iCityWork commented 4 years ago

True, sorry about that. I will post the issue when I am home and can report exactly what is going on.

kbr-net commented 4 years ago

Thanks!