Skip to content

EUSBASPI 0.6

Choose a tag to compare

@geosone geosone released this 13 Nov 15:50
· 15 commits to main since this release

Changes since 0.5:

  • USB disks served by the BIOS keep working. A USB disk the BIOS offers as a hard disk (legacy USB, for example a USB boot stick) stopped working once EUSBASPI took its controller over.
    • EUSBASPI now records the BIOS disks, matches them to the USB disks it finds, and serves their INT 13h itself through ASPI.
    • GET DISK INFO reports such a disk as BIOS-owned while DOS has a drive on it, so the ASPI block drivers mount only the disks DOS does not use.
    • Ambiguous matches stay with the BIOS. When EUSBASPI is loaded high under an EMM, the takeover is skipped.
  • Up to 16 USB devices (hubs included; a USB 3 hub counts twice), as ASPI targets 0-6 and 8-15.
    • xHCI keeps the device contexts in XMS. Without an XMS driver it takes up to 8 devices.
  • One ASPI target per USB device is now the default, with the device's LUNs (card reader slots, CD+disk sticks) as ASPI LUNs.
    • Old drivers such as Adaptec's ASPIDISK 4.01 scan only targets 0-7, so they still see all disks.
    • /F selects the flat numbering of 0.5. /L is still accepted.
  • xHCI: every root port is reset before its device is addressed, USB 3 ports too. Before, devices behind some ports were not found (#1).
  • UHCI: large transfers no longer end early. Reads of large files used to fail with a phase error.
  • OHCI: writes go in pieces of at most 2 KB, so QEMU's OHCI accepts 4 KB writes.
  • Hot plugging (/H): the empty slots get drive letters from OpenASPI's ASPIFDD, and the slot names have two digits.
  • A20: if the BIOS cannot enable A20, EUSBASPI tries fast A20 through port 92h. If that fails too, it copies through INT 15h AH=87h instead of giving up. This was seen on an Award BIOS without HIMEM.
  • ASPITEST shows up to 32 targets.
  • EUSBASPI is now under the GNU GPL version 2 or (at your option) any later version.
  • The package contains the OpenASPI drivers of 0.1.0 Alpha 6, SHSUCDX and CDAUDIO from geosone/shsucd (76d847a), and the GeosOne DOS Installer 1.16.0.

Tested in QEMU:

  • UHCI, OHCI, EHCI and xHCI, with hubs and with 16 devices with and without XMS, under JEMMEX, and with hot plugging.
  • The BIOS takeover on xHCI.
  • A multi-LUN device (hard disk, CD-ROM, ZIP) plus a stick on every controller.

Tested in VirtualBox:

  • OHCI, EHCI and xHCI with two sticks and a USB DVD drive.
  • Writing to the sticks.

Tested in 86Box:

  • PIIX4 UHCI, OPTi 82C861 OHCI and VIA VT83C572 UHCI, with a hard disk, CD-ROM and ZIP on the USB mass storage device.

Not yet tested on real hardware. Please test with care (backup!) and report.

🤖 Generated with Claude Code