Add Iomega Zip drive emulation.
This commit is contained in:
parent
6ecdd2efd0
commit
5fd2fd40aa
22 changed files with 2954 additions and 1809 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue