Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal support for MMC command 0xAC (#80)
This changes a BX_INFO to a BX_DEBUG. It does not needed to be a BX_INFO. Second, this adds (very) minimal support for SCSI command 0xAC. When emulating a .iso image via USB CD-ROM on Win10, without this command, the emulation freezes when trying to access the CD-ROM. I don't know if it is Bochs or Win10. I think Win10 expects the command to work, or Bochs is not failing correctly. This PR simply adds code to acknowledge the command and returns a zero length report. This SCSI (MMC) specification states that a zero length report is allowed. The 8 byte header is returned, but the header indicates a zero byte return: No report segments returned. This seems to keep Win10 from freezing at USB CD-ROM device access time. The code also BX_DEBUG's the command sent to the "controller", for future use when adding the actual support of the command.
- Loading branch information