News for hackers. Stuff that matters.
Re:Newly recovered Ground Zero photos show why you should ba... by WalterBright on Monday June 17, 2019 @04:38AM (#20201010)
I buy new hard drives every year and copy all the data to them.

Edit: It's not just the longevity of the drive (though after 20 years they often don't work at all). Drive interfaces change over time, and I have drives where there is no way to hook them up to a newer computer, and my old computers failed due to capacitor problems.

For example, good luck trying to read a 5.25" floppy. You'll need to build your own hardware and write your own device driver to do it.

Just keep copying it all forward every year. Multi-terabyte hard drives are cheap.

Re:Newly recovered Ground Zero photos show why you should ba... by tialaramex on Monday June 17, 2019 @05:45AM (#20201314)
The philosophy of just copying data makes sense, but your justification not so much.

> Drive interfaces change over time, and I have drives where there is no way to hook them up to a newer computer

20+ year old PC drives will have IDE interfaces, which you can of course get a USB adaptor for very cheaply and I have several laying about. Really old PCs or non-PC hardware (e.g. the Amstrad CPC 6128 in the 1980s had an after market hard disk option) will need a different adaptor, but it's still just not that hard, and certainly shouldn't be categorised as "there is no way".

> For example, good luck trying to read a 5.25" floppy. You'll need to build your own hardware and write your own device driver to do it.

You can easily buy refurbished 5.25" drives, and you can convert the data signal (which for a PC was basically the same as for 3.5" drives, but with a different physical connector) to USB. They're bulky and they need a lot of power at 12 volts, which is probably why off-the-shelf 5.25" USB floppy drives aren't a thing unlike for 3.5", but it won't require that you "build your own hardware" in any real sense.

You're only going to need to go writing device drivers if you've got some crazy disk format, and it'd have to be pretty crazy because the Catweasel already covered a lot of that territory (a Catweasel was a thing for Amigans, whose disks are a crazy format, to let them use PC disk drives to read their disks years ago, the last ones have an FPGA in them so that the uploadable firmware can decide how to control the drive).

Re:Newly recovered Ground Zero photos show why you should ba... by WalterBright on Monday June 17, 2019 @04:28PM (#20206998)
I have several 5.25 drives laying around. The connectors still fit on them to the motherboard, but the BIOS no longer recognizes them, though the BIOS will recognize 3.5 floppy drives.

I can't find any device that connects the drive with the computer that doesn't require writing a device driver.

It's not a crazy disk format, it's DOS format.

As for hard disk drive interfaces, I have a couple off the shelf USB interfaces to IDE drives. The connectors fit, but they don't recognize the older drives.

Re:Newly recovered Ground Zero photos show why you should ba... by tialaramex on Tuesday June 18, 2019 @05:43AM (#20211063)
I can't speak to what's up with the BIOS versus 5.25" drives, beyond to say that I'm confident somebody out there has this working without writing device drivers.

For the USB to IDE thing, my guess would be that the USB interfaces you tried want to do some newer incarnation of ATA than the drive supports and so they can't communicate, at the extreme that could be LBA48 (48-bit logical block addressing, which is from this century and so obviously isn't going to work on say a 20 year old hard disk) but it could even be DMA, which was optional in early ATA specifications and might have been skipped by cheap manufacturers back in the day.

I don't think logical addressing itself was ever optional, but I guess it's possible that a _really_ old IDE drive might not implement it and yet work anyway in DOS which didn't originally use LBA mode. Doing CHS mode really would be asking a lot, compared to PIO (the alternative to DMA) which really a competent implementation of that USB adaptor ought to be able to do, slowly like a real PC.

Re:Newly recovered Ground Zero photos show why you should ba... by WalterBright on Tuesday June 18, 2019 @03:13PM (#20217156)
> I'm confident somebody out there has this working without writing device drivers.

I google search for it now and then, and come up with nothing that can be simply installed and used.

Re:Newly recovered Ground Zero photos show why you should ba... by WalterBright on Monday June 17, 2019 @04:38PM (#20207105)
In the early 80's, I had a PDP-11 with an 8" floppy drive. When I bought an IBM PC, I used Kermit to transfer my files to the PC over the serial cable. Fast forward 30 years, and I had put my PDP-11 Empire game up on github. Someone emailed me that it was missing a file. I was dead in the water, having gotten rid of the 11 long ago.

I recalled my roommate in college might have one. Called him up, he said he was about to discard it, I called him just in time! He said it was unlikely to work (been a long time since it was powered up), and unlikely to be able to read those ancient floppies, but was willing to try.

I had kept the floppies in the attic, and mailed them to him.

They all read perfectly! He sent me all the files on them, and bit images of the disks.

Thank you Shal, and thanks DEC for making machines and floppies that still worked.

https://github.com/DigitalMars/Empire-for-PDP-11

I wish I'd kept my 11.

Re:Newly recovered Ground Zero photos show why you should ba... by walrus01 on Monday June 17, 2019 @05:36AM (#20201264)
> For example, good luck trying to read a 5.25" floppy. You'll need to build your own hardware and write your own device driver to do it.

It's really not that hard, assuming some older PC format. Motherboards up to the 486DX4/120 generation had onboard controllers for the cable to interface to a standard AT type, half height 5.25" drive. I had one in my PC at the time. They read 360KB disks fine too.

From that sort of computer, which can run DOS 6.22, it's not too hard to use it to transfer the data to a modern machine.

https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.eb...

If you mean good luck trying to read a 5.25" disk due to magnetic degradation on the media,that's another problem.

Re:Newly recovered Ground Zero photos show why you should ba... by WalterBright on Monday June 17, 2019 @04:32PM (#20207031)
> From that sort of computer, which can run DOS 6.22, it's not too hard to use it to transfer the data to a modern machine.

Well, yes, if you have an old computer with 3.5 and 5.25 drives, you can transfer to a 3.5 and read that on a modern computer. The trouble is, my old computers all failed due to capacitor problems.

I can buy a 3.5 floppy usb drive, plug it into any computer, and it works. Not so for 5.25.

> If you mean good luck trying to read a 5.25" disk due to magnetic degradation on the media,that's another problem.

I haven't had much issue with that. About 20 years ago, I transferred my thousand or so floppies one by one to CD ROMs, and later to hard disks. Only a couple were unreadable. I've since found a handful of others, but no way to read them any more.

Re:Newly recovered Ground Zero photos show why you should ba... by westpfelia on Monday June 17, 2019 @05:03AM (#20201121)
So this isnt a way to actively use a 5.25" floppy for storage... but if you have data on one you want to save this is an option:

http://www.cbmstuff.com/proddetail.php?prod=SCP

Re:Newly recovered Ground Zero photos show why you should ba... by WalterBright on Monday June 17, 2019 @05:19AM (#20201190)
Thanks for the tip! But it doesn't seem to present the floppy data as a file system :-(