Formatting real floppy-disks beyond 2 megabytes

Karlsterio
Posts: 2
Joined: Sun Jul 09, 2023 10:39 am

Formatting real floppy-disks beyond 2 megabytes

Unread post by Karlsterio »

Has anyone tried the 2M program with ao486? It's a memory-resident program that allows formatting disks beyond the capacity of MS-DOS. Would it work with a 3.5 USB drive connected to the FPGA?

More info about it here: https://en.wikipedia.org/wiki/2M_(DOS)

User avatar
dickhardpill
Posts: 292
Joined: Tue Apr 09, 2024 9:28 pm
Location: Not Portland, OR
Has thanked: 74 times
Been thanked: 60 times
Contact:

Re: Formatting real floppy-disks beyond 2 megabytes

Unread post by dickhardpill »

I would start with the drive and the terminal/ssh to see if it shows up in dmesg

ETA: I just realized

Code: Select all

lshw

and

Code: Select all

lsusb

work on MiSTer

Bas
Top Contributor
Posts: 623
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 80 times
Been thanked: 324 times

Re: Formatting real floppy-disks beyond 2 megabytes

Unread post by Bas »

Not likely. Such programs want direct or at least quite low level access to the drive to push the geometry beyond spec. I'm unaware of methods to directly loop a floppy drive into the AO486 as if it were physically attached to a simulated controller. As far as I know, AO486 pushes and pulls sectors from MiSTer Main and the abstraction of the drive sits there. It might be possible to use /dev/fd0 as a backing store for just a bunch of sectors, but DOS on the FPGA will never be able to address the real tracks/sectors on the drive because of the abstraction.

Karlsterio
Posts: 2
Joined: Sun Jul 09, 2023 10:39 am

Re: Formatting real floppy-disks beyond 2 megabytes

Unread post by Karlsterio »

Bas wrote: Tue Oct 22, 2024 1:17 pm

Not likely. Such programs want direct or at least quite low level access to the drive to push the geometry beyond spec. I'm unaware of methods to directly loop a floppy drive into the AO486 as if it were physically attached to a simulated controller. As far as I know, AO486 pushes and pulls sectors from MiSTer Main and the abstraction of the drive sits there. It might be possible to use /dev/fd0 as a backing store for just a bunch of sectors, but DOS on the FPGA will never be able to address the real tracks/sectors on the drive because of the abstraction.

It's a pity. I have several disks formatted this way, and I would like to recover the information on them. Although after so many years, I don't think anything in this universe could read them anymore. Thanks anyway!

rhester72
Top Contributor
Posts: 1323
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 213 times

Re: Formatting real floppy-disks beyond 2 megabytes

Unread post by rhester72 »

Karlsterio wrote: Tue Oct 22, 2024 2:52 pm

It's a pity. I have several disks formatted this way, and I would like to recover the information on them. Although after so many years, I don't think anything in this universe could read them anymore. Thanks anyway!

Your best bet is a preservation-style bitcell dump and then analyze and extract from there (which is utterly outside the realm of MiSTer).

User avatar
Krypto
Posts: 26
Joined: Thu Mar 25, 2021 12:22 am
Has thanked: 27 times
Been thanked: 6 times

Re: Formatting real floppy-disks beyond 2 megabytes

Unread post by Krypto »

Using Linux, mtools should support the 2m format. You might need to use a "real" floppy drive and not a USB one, though.

https://www.gnu.org/software/mtools/manual/mtools.html#

Bas
Top Contributor
Posts: 623
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 80 times
Been thanked: 324 times

Re: Formatting real floppy-disks beyond 2 megabytes

Unread post by Bas »

I'd try something like a flea market or online 2nd hand site to get an ancient PC. Many of those have floppy drives. Those machines could probably read your 2M formatted disks. Any local computer museum, if there are an in your area, is probably also able to help.

Post Reply