Commit Graph

1828 Commits

Author SHA1 Message Date
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
OBattler
6eb9404d04 Fixed a bug in image_open() that was causing CD-ROM image paths to get reduced to one character on init;
Also made the code that prints floppy image file on load use %ls.
2017-10-14 09:19:17 +02:00
OBattler
1d3aa976ec Fixed the SLiRP and SCSI mutexes. 2017-10-14 08:34:47 +02:00
OBattler
61626117b4 The dev branch now includes VNC. 2017-10-14 07:56:56 +02:00
OBattler
2792da5432 Refactored AHA-154x and BusLogic emulation and made them use a common core;
Fixed AHA-154x scatter/gather transfers;
Two-phased SCSI read-direction commands;
Made scsi_bus.c use a dynamically malloc'd buffer instead of a giant fixed-size buffer;
The AHA-154x/BusLogic thread now uses mutexes;
The BusLogic BT-545C is now the BT-545S;
Added the BusLogic BT-542BH;
The AHA-1542CF now again uses the v2.11 BIOS as the CD booting now works;
Applied PCem commit that adds NMI support to the recompiler;
Applied PCem commit that adds the IBM XT 286;
Applied PCem commits that have to do with sound, including the ES1371;
Fixed the NCR5380 output data register;
Moved the SLiRP mutex stuff from win.c to the appropriate network files;
Added sanity checks to everything in win_thread.c.
2017-10-14 07:03:19 +02:00
waltje
2b82661cf4 More cleanups, and integgrated support for VNC (and RDP) remote renderers. 2017-10-14 00:49:23 -04:00
waltje
ae3d0d8b22 More cleanups, and a bugfix in config.c (harddisk id and lun were not saved.) 2017-10-13 18:26:41 -04:00
OBattler
c95c2d5534 Fixed saving of configuration files. 2017-10-13 17:16:39 +02:00
waltje
e9bd160ad1 More general cleanups and bugfixes. 2017-10-13 02:45:04 -04:00
waltje
97b3ca3430 Fix for ROMs not loading properly on many machines - my bad. 2017-10-13 02:42:15 -04:00
waltje
724e5c44df More cleanups to separate main code from platform support and UI support, plus a few bugfixes. 2017-10-12 14:26:28 -04:00
waltje
aa7e85d0d7 Added -? as commandline option. 2017-10-11 18:07:00 -04:00
waltje
c4fa87595d Commandline options cleanup. Specifying a config file no longer needs the -C. 2017-10-11 17:46:08 -04:00
OBattler
1b3cb1b501 Fixed a compile-breaking mistake in scsi_aha154x.c. 2017-10-11 18:17:46 +02:00
OBattler
5e1a8d5c91 The AHA-154x now resets the BIOS mailbox data on controller reset. 2017-10-11 17:59:25 +02:00
waltje
3381ffa891 Fix for moving cdrom_close() as well. 2017-10-11 05:56:51 -04:00
waltje
57c2a3615e Hmm, will it pick it up this time? 2017-10-11 05:51:42 -04:00
waltje
0c282a2edd And, of course, fluidsynth... 2017-10-11 05:47:30 -04:00
waltje
47c027bc46 Merge branch 'master' of https://github.com/OBattler/86Box
# Conflicts:
#	src/config.c
2017-10-11 05:46:29 -04:00
waltje
c7cb446684 Another round of cleanups - the main code no longer refers to, let alone uses, anything in the platform folder - completely separated! 2017-10-11 05:43:09 -04:00
OBattler
89ec4e0fa7 Made config_set_wstring() also update the ANSI version of the string, should fix the FluidSynth soundfont file setting. 2017-10-11 08:03:33 +02:00