Fixed the ATi Mach64 and S3 Virge graphics cards;

HDD controller initializer now ignores non-IDE controllers if the specified model has IDE;
The RTL8029AS NIC and BusLogic BT-958D SCSI controller are now APIC-aware.
This commit is contained in:
OBattler
2017-06-02 02:22:38 +02:00
parent ab847fdecd
commit b805a994b9
6 changed files with 91 additions and 39 deletions

View File

@@ -1,6 +1,8 @@
#include "ibm.h"
#include "CPU/cpu.h"
#include "device.h"
#include "hdd.h"
#include "model.h"
#include "hdd_esdi.h"
#include "mfm_at.h"
@@ -63,7 +65,12 @@ int hdd_controller_current_is_mfm()
void hdd_controller_init(char *internal_name)
{
int c = 0;
if (models[model].flags & MODEL_HAS_IDE)
{
return;
}
while (hdd_controllers[c].device)
{
if (!strcmp(internal_name, hdd_controllers[c].internal_name))