Commodore 1581

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Commodore 1581
Commodore 1581 01.jpg
Commodore 1581
Manufacturer Commodore Business Machines, Inc.
Type Floppy drive
Release date 1987 (1987)
Introductory price USD 399 (1987) USD 800 (2016 equivalent)[1]
Discontinued 1990[2]
Media 3½" floppy disk DS[2] DD[3] using MFM[4]
Operating system CBM DOS 10.0[3]
CPU MOS 6502 @ 2 MHz, WD1770[2] or WD1772[5]
Memory 8 kB RAM 32 kB ROM[2]
Storage 800 kB[3]
Connectivity Commodore proprietary serial IEEE-488[6] burst mode 9000 bytes/s[7]
Power 220 V 50 Hz 10 W[6]
Dimensions 63 x 140 x 230[6]
Weight 1.4 kg[6]
Backward
compatibility
Commodore 64

The Commodore 1581 is a 3½-inch double-sided double-density floppy disk drive that was released by Commodore Business Machines (CBM) in 1987, primarily for its C64 and C128 home/personal computers. The drive stores 800 kilobytes using an MFM encoding[4] but format different from MS-DOS (720 kB), Amiga (880 kB), and Mac Plus (800 kB) formats. With special software it's possible to read C1581 disks on an x86 PC system, and likewise, read MS-DOS and other formats of disks in the C1581 (using Big Blue Reader), provided that the PC or other floppy handles the "720 kB" size format.[4] This capability was most frequently used to read MS-DOS disks. The drive was released in the summer of 1987 and quickly became popular with bulletin board system (BBS) operators and other users.

Like the 1541 and 1571, the 1581 has an onboard MOS Technology 6502 CPU with its own ROM and RAM, and uses a serial version of the IEEE-488 interface. Inexplicably, the drive's ROM contains commands for parallel use, although no parallel interface was available. Unlike the 1571, which is nearly 100% backward-compatible with the 1541, the 1581 is only compatible with previous Commodore drives at the DOS level and cannot utilize software that performs low-level disk access (as the vast majority of Commodore 64 games do).

The version of Commodore DOS built into the 1581 added support for partitions, which could also function as fixed-allocation subdirectories. PC-style subdirectories were rejected as being too difficult to work with in terms of block availability maps, then still much in vogue, and which for some time had been the traditional way of inquiring into block availability. The 1581 supports the C128's burst mode for fast disk access, but not when connected to an older Commodore machine like the Commodore 64. The 1581 provides a total of 3160 blocks free when formatted (a block being equal to 256 bytes). The number of permitted directory entries was also increased, to 296 entries. With a storage capacity of 800 kB, the 1581 is the highest-capacity serial-bus drive that was ever made by Commodore (the 1-MB SFD-1001 uses the parallel IEEE-488), and the only 3½" one. However, starting in 1991, Creative Micro Designs (CMD) made the FD-2000 high density (1.6 MB) and FD-4000 extended density (3.2 MB) 3½" drives, both of which offered not only a 1581-emulation mode but also 1541- and 1571-compatibility modes.

Like the 1541 and 1571, a nearly identical job queue is available to the user in zero page (except for job 0), providing for exceptional degrees of compatibility.

Unlike the cases of the 1541 and 1571, the low-level disk format used by the 1581 is similar enough to the MS-DOS format as the 1581 is built around a WD1770 FM/MFM floppy controller chip. The 1581 disk format consists of 80 tracks and ten 256 byte sectors per track. Special software is required to read 1581 disks on a PC due to the different file system and the use of 256 byte sectors instead of PC-standard 512 byte sectors. An internal floppy drive and controller are required as well; USB floppy drives operate strictly at the file system level and do not allow low-level disk access.[8] The WD1770 controller chip, however, was the seat of some early problems with 1581 drives when the first production runs were recalled due to a high failure rate; the problem was quickly corrected. Later versions of the 1581 drive have a smaller, more streamlined-looking external power supply provided with them.

Specifications[edit]

Quantity Value
Onboard CPU MOS Technology 6502 @ 2 MHz
RAM 8 kB[9]
ROM 32 kB[9]
Disk controller WD1770[2][9] or WD1772[5][10]
Communications controller MOS Technology 8520A[9]
Transfer protocols Standard and fast serial; burst mode; and commands for parallel interface (the latter not used)
Disk type 3,5" inch
Storage format MFM, double density, double-sided
Interface CBM's proprietary serial IEEE-488
Power 5 V @ 1 A (5 VA)
12 V @ 0.5 A (6 VA)

This article is based on material taken from the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL, version 1.3 or later.

1581 Image Layout[edit]

The 1581 disk has 80 logical tracks, each with 40 logical sectors (the actual physical layout of the diskette is abstracted and managed by a hardware translation layer). The directory starts on 40/3 (track 40, sector 3). The disk header is on 40/0, and the BAM (block availability map) resides on 40/1 and 40/2.

Header Contents

$00–01 T/S reference to first directory sector (40/3)
    02 DOS version ('D')
 04-13 Disk Label, $A0 padded
 16-17 Disk ID
 19-1A DOS type ('3D')

BAM Contents, 40/1

$00–01 T/S to next BAM sector (40/2)
    02 DOS version ('D')
 04-05 Disk ID
    06 I/O byte
    07 Autoboot flag
 10-FF BAM entries for Tracks 1-40

BAM Contents, 40/2

$00–01 00/FF
    02 DOS version ('D')
 04-05 Disk ID
    06 I/O byte
    07 Autoboot flag
 10-FF BAM entries for Tracks 41-80

See also[edit]

References[edit]

  1. ^ "Commodore users Ahoy (Issue 40 1987 Apr)". 1987. Retrieved 2016-04-02. The Commodore 1581 3.5" Disk Drive ($399) provides C-64, 
  2. ^ a b c d e "VIC-1581 - C64-Wiki". 2015-03-06. Retrieved 2016-04-02. 
  3. ^ a b c "Commodore 1581 Disk Drive : A card disk drive". Retrieved 2016-04-02. 
  4. ^ a b c tds.net - 1581 DISK DRIVE DIAGNOSTICS, latest updates and corrections 7-13-05
  5. ^ a b "Lt Kernal - More Information". 2007. 
  6. ^ a b c d "Commodore 1581 floppy disk drive" (PDF) (published 2013-05-23). 1987. Retrieved 2016-04-02. 
  7. ^ https://www.c64-wiki.de/index.php/VC-1581 VC-1581
  8. ^ "The floppy controller evolution | OS/2 Museum" (PDF). 2007-02-27. Retrieved 2016-05-12. Supports 640K, 720K, 1.44M, 1.2M Windows 98J, and 1.2M NEC DOS 6.x Formats 
  9. ^ a b c d "1581 Service manual (page 2)". June 1987. Retrieved 2016-04-28. 
  10. ^ "1581 Service manual (page 12)". June 1987. Retrieved 2016-04-28. 

External links[edit]