Virtual H89 Z37 Floppy Controller

The virtual Z37 floppy controller allows up to four 5.25" drives. Drives may be "single track" or "double track" (40- or 80-track) and/or single or double sided (1 or 2 heads). All drives can operate at single or double density. CP/M should allow reading of single-track disks in a double-track drive.

Configuration properties:

slot_p504, slot_p505, slot_p506
Any of these slots may be used to specify the floppy controller using any of the values "H89-37", "Z89-37", "Z37", or "H37".

z37_drive#
Specification of drive "#" type. Drives are numbers 1-4. The following values are recognized:

FDD_5_25_SS_ST
Single-sided Single-track (40-track) 5.25" drive.
FDD_5_25_SS_DT
Single-sided Double-track (80-track) 5.25" drive.
FDD_5_25_DS_ST
Double-sided Single-track (40-track) 5.25" drive.
FDD_5_25_DS_DT
Double-sided Double-track (80-track) 5.25" drive.

A short string may follow the drive type, which will be used as the drive name in menus and on the front panel LEDs.

z37_disk#
Specify a pre-mounted floppy disk image in drive "#". Value is the path to the image file desired, followed by optional arguments. See notes for MMS77316 for a description of the "logdisk" image format and the utility to create them. Arguments recognized:

rw
Mount floppy with writing enabled. Without this, the diskette (image file) will be read-only.
z37_j1
Configuration jumper J1, values are "A" or "B". Should not normally be specified, as software expects port to be fixed at 0x78 (0170).
z37_j2
Configuration jumper J2, values are "A" or "B". Should not normally be specified, as software expects port to be fixed at 0x78 (0170).

The following tables shows the predicted configuration results for combinations of slot and J1, J2. The virtual Z37 ignores invalid settings and forces 0x7c whenever J2 is "B".