Commit Graph

1593 Commits

Author SHA1 Message Date
OBattler
bffc39ddbf Fixed some bugs in cdrom.c;
Fixed (hopefully) pass through in the Windows CD-ROM IOCtl code;
Fixed the legacy I/O address handling on the BT-958D, now it behaves correctly - legacy I/O address disabled by default, can be enabled in AutoSCSI (removed the setting from the device config struct);
The BT-958D PCI-configured I/O space now correctly gets 32 ports and not 4.
2017-10-23 01:36:00 +02:00
OBattler
08e3c5edd3 Merge pull request #208 from MoochMcGee/master
Disable some dumb logs
2017-10-22 03:47:05 +02:00
Melissa Goad
05b29c16cc Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-21 20:41:45 -05:00
Melissa Goad
ba01d94226 Whoops, sorry, I enabled some extra logging 2017-10-21 20:40:57 -05:00
OBattler
5155dc605e Updated vnc.c to remove the 8-bit blitter. 2017-10-22 03:32:30 +02:00
OBattler
c88fe76568 Merge branch 'master' of https://github.com/OBattler/86Box 2017-10-22 03:17:24 +02:00
OBattler
f087130fe9 Fixed CD-ROM ATAPI DMA and made ATAPI PIO much less of a mess;
Fixed MCA write bugs for the AHA-1640 and BT-640;
Fixed a warning in the PC87306 Super I/O chip emulation;
Each renderer now only has a 32-bit blitter - video_blit_memtoscreen_8() now only converts buffer to buffer32 and then calls video_blit_memtoscreen(), 8-bit blitters are now gone.
2017-10-22 03:16:52 +02:00
waltje
8890281b58 Minor cleanups. Logfile now has a header. We no longer log the entire config file, use -C (--dumpcfg) to enable that. 2017-10-21 20:29:18 -04:00
OBattler
cd9253c9b8 Start SCSI Command (Adaptec and BusLogic) and Start BIOS SCSI Command (Adaptec) controller commands now set the event the thread is waiting for to signal that it's time to stop waiting. 2017-10-20 23:15:22 +02:00
OBattler
fdec9fa684 The BusLogic SCSI controllers now correctly return invalid status for invalid controller commands, fixes the Windows 95 BusLogic driver;
Applied PCem commits that fix the Sound Blaster Pro compatibility registers on the Sound Blaster 16, CMS/Game Blaster, and Trident TGUI9440.
2017-10-20 08:02:04 +02:00
OBattler
2be1c21c8a Fixed the window resizes function in win_video.c, fixes window resizes with non-resizable window (ie. the main window is no longer stuck in 640x480);
Fixed the Force 4:3, Enable EGA/(S)VGA overscan, and Scale options;
Fixed a bug regarding register 0 of the SMC FDC37C665 Super I/O chip;
Commented out some excess logging.
2017-10-20 07:00:48 +02:00
waltje
2f490728ca Sometimes I can't remember my own code. 2017-10-19 21:30:37 -04:00
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