Added three NCR5380-based SCSI controllers (in dev branch);
Two-phases SCSI disk write direction commands (needed for the NCR5380); Renamed cdrom_ioctl.c/h to win_cdrom_ioctl.c/h and moved them to win/; Moved some CD-ROM and floppy initialization blocks to the appropriate files.
This commit is contained in:
@@ -409,3 +409,18 @@ void floppy_stop(int drive)
|
||||
if (drives[drive].stop)
|
||||
drives[drive].stop(drive);
|
||||
}
|
||||
|
||||
void floppy_general_init(void)
|
||||
{
|
||||
floppy_init();
|
||||
fdi_init();
|
||||
img_init();
|
||||
d86f_init();
|
||||
td0_init();
|
||||
imd_init();
|
||||
|
||||
floppy_load(0, floppyfns[0]);
|
||||
floppy_load(1, floppyfns[1]);
|
||||
floppy_load(2, floppyfns[2]);
|
||||
floppy_load(3, floppyfns[3]);
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ extern void floppy_load(int drive, wchar_t *fn);
|
||||
extern void floppy_new(int drive, char *fn);
|
||||
extern void floppy_close(int drive);
|
||||
extern void floppy_init(void);
|
||||
extern void floppy_general_init(void);
|
||||
extern void floppy_reset(void);
|
||||
extern void floppy_poll(int drive);
|
||||
extern void floppy_poll_0(void* priv);
|
||||
|
||||
Reference in New Issue
Block a user