Fixed the hard disk controller mess (and added a check to prevent double IDE initialization), and made IDE always initialized as a device_t.

This commit is contained in:
OBattler
2018-02-14 13:52:19 +01:00
parent 60a4127216
commit bc0511d866
16 changed files with 155 additions and 100 deletions

View File

@@ -28,7 +28,7 @@
* boot. Sometimes, they do, and then it shows an "Incorrect
* DOS" error message?? --FvK
*
* Version: @(#)m_ps1.c 1.0.5 2018/01/16
* Version: @(#)m_ps1.c 1.0.6 2018/02/14
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -549,7 +549,7 @@ ps1_common_init(machine_t *model)
nvr_at_init(8);
if (romset != ROM_IBMPS1_2011)
ide_init();
device_add(&ide_isa_device);
device_add(&keyboard_ps2_device);