6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 4:02 am

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Fri Dec 08, 2017 4:06 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1250
Location: Soddy-Daisy, TN USA
Has anyone here ever designed their own floppy disk controller in the spirit of Steve Wozniak? Meaning, have you ever just taken the drive mechanics and designed a controller for the drive?

When I study how the Apple II Disk was created and study how more advanced drives like the 1541 were designed, I can't help but feel drawn into trying my hand at something similar. Not that I actually would any time soon...too many other projects.

But it sure would seem like a lot of fun.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 08, 2017 4:45 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Now there's a project idea!


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 08, 2017 11:04 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
If you're going to do that, don't forget to kick it up a notch and go with a multi-speed drive ala the Apple Macintosh.


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 10, 2017 1:32 am 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1949
Location: Sacramento, CA, USA
I seem to remember reading somewhere that Woz had a difficult time getting his design completed, because every time he fell asleep he woke up almost back at square one. He finally managed to stay up long enough to finish, then likely collapsed from exhaustion. I am orders of magnitude less talented than Woz, so it would be an absolutely hopeless endeavor for me, even if I wanted to do something similar.

Mike B.


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 10, 2017 9:41 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
(Woz relates the story in this 1984 interview published in BYTE magazine:
Quote:
It was a difficult routine to write. It was about a 20-hour job, and I’d work through the day for 10 or 12 hours and I wouldn’t quite get there. The next day I’d come back and find out that I was starting exactly where I had the day before. This went on for almost a month. I was not quite getting the routines, and we were getting within a month of shipping the disk drives. Finally I stayed up all night until I got all five routines that had to work together done. So we were able to ship it the first time with the group coded recording in place. Later. we changed the encoding method and stepped up to 16 sectors. That was DOS 3.3.




There's more interesting reading at woz.org and folklore.org

)


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 10, 2017 10:37 am 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
If I recall correctly wasn't woz using bare (and faulty) shugart mechanisms with no drive electronics?

It might be easier to work with pc floppy drives? I'd be interested in such a project to the nuts and bolts of how it works but I'm not anywhere near smart enough to do it myself


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 10, 2017 7:32 pm 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
One thing that has worked wonders for me when working on complex stuff is modern version control - when I get back (the next day, or the next week, or the next year), I do a 'git log' and can see my earlier thinking laid out sequentially. That gets my mind on track again and I can continue where I left off.
Otherwise it would be a lot like going back to squre one every time..


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 20, 2017 4:23 am 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
Here's a PC style floppy controller someone built using an FPGA: http://www.craigsarea.com/vhdl_disk.html
Not only is there the code listing but also his university project explaining everything


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 20, 2017 10:05 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
On a recent search around the web, I found some info around an upgraded floppy controller that Atari did, based on the WD1772. As the older WD1772 only supports slower data rates (1MB 3.5-inch drive, aka 720KB formatted), Atari was initially hand-selecting specific chips to run their double density drives (2MB 3.5-inch drive, aka 1.44MB). As this was a longer term problem, they actually designed a upgrade replacement controller that handles the higher data rates. Here's a link with more detail:

http://www.best-electronics-ca.com/custom-i.htm#Ajax

I decided to pick up a few chips for future project use, a bit pricey at $29.95 however, but they appear to have ample stock for the time being. For anyone opting to build a (somewhat classic) floppy controller with a minimal parts count, these are a pretty good option.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 20, 2017 6:37 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
floobydust wrote:
...http://www.best-electronics-ca.com/custom-i.htm#Ajax

I decided to pick up a few chips for future project use, a bit pricey at $29.95 however, but they appear to have ample stock for the time being.

Thirty bucks each? Ouch! :D

What about a data sheet?

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 20, 2017 10:10 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
BigDumbDinosaur wrote:
floobydust wrote:
...http://www.best-electronics-ca.com/custom-i.htm#Ajax

I decided to pick up a few chips for future project use, a bit pricey at $29.95 however, but they appear to have ample stock for the time being.

Thirty bucks each? Ouch! :D

What about a data sheet?


True, on the pricey side... as for a datasheet, shouldn't need one. It's just a WD1772 that will handle a 16MHz clock input and support double the date rate and storage capacity with the later 2MB diskette drives. All commands, status, etc. are the same.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 21, 2017 8:17 am 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
I picked up a 1773 today relatively cheap, $6 aud https://www.ebay.com/itm/WDC-WD1773-PH- ... SwT2daJ6Z~

Remains to be seen if it’s real.

:edit: for some reason I thought this one would support HD data rates. No idea what I was thinking :/
Guess I don’t need 1.44MB anyway


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 57 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: