Commit Graph

1371 Commits

Author SHA1 Message Date
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
c0d1e5b4b2 Fixed another bug in config.c. 2017-09-02 21:39:23 +02:00
OBattler
eb5c6f25be Fixed a bug in config.c that was causing the wrong machine variable to get deleted. 2017-09-02 21:33:26 +02:00
OBattler
3e10570bbd Machine code restructure, models are now machines instead and the init functions are in the machine files rather than in machine.c (former model.c), also moved the machine stuff into the machine/ subdirectory. 2017-09-02 20:39:57 +02:00
OBattler
be16ee33ba The model structure now uses a pointer to a function that returns the pointer to the device structure, rather than a pointer to the device structure directly. 2017-09-02 15:46:21 +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
f0b8c3a533 An essentially dummy commit. 2017-09-01 06:21:08 +02:00
OBattler
5388c2205d Applied all the mainline PCem commits, this also fixes the annoying buzzing on the AWE32. 2017-09-01 01:01:53 +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
OBattler
18dbde0118 Merge branch 'master' of https://github.com/OBattler/86Box 2017-08-29 22:58:40 +02:00
OBattler
a41d844587 Fixed the RTL8029AS' I/O BASE BAR. 2017-08-29 22:58:21 +02:00
waltje
fe50eef4dd Initial addition of the IBM PS/2 Model 80 "Reply 486" machine. 2017-08-29 01:41:30 -04:00
OBattler
a5b7512882 Corrected PCI slots for Intel Advanced/ATX and Intel Advanced/ZP. 2017-08-28 23:47:09 +02:00
OBattler
979977b430 SIO/PIIX/PIIX3 turbo reset control as well as emulator hard reset now also reset the PCI interrupt hold status in addition to the ELCR. 2017-08-28 22:55:10 +02:00
OBattler
3cad1672a8 Moved the RTL8029AS back to the INTC pin, fixes the operation of the card with Windows 98 SE and Windows 2000. 2017-08-28 20:35:45 +02:00
Melissa Goad
80ef63b9de Add the RIVA TNT2 models back to the dev branch 2017-08-28 12:56:58 -05:00
OBattler
33aaaeeefd Merge pull request #175 from MoochMcGee/master
Fix a whoopsie Battler made
2017-08-28 19:17:28 +02:00
Melissa Goad
47de9e77e0 Fix a whoopsie Battler made 2017-08-28 12:03:28 -05:00
OBattler
68e3a3d737 Improved PCI IRQ steering a bit and made the PCI IDE IRQ operation correct. 2017-08-28 16:53:53 +02:00
OBattler
579f13402d Primary and secondary IDE controller IRQ's can now be level-triggered on PCI boards if so configured. 2017-08-28 06:58:51 +02:00
OBattler
1564fe2715 Merge branch 'master' of https://github.com/OBattler/86Box 2017-08-28 06:50:34 +02:00
OBattler
15c32bd57a More RTL8029AS fixes - the BIOS now works;
Moved the Intel SIO device to slot 2 on the Premiere/PCI and Premiere/PCI II boards - fixes the BT-958D in level-triggered mode on those two boards.
2017-08-28 06:50:13 +02:00
waltje
e53134ab1e Finishing up of MCA ESDI controller, some MCA fixes. 2017-08-28 00:30:22 -04:00
OBattler
ef29b928ea Slight PIC interrupt processing rework. 2017-08-28 04:24:33 +02: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
OBattler
e59e799ce7 Merge pull request #174 from claunia/master
Lowercase all CAPS to prevent case sensitive errors in non-Windows platforms
2017-08-27 06:07:19 +02:00
Natalia Portillo
8eebc3e708 Removed spurious VSCode configuration file. 2017-08-27 04:36:23 +01:00
Natalia Portillo
c1091d83d3 Lowercase all CAPS to prevent case sensitive errors in non-Windows platforms 2017-08-27 04:33:47 +01:00
OBattler
19a3413570 Fixed all compile-breaking mistakes. 2017-08-27 01:18:43 +02:00
OBattler
ee4af98e1f Moved the SCSI BIOS command handler to its own file (scsi_bios_command.c/h);
Removed all the SCSI BIOS ID/LUN swapping nonsense as it's no longer needed;
The makefile now knows the .h dependencies for everything in SOUND/;
Moved hdd*.* and scsi*.* to the HDD and SCSI subdirectories, respectively;
Fixed some leftover path name miscapitalizations in the makefile;
BT-542B is now BT-545C and BT-946C is now BT-958D again;
Implemented the last missing commands for the BT-958D;
MUNT and network are now optional at compile time but enabled by default;
When compiling the development branch, you now have to choose what of (Pro Audio Spectrum 16, Cirrus Logic, NVidia Riva) you want your binary to include.
2017-08-27 00:58:44 +02:00
waltje
b25ee43202 Re-working AHA1640 MCA stuff. 2017-08-26 17:53:04 -04:00
waltje
d64848d122 Updated to implement booting from AHA-1640 on MCA. Fixed AHA/BL "BIOS Command" code to also support the use of direct LBA32. 2017-08-26 04:31:25 -04:00
OBattler
5bf0242b38 Fixed a compile-breaking mistake in scsi_aha154x.c. 2017-08-26 07:24:06 +02:00
OBattler
86ff061f23 The head and sector numbers passed to the SCSI BIOS command handler are now correctly masked for the appropriate number of bits. 2017-08-26 07:21:33 +02:00
OBattler
5b02d3a90b Prepared the Buslogic code for VLB and MCA SCSI controller emulation;
The SCSI BIOS command handler now has a 64-head mode, active for MCA controllers.
2017-08-26 05:36:43 +02:00
waltje
789fa9d566 Merge branch 'master' of https://github.com/OBattler/86Box 2017-08-25 23:13:21 -04:00
waltje
9ec675f1e1 Toming fixes. 2017-08-25 23:12:56 -04:00
OBattler
9600d1c9d2 Merge pull request #173 from MoochMcGee/master
ROM dir fixes
2017-08-26 05:08:47 +02:00
Melissa Goad
c9267f2380 ROM dir fixes 2017-08-25 22:04:47 -05:00
OBattler
a48ecb45e1 More BT-946C bug fixes and made it use a newer BIOS, and AutoSCSI should now work *correctly*. 2017-08-26 04:38:12 +02:00
OBattler
2b980aae72 Fixed some Buslogic bugs;
Implemented the EuroPC JIM chip NVR saving/loading correctly.
2017-08-25 23:17:45 +02:00
OBattler
d21a4fbf3c Fixed several bugs in the Buslogic emulation, and implemented the BIOS stuff correctly - AutoSCSI now works and the PCI SCSI BIOS no longer needs to have an legayc ISA-compatible port enabled to work; the PCI controller has also been changed from BT-958D to BT-946C which is more like what we emulate. 2017-08-25 23:03:15 +02:00
waltje
17b64b064e MassCommit(tm) to fix the MCA ESDI driver, clean up all RLL-ESDI stuff, rename HDD-related files, and another version of the AHA-1640, which now works. Not done yet, but getting close! 2017-08-25 02:34:25 -04:00
OBattler
274cdbc2f0 Another SCAT fix from Greatpsycho. 2017-08-24 17:14:48 +02:00
waltje
b259f18a44 More fixes for AHA driver (incl offset-off fix.) 2017-08-24 02:36:13 -04:00
waltje
3a5a0e99b1 Crash fix for NE2000 (caused crashes on exit and on settings changes.) 2017-08-24 02:35:14 -04:00