André's 8-bit pages
Thankfully hosted by 6502.org.
(by Google)

CS/A65 PC floppy interface

This board implements a shugart bus interface as used in the standard PC floppy disk drives (5.25" and 3.5").
  •  
    2006-11-01 Added driver code.

PETCPU test

This file includes a small test program that does a "readaddress" command on the WDC and either prints the sector header (in reverse) or the WDC status register in case of an error.

This driver runs on a PETCPU with the Commodore PET ROMs (just 'dL"test1"' :-) and expects the card I/O at $E8C0 (WD177x) and $E8D0 (VIA).

OS/A65 shugart bus floppy driver

This driver handles the WD1770/1772 shugart bus floppy device. It is included in the fsibm filesystem code and provides the interface the filesystem expects.
  • DINIT - initialize the device
  • DFORMAT - format a floppy
  • GETDPB - get the disk parameter block that describes the disk format
  • RWSEC - read or write a sector
  • DLOOP - loop to check disk changed, or to switch motor on or off
The driver calls the method dchanged to signal that a disk has been changed.
 
drv_wd1770.a65(floppy driver)
 
wd1770.i65(wd1770 register definitions)

Version: 1.2A

Status: ok

Notes

 
This board implements a (shugart-type i.e PC-type) floppy disk controller. The board has been tested with 5.25" and 3.5" PC disk drives.
 
I can't reconstruct what mandated the move to a 1.2 revision. The only difference I can currently see is the jumper to select if DD/HD is soft-switchable or not. What can also be seen is that the hand- and computer-drawn schematics were not always fully in sync (see the revision marks and the respective dates...)
 
Using this board with HD-drives (i.e. 1.44M 3.5" floppies overclocks the WDC1772 chip used in this board, as it is only specified for DD-disks (720k).

Version: 1.0B

Status: ok

Notes

 
This board implements a (shugart-type i.e PC-type) floppy disk controller. The board has been tested with 5.25" and 3.5" PC disk drives.
 
Using this board with HD-drives (i.e. 1.44M 3.5" floppies overclocks the WDC1772 chip used in this board, as it is only specified for DD-disks (720k).

Last modified: 2006-11-01.

Return to Homepage

follow

Follow my 8-bit tweets on Mastodon (In new window) or Bluesky

discuss

Discuss my site on this 6502.org forum thread

(Forum registration required to post)

hot!

Dive into the retro feeling and build yourself a Micro-PET or a Multi-board Commodore 4032 replica

Need more speed? Speed up your 6502 computer with this 10 MHz 6502 CPU accelerator board

Interested in electronics design? Look at the design lesson I got from Bil Herd, the hardware designer of the C128

Want 64bit? - pimp the 6502 with the 65k processor design!