Add Iomega Zip drive emulation.

This commit is contained in:
SarahW 2018-01-21 16:05:39 +00:00
commit 5fd2fd40aa
22 changed files with 2954 additions and 1809 deletions

View file

@ -3,6 +3,7 @@
#include "scsi.h"
#include "scsi_cd.h"
#include "scsi_hd.h"
#include "scsi_zip.h"
#define STATE_IDLE 0
#define STATE_COMMAND 1
@ -346,6 +347,8 @@ void scsi_bus_init(scsi_bus_t *bus)
{
if (cdrom_channel == c)
bus->devices[c] = &scsi_cd;
else if (zip_channel == c)
bus->devices[c] = &scsi_zip;
else
bus->devices[c] = &scsi_hd;