Fixed some whoopsies.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* CPU type handler.
|
* CPU type handler.
|
||||||
*
|
*
|
||||||
* Version: @(#)cpu.h 1.0.8 2018/03/02
|
* Version: @(#)cpu.h 1.0.9 2018/03/02
|
||||||
*
|
*
|
||||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||||
* leilei,
|
* leilei,
|
||||||
@@ -463,6 +463,7 @@ extern void x87_dumpregs(void);
|
|||||||
extern void x87_reset(void);
|
extern void x87_reset(void);
|
||||||
|
|
||||||
extern int cpu_effective;
|
extern int cpu_effective;
|
||||||
|
extern void cpu_dynamic_switch(int new_cpu);
|
||||||
|
|
||||||
|
|
||||||
#endif /*EMU_CPU_H*/
|
#endif /*EMU_CPU_H*/
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
* Implementation of the IDE emulation for hard disks and ATAPI
|
* Implementation of the IDE emulation for hard disks and ATAPI
|
||||||
* CD-ROM devices.
|
* CD-ROM devices.
|
||||||
*
|
*
|
||||||
* Version: @(#)hdc_ide.c 1.0.29 2018/02/27
|
* Version: @(#)hdc_ide.c 1.0.30 2018/03/02
|
||||||
*
|
*
|
||||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
@@ -1157,11 +1157,11 @@ void writeide(int ide_board, uint16_t addr, uint8_t val)
|
|||||||
timer_process();
|
timer_process();
|
||||||
if (ide_drive_is_zip(ide))
|
if (ide_drive_is_zip(ide))
|
||||||
{
|
{
|
||||||
zip[atapi_zip_drives[ide->channel]].callback = 40000LL * TIMER_USEC /*100LL*IDE_TIME*/;
|
zip[atapi_zip_drives[ide->channel]].callback = 100LL*IDE_TIME;
|
||||||
}
|
}
|
||||||
if (ide_drive_is_cdrom(ide))
|
if (ide_drive_is_cdrom(ide))
|
||||||
{
|
{
|
||||||
cdrom[atapi_cdrom_drives[ide->channel]].callback = 40000LL * TIMER_USEC /*100LL*IDE_TIME*/;
|
cdrom[atapi_cdrom_drives[ide->channel]].callback = 100LL*IDE_TIME;
|
||||||
}
|
}
|
||||||
idecallback[ide_board]=40000LL * TIMER_USEC /*100LL*IDE_TIME*/;
|
idecallback[ide_board]=40000LL * TIMER_USEC /*100LL*IDE_TIME*/;
|
||||||
timer_update_outstanding();
|
timer_update_outstanding();
|
||||||
|
Reference in New Issue
Block a user