Changes to allow for auto- or selectable Internal HD controller, and some other minor changes.

This commit is contained in:
waltje
2017-10-01 16:29:15 -04:00
parent f21fc0ca44
commit 2dbf5409c0
35 changed files with 374 additions and 254 deletions

View File

@@ -7,11 +7,12 @@
#include "io.h"
#include "pic.h"
#include "mem.h"
#include "device.h"
#include "pci.h"
#include "keyboard_at.h"
#include "floppy/floppy.h"
#include "floppy/fdc.h"
#include "hdd/hdd.h"
#include "hdd/hdc.h"
#include "hdd/hdc_ide.h"
#include "cdrom/cdrom.h"
@@ -655,7 +656,7 @@ static void trc_reset(uint8_t val)
pci_reset_handler.super_io_reset();
}
resetide();
ide_reset();
for (i = 0; i < CDROM_NUM; i++)
{
if (!cdrom_drives[i].bus_type)