Commit Graph

1197 Commits

Author SHA1 Message Date
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
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
waltje
2ffedb680b MonsterCommit(tm) with typo-fixes, void-ness fixes, correct CaPs for directories, etc. No real code changes. 2017-08-24 01:17:18 -04:00
waltje
7cf0e24caa Merge branch 'master' of https://github.com/OBattler/86Box 2017-08-23 11:53:08 -04:00
waltje
e919d6d5cc Fixed minor madness in NE2000 driver. 2017-08-23 11:52:20 -04:00
OBattler
2da64b5f55 Fixed several small bugs; among other things, the emulator now compiles without warnings when using DEBUG=y as well. 2017-08-23 17:44:57 +02:00
waltje
963459a9ef More AHA cleanups [NOT DONE YET] 2017-08-23 00:38:52 -04:00
OBattler
666b66a4a0 A small AWE32 fix from JosepMa. 2017-08-23 03:50:36 +02:00
OBattler
1539216f23 The IOCTL and Image Read TOC Raw handlers now check for the bounds of the target buffer. 2017-08-23 02:49:12 +02:00
OBattler
2cf34b4afb Fixed a severe bug in reset_menus(). 2017-08-23 01:56:20 +02:00
OBattler
b2033e9be0 Updated the hard disk and removable disk icons. 2017-08-22 23:32:52 +02:00
OBattler
47cdcdb930 Removed an excess variable declaration. 2017-08-22 22:33:46 +02:00
OBattler
76664cf22c Fixed the hard disks' icons in Settings. 2017-08-22 22:32:41 +02:00
OBattler
0e7db72328 Merge branch 'master' of https://github.com/OBattler/86Box 2017-08-22 21:32:41 +02:00
OBattler
47ba911525 The AHA-154x code is now converted to use the abstraction layer;
Moved SCSI device array building to scsi_card_init() in scsi.c.
2017-08-22 21:28:22 +02:00
TC1995
78241389fb Corrected BIOSes of the Adaptec 154xB for their respective port and bios addresses. 2017-08-22 15:43:04 +02:00
OBattler
644e57c9e3 Fixed the crash after selecting PCap in Settings when previously the network type was not set to PCap;
Properly fixed reset_menus() in win.c.
2017-08-22 14:43:59 +02:00
waltje
1293bf1dce Cleaned-up AHA-154x SCSI driver. Phase 1 (more to come tomorrow.) 2017-08-22 02:15:13 -04:00
waltje
c7e56bc05d Updated scsi_device.ch (just cleanup, no code changes.) 2017-08-22 02:14:17 -04:00
waltje
fc5e82e81f Makefile update (typo.) 2017-08-22 02:13:13 -04:00
waltje
7b9da82c8e Fix for #991 compile error. 2017-08-22 02:12:15 -04:00
OBattler
6cbf1a1c5a Removed the last vestiges of non-abstracted behavior from scsi_buslogic.c, except for the initialization stuff that has to be moved to scsi.c but I'll only be able to do it when I can work on scsi_aha154x.c to avoid double SCSI device initialization. 2017-08-22 05:51:10 +02:00
OBattler
935f36f80b The BusLogic SCSI controller emulation is now fully converted to the SCSI device abstraction layer;
The SCSI device abstraction layer is now in scsi_device.c/h.
2017-08-22 05:45:07 +02:00
OBattler
88c06aacb1 Created an abstracted SCSI target command handler that dispatches the CDB command to either a CD-ROM or a hard disk depending on the LUN type, and made the BusLogic code use it (will do the same for the AHA-154x code when waltje is done with his current AHA-154x work). 2017-08-22 04:14:33 +02:00
OBattler
43f5ce3f19 More SCAT fixes from Greatpsycho. 2017-08-22 03:32:37 +02:00
OBattler
4b0ccbb01a The WinPcap test function now opens and closes the WinPcap DLL handle as needed;
Loading a configuration file from within the emulator now correctly resets the menus and re-checks all items.
2017-08-22 02:47:22 +02:00