Added the 3Com 3C503 Network card;
Several bug fixes; Preliminar addition of the SDL 2 renderer (does not yet work correctly in full screen mode); SCSI devices no longer have configurable LUN's (this matches the configurability of real SCSI devices); SCSI LUN's are now handed by the device's handler; Removed all unused strings; Removed some unused code files; Significantly rewrote the bus mouse emulation.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* Implementation of the IDE emulation for hard disks and ATAPI
|
||||
* CD-ROM devices.
|
||||
*
|
||||
* Version: @(#)hdc_ide.c 1.0.46 2018/05/02
|
||||
* Version: @(#)hdc_ide.c 1.0.47 2018/06/02
|
||||
*
|
||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
@@ -844,7 +844,7 @@ ide_set_signature(ide_t *ide)
|
||||
ide->head=0;
|
||||
|
||||
if (ide_drive_is_zip(ide)) {
|
||||
zip_set_signature(zip_id);
|
||||
zip_set_signature(zip[zip_id]);
|
||||
ide->secount = zip[zip_id]->phase;
|
||||
ide->cylinder = zip[zip_id]->request_length;
|
||||
} else if (ide_drive_is_cdrom(ide)) {
|
||||
@@ -2058,7 +2058,7 @@ ide_callback(void *priv)
|
||||
if (ide_drive_is_zip(ide)) {
|
||||
zip[zip_id]->status = DRDY_STAT | DSC_STAT;
|
||||
zip[zip_id]->error = 1;
|
||||
zip_reset(zip_id);
|
||||
zip_reset(zip[zip_id]);
|
||||
} else if (ide_drive_is_cdrom(ide)) {
|
||||
cdrom[cdrom_id]->status = DRDY_STAT | DSC_STAT;
|
||||
cdrom[cdrom_id]->error = 1;
|
||||
@@ -2451,7 +2451,7 @@ ide_callback(void *priv)
|
||||
goto abort_cmd;
|
||||
|
||||
if (ide_drive_is_zip(ide))
|
||||
zip_phase_callback(atapi_zip_drives[ch]);
|
||||
zip_phase_callback(zip[atapi_zip_drives[ch]]);
|
||||
else
|
||||
cdrom_phase_callback(cdrom[atapi_cdrom_drives[ch]]);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user