VirtualBox

Changeset 105074 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 28, 2024 3:24:42 PM (7 months ago)
Author:
vboxsync
Message:

DevFDC: In a 3.5 drive, floppies only use 250 or 500 kbps data rate; the 300 kbps data rate should only apply to 5.25 HD drives.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevFdc.cpp

    r104189 r105074  
    315315/* Note: Low-density disks (160K/180K/320K/360K) use 250 Kbps data rate
    316316 * in 40-track drives, but 300 Kbps in high-capacity 80-track drives.
     317 * This is because high-density 5.25" drives rotate at 360 RPM while
     318 * other drives spin at 300 RPM.
     319 * For that reason, low-density 5.25" aliases for 3.5" drives use 250 Kbps
     320 * data rate while the "real" 5.25" versions use 300 Kbps.
    317321 */
    318322static fd_format_t const fd_formats[] = {
     
    362366    { FDRIVE_DRV_144, 15, 80, 1, FDRIVE_RATE_500K,  "1.2 MB 3\"1/2", },
    363367    { FDRIVE_DRV_144, 16, 80, 1, FDRIVE_RATE_500K, "1.28 MB 3\"1/2", },
    364     { FDRIVE_DRV_144, 10, 40, 1, FDRIVE_RATE_300K,  "400 kB 3\"1/2", },    /* CP Backup 5.25" DD */
    365     { FDRIVE_DRV_144,  9, 40, 1, FDRIVE_RATE_300K,  "360 kB 3\"1/2", },
    366     { FDRIVE_DRV_144,  9, 40, 0, FDRIVE_RATE_300K,  "180 kB 3\"1/2", },
    367     { FDRIVE_DRV_144,  8, 40, 1, FDRIVE_RATE_300K,  "320 kB 3\"1/2", },
    368     { FDRIVE_DRV_144,  8, 40, 0, FDRIVE_RATE_300K,  "160 kB 3\"1/2", },
     368    { FDRIVE_DRV_144, 10, 40, 1, FDRIVE_RATE_250K,  "400 kB 3\"1/2", },    /* CP Backup 5.25" DD */
     369    { FDRIVE_DRV_144,  9, 40, 1, FDRIVE_RATE_250K,  "360 kB 3\"1/2", },
     370    { FDRIVE_DRV_144,  9, 40, 0, FDRIVE_RATE_250K,  "180 kB 3\"1/2", },
     371    { FDRIVE_DRV_144,  8, 40, 1, FDRIVE_RATE_250K,  "320 kB 3\"1/2", },
     372    { FDRIVE_DRV_144,  8, 40, 0, FDRIVE_RATE_250K,  "160 kB 3\"1/2", },
    369373    /* For larger than real life floppy images (see DrvVD.cpp). */
    370374    /* 15.6 MB fake floppy disk (just need something big). */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette