Commit Graph

1731 Commits

Author SHA1 Message Date
waltje
0659f5fe6a Whoops, and moved the config variables to pc.c. 2017-10-19 21:26:09 -04:00
waltje
555a14746c Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-19 21:09:20 -04:00
waltje
0af26c1c3b More cleanups, also updated Makefile.local with all "user-settable" parts. 2017-10-19 21:08:41 -04:00
OBattler
b755b27304 Reworked network and SCSI thread initialization and termination;
Hard disk controller name and other related strings are now char * instead of fixed-size arrays.
2017-10-19 23:55:51 +02:00
waltje
1d60a99ea3 Another major change round. VNC moved to top level. More cleanups of global data, all VM processing now handled in pc.c (out of the platforms, yay!), and some video cleanups. This build MAY have issues with window sizes, resizing, and fullscreen will not work until the next build- sorry. 2017-10-19 04:28:59 -04:00
OBattler
bcffcb4d22 SCSI controller command 0x93 is now an alias of command 0x92 on the BT-445 VLB. 2017-10-17 22:58:55 +02:00
OBattler
9f6bab40c1 Implemented the SMRAM register for the 430FX. 2017-10-17 19:01:10 +02:00
OBattler
6bde353f0b Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-17 08:53:45 +02:00
OBattler
da8029ba5e Removed the 440FX-related video hacks and properly fixed the issue by implementing the SMRAM register for the 430HX, 430VX, and 440FX chips. 2017-10-17 08:53:16 +02:00
waltje
db6a386566 OK, and these two as well... whoops. 2017-10-17 02:04:51 -04:00
waltje
7f24ba9fe9 Another cleanup run. 2017-10-17 02:01:03 -04:00
OBattler
483ebc17d7 Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-17 05:16:34 +02:00
OBattler
bfb0093b38 Cleaned up the network and SCSI thread stuff. 2017-10-17 05:15:53 +02:00
OBattler
ad6bf119e3 Merge pull request #206 from MoochMcGee/master
nVidia is FINALLY FAST
2017-10-17 03:59:05 +02:00
OBattler
0d60ba731c Fixed several BT-640A bugs. 2017-10-17 03:55:06 +02:00
OBattler
f3684dba38 Fixed the BT-640A and BT-445S device local flags. 2017-10-17 03:15:29 +02:00
OBattler
95ef5eda3d Added the BusLogic BT-445S VLB. 2017-10-17 03:00:09 +02:00
OBattler
ca39d3a4c9 Added the BusLogic BT-640A MCA;
Fixed the MCA write function of the AHA-1640 MCA - the host ID is now read from the correct variable and the sync and parity check values are now read as well.
2017-10-17 02:50:54 +02:00
Melissa Goad
79e6c32907 Some nVidia fixes 2017-10-16 19:31:10 -05:00
OBattler
6674865c56 The AHA and BusLogic controller reset now resets less things, fixes NT 3.1 Setup hanging after detecting the AHA-1542CF with BIOS enabled. 2017-10-17 01:35:41 +02:00
OBattler
52eca87ae1 The AHA and BusLogic SCSI controllers now again correctly set the INIT flag on controller hard reset, fixes their NT drivers. 2017-10-17 00:49:32 +02:00
Melissa Goad
730a657820 nVidia is FINALLY FAST 2017-10-16 14:50:41 -05:00
OBattler
49ccbd680f The SLiRP mutex is now a Network mutex and is now also used by PCap. 2017-10-16 21:19:51 +02:00
OBattler
88ccca9f35 The AHA and BusLogic SCSI controllers now only check for ID:0 when deciding on selection timeout, the LUN handling is done by the SCSI Command Phase 0 handler and returns CHECK CONDITION status with INVALID LUN sense if nothing is on present on that LUN. 2017-10-16 20:58:43 +02:00
OBattler
cca76f55a4 Calls to SCSI command phase 0 with an ID and LUN no device is attached to now correctly end with status phase and CHECK CONDITION status, fixes the DOS Trantor CD-ROM driver. 2017-10-16 20:42:04 +02:00
TC1995
500b2bc855 Re-added write SB MIDI routine in reg 0xC of sb_write(). 2017-10-16 19:38:39 +02:00
OBattler
e49c411183 Fixed AHA and BusLogic software reset - fixes unnecessary stalls (mostly with BusLogic SCSI BIOS'es);
Fixed BusLogic BT-958D reset - now it actually resets again.
2017-10-16 18:40:34 +02:00
OBattler
86c439c14b Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-16 17:33:29 +02:00
OBattler
e10d751ca3 Fixed ATAPI CD-ROM. 2017-10-16 17:33:01 +02:00
waltje
3572f7a34d Minor fixes for C/C++ inter-operation. 2017-10-16 04:54:57 -04:00
OBattler
c225724b40 The AHA and BusLogic SCSI controllers now again correctly return the sense buffer when the SCSI disk or CD-ROM command has terminated with error;
The AHA and BusLogic SCSI controllers now support the bus reset (0x81) CCB opcode;
The AHA and BusLogic SCSI controllers now terminate with the correct mailbox completion codes on invalid ID, invalid LUN, invalid opcode, or invalid direction control byte.
2017-10-16 08:37:14 +02:00
OBattler
5beaeef831 Small bugfix in cdrom.c, should fix ATAPI PIO sector reading again. 2017-10-16 06:41:26 +02:00
OBattler
5fdeba0b56 Fixed a compile-breaking mistake in snd_pas16.c. 2017-10-16 06:35:31 +02:00
OBattler
4cbebc17e3 Merge pull request #205 from MoochMcGee/nvidia
Minor speed improvement for nVidia cards
2017-10-16 06:32:20 +02:00
OBattler
4d9f5f0d05 Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-16 06:19:49 +02:00
OBattler
ed865610e9 A dynamic recompiler block's validity is now separate from its starting code address, should fix most of the known recompiler fatals;
The CD-ROM buffer is now dynamically malloc'd;
Did a lot of bugfixing in cdrom.c and scsi_disk.c, Debian 8's modprobe aha1542 and the NT 3.10.404.1 Trantor 310b driver now work;
Fixed the IDE IRQ/MIRQ mess and ATAPI DMA transfer length;
Fixed the operation of mmutranslate() a bit;
Commented out several instances of excess logging;
Applied the mainline PCem commit prefetch commit;
Readded missing Sound Blaster DSP MIDI behavior and gave it the correct MPU struct;
All non-IBM 486 machines now correctly have the VLB flag set.
2017-10-16 06:19:18 +02:00
Melissa Goad
80c6a1c499 Minor speed improvement for nVidia cards 2017-10-15 21:19:03 -05:00
waltje
fbd95451d2 Fixes (missed a few spots) for DYNAREC and propagated to Linux. 2017-10-14 22:51:49 -04:00
OBattler
89a98e34fd Fixed vid_voodoo.c. 2017-10-15 03:16:08 +02:00
OBattler
9f3a58bb24 This should fix the mess. Sorry for that. 2017-10-15 03:01:40 +02:00
OBattler
e9355aa0ad Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-15 02:51:17 +02:00
OBattler
aca1449ac5 DYNAREC=n now also disables the Voodoo recompiler;
Fixed some Settings Machine page uglyness when the recompiler is disabled.
2017-10-15 02:50:26 +02:00
OBattler
1cfa8e2c4d The emulator can now be compiled without the recompiler by using the DYNAREC=n parameter with make;
The BIOS address is now selectable for the BusLogic ISA SCSI controllers.
2017-10-15 02:43:13 +02:00
waltje
c1abfe2362 Another cleanup. VNC now has fixed blitters, so 8bit cards (vga,mda,herc et al) work. More cleanups with the %ls stuff, cleanup of threads modules, and MOVED THE MAKEFILE to win/. 2017-10-14 20:04:42 -04:00
OBattler
25b4014ce0 The IBM XT 286 now has the MACHINE_AT flag. 2017-10-14 21:50:56 +02:00
OBattler
1b08134387 Attempt to fix the VNC library. 2017-10-14 19:44:12 +02:00
waltje
3453a66f16 Video (API) cleanup and minor stuff. Oh, and the VNC files :P 2017-10-14 13:38:05 -04:00
OBattler
c350e79242 Applied the PCem commit that adds some missing registered to the ES1371, fixing its Windows ME WDM drivers. 2017-10-14 19:33:10 +02:00
OBattler
e8d133fe57 Fixed AHA-154x EEPROM reads and writes. 2017-10-14 19:14:17 +02:00
OBattler
7581474aab The AHA/BusLogic reset controllers' BIOS commands now return 0x80 (no device present error) for CD-ROM drives if the device is market as not supporting CD-ROM boot, fixes sending of WRITE (10) to CD-ROM drives followed by hang;
The CD-ROM and SCSI disk REQUEST SENSE commands no longer incorrectly set the phase to status;
REQUEST SENSE with non-data direction control byte is now treated as a request to send sense bytes from the command directly to the sense buffer;
SCSI and SLiRP threads now terminate themselves again when out of the while loop;
SCSI and SLiRP mutexes are now closed when the threads terminate themselves;
Fixed a bug causing the "Press F12+F8 or middle mouse button to release" string on the title bar to get corrupt.
2017-10-14 18:52:25 +02:00