Commit Graph

29 Commits

Author SHA1 Message Date
OBattler
65dca51e23 The SCSI phase is now set to status at the beginning of cdrom_command() and scsi_hd_command() as well as in scsi_device_target_command(), in order to prevent the SCSI bus being perpetually stuck in command phase in case of error; fixes the DOS Trantor SCSI CD-ROM driver. 2017-10-09 02:35:12 +02:00
OBattler
02bbfb26eb Timers are now 64-bit. 2017-10-09 01:48:36 +02:00
waltje
08bf9109d7 Cleanup of NCR5380 driver, now uses new device initialization. 2017-10-08 19:22:19 -04:00
OBattler
d72a2cc924 The RTL8029AS and BT-958D are now only available on PCI boards, and the Setting dialogs now filters PCI network and SCSI cards depending on the machine selected;
Added DEVICE_VLB and DEVICE_AGP flags.
2017-10-08 05:38:45 +02:00
OBattler
05e3dbbb48 Added three NCR5380-based SCSI controllers (in dev branch);
Two-phases SCSI disk write direction commands (needed for the NCR5380);
Renamed cdrom_ioctl.c/h to win_cdrom_ioctl.c/h and moved them to win/;
Moved some CD-ROM and floppy initialization blocks to the appropriate files.
2017-10-08 05:04:38 +02:00
waltje
ffa22a216c More general changes and cleanups, mostly in machine/ now. Also updated SCSI and Network device drivers to use new device init method. 2017-10-07 22:19:11 -04:00
waltje
97ab6234d4 Split win_about, win_stbar, merged ddraw stuff, initial cleanup of win_cdrom. 2017-10-07 04:34:57 -04:00
waltje
2b37b7fbfb Major changes to NVR, system initialization (pc.c), and what goes on in the Windows startup (win.c.) Not fully done yet, but good enough for a first commit. 2017-10-07 00:49:53 -04:00
waltje
633adc6b02 Another big change, this time to the NVR. It has been re-done, integrated with the RTC code, and is now ready to be used by other, non-AT-compatible systems, including an ISA card for PC/XT. 2017-10-03 16:28:26 -04:00
waltje
63c532d940 Even more cleanups. Also renamed hdd/ to disk/ as that makes more sense. Machines with an Internal HDC (usually IDE) can now also select an alternative one instead. 2017-10-02 02:21:38 -04:00
waltje
2dbf5409c0 Changes to allow for auto- or selectable Internal HD controller, and some other minor changes. 2017-10-01 16:29:27 -04:00
waltje
9d9f5fdd58 Separation of HDD (disks) and HDC (disk controllers) with major cleanup. IDE remains same until Kotori finishes that part. 2017-09-30 16:58:41 -04:00
waltje
43b055b5ee Another massive cleanup run. Ibm.h no longer includes system header files. ROM loading simplified, and moved from mem.c to rom.c. Fixes in Makefile. Corrected mamy wrong includes. Removed old junk from days long gone. First phase of new SCAT chipset driver - no longer gives errors in BIOS, but NOT DONE YET. 2017-09-25 04:33:16 -04:00
waltje
637ce66da2 First phase of cleaning up the use of pathnames internally. We now have the --vmpath (short: -P) commandline option to override the 'work dir' relative to which the program will try to find certain files and folders. 2017-09-23 21:12:37 -04:00
OBattler
40e7a0efab The WIN_DRIVE_DIAGNOSTICS command now behaves correctly (but I'm redoing the IDE emulation anyway);
The IBM PS/2 Model 486 now uses its own rom set ID;
The AHA-154x and Buslogic SCSI controllers no longer stop scanning for mailboxes when in aggressive round robin mode;
PIC interrupt processing fixes - no more IRQ-caused triple faults in Windows 98 SE.
2017-09-08 00:17:49 +02:00
waltje
b41b4a0926 Multithreading fixes to avoid hanging of the SCSI controllers (as shown on older Linux.) 2017-09-06 02:13:03 -04:00
waltje
e4cdd40222 Buslogic-imported typos. 2017-09-06 01:01:47 -04:00
waltje
73ef17be9e Another major cleanup - folders for cdrom and floppy, renamed disc to floppy, renamed SuperIO stuff, others as needed. 2017-09-04 01:55:59 -04:00
OBattler
0ef876ef36 Various improvements to PCI and PCI boards. 2017-09-04 05:15:12 +02:00
OBattler
4c3532f31e Applied all mainline PCem commits;
Removed SCSI thread waiting (except after executing the READ SUBCHANNEL command, to alleviate the effects of READ SUBCHANNEL spam done by CD players).
2017-09-02 23:39:26 +02:00
OBattler
c81e5af8a0 More SCSI threading bugfixes - should fix the annoying crashes on hard reset. 2017-09-02 15:33:04 +02:00
OBattler
734d7a5a5a Various SCSI and CD-ROM bugfixes. 2017-09-02 05:41:19 +02:00
OBattler
fdd45d3a7e SCSI mailbox processing is now threaded. 2017-09-01 19:36:08 +02:00
OBattler
0d84add8a3 Extensively reworked the PCI bus emulation, fixes quite a few bugs, including incorrect IRQ routing for the last two slots on the Intel Advanced/ATX. 2017-08-30 04:49:20 +02:00
waltje
e53134ab1e Finishing up of MCA ESDI controller, some MCA fixes. 2017-08-28 00:30:22 -04:00
waltje
90d7b71e5e SCSI cleanup and finishing of the AHA-1640 driver. Boots fine, fully auto-config through MCA. 2017-08-27 21:47:04 -04:00
OBattler
d58eb9dac0 Redid the Buslogic IRQ raising function and fixed PIC level-triggered interrupt handling, fixes NT 4 and later on the BT-958D in level-triggered mode. 2017-08-27 23:57:47 +02:00
OBattler
cb7b1051d8 BT-958D now correctly handles the BIOS using the PCI BAR, and I also fixed a stupid bug in scsi_device.c - the BT-958D BIOS will now boot from SCSI CD-ROM. 2017-08-27 06:20:38 +02:00
c1091d83d3 Lowercase all CAPS to prevent case sensitive errors in non-Windows platforms 2017-08-27 04:33:47 +01:00