Commit Graph

  • 557d40dced Attempt to improve network type detection (and log it). OBattler 2016-12-30 01:03:40 +01:00
  • 59fab759cb Merge pull request #67 from TC1995/master OBattler 2016-12-30 00:46:56 +01:00
  • 61b8ff9a71 More bugfixes to the Buslogic and SCSI layer, still need to understand why the f**k it doesn't issue the Request Sense command when necessary TC1995 2016-12-30 00:42:54 +01:00
  • 77c7516891 Bringing the SCSI code in line with ATAPI regarding disc changes. OBattler 2016-12-30 00:04:57 +01:00
  • 03c2cad539 Fixed another typo in scsi_cdrom.c. OBattler 2016-12-29 22:42:30 +01:00
  • e5b5fcc4f2 Fixed two typo's in scsi_cdrom.c. OBattler 2016-12-29 22:34:24 +01:00
  • a0b7d55312 Implemented ATAPI and SCSI SEEK (6) command. OBattler 2016-12-29 20:49:01 +01:00
  • 03ee24cc6c Quaternary IDE controller now works properly; Significantly cleaned up ide.c; Made disc_img.c actually compile again. OBattler 2016-12-29 20:40:24 +01:00
  • c8b57ccbe2 Made sure the CopyQM reading code does not overflow the allocated buffer. OBattler 2016-12-28 23:53:31 +01:00
  • 17e2cd6776 Added a quaternary IDE controller on ports 1E8-1EF/3EE; The tertiary and quaternary IDE controllers are now fully configurable; The IRQ of the RTL8029AS network card is now configurable; CopyQM floppy images are now supported. OBattler 2016-12-28 23:34:00 +01:00
  • ad1fd0a5f6 The second PIC is now completely ignored on non-AT-compatibles and IRQ 2 is processed properly. OBattler 2016-12-28 05:53:00 +01:00
  • c9731d9331 Merge pull request #66 from MoochMcGee/riva128-work OBattler 2016-12-28 04:52:06 +01:00
  • 8a5158c747 WE'RE DRAWING, BABY! Now to fix PFIFO... Melissa Goad 2016-12-27 21:47:40 -06:00
  • 0675e451d0 Prepare for adding in tons of functionality at once. Melissa Goad 2016-12-27 20:45:35 -06:00
  • 9d48cdf0bf Merge pull request #65 from TC1995/master OBattler 2016-12-28 00:51:25 +01:00
  • f5a3a1dc5e Compile fix. TC1995 2016-12-28 00:35:59 +01:00
  • 8ca122d8c4 Merge pull request #64 from TC1995/master OBattler 2016-12-28 00:30:29 +01:00
  • 7aa62ad5ed Partial fix for a proper speed sync in the read transfers, fixes some slowness caused by running programs directly from CD in the buslogic SCSI adapter. TC1995 2016-12-28 00:14:38 +01:00
  • 5930a0f883 Decreased processed length per sector, fixes some buffer issues in the Read commands TC1995 2016-12-27 23:52:03 +01:00
  • f59b119527 Merge pull request #63 from TC1995/master OBattler 2016-12-27 23:05:27 +01:00
  • 3f04c30ac0 Added support up to 16 ID/LUN's Corrected residual length, fixes Win95's buslogic driver that was not showing the CD drive. TC1995 2016-12-27 22:38:09 +01:00
  • f2b3035a56 Merge pull request #62 from TC1995/master OBattler 2016-12-27 18:54:47 +01:00
  • 81a4b12650 Merge branch 'master' of github.com:OBattler/86Box into tc1995 TC1995 2016-12-27 18:50:05 +01:00
  • df78ce0529 Fixed once and for all the DOS CD-ROM bugs in the BT-54x SCSI adapter. Added notes regarding NT 3.1 297.1 and 340.1's setup bugs with the Adaptec driver in the BT-54x SCSI adapter. Bugfixes to the SCSI layer (SCSIReset()) TC1995 2016-12-27 18:48:38 +01:00
  • ba9059811d Merge pull request #61 from MoochMcGee/riva128-work OBattler 2016-12-27 03:48:51 +01:00
  • 14a6b74ac8 Try conditionally disabling logging Melissa Goad 2016-12-26 20:47:09 -06:00
  • 408a601694 Merge pull request #60 from TC1995/master OBattler 2016-12-26 22:35:27 +01:00
  • 547185fd7f Removed excessive logging (R/W functions only for now) Some cleanup. End the SCSI request if the transfer length is already 0. Additional fixes to support OS/2 1.3 and DOS buslogic drivers, still not 100% working for those, however, but CD-ROM is recognized. TC1995 2016-12-26 21:02:26 +01:00
  • 6a6d01f0e6 Merge pull request #59 from TC1995/master OBattler 2016-12-26 03:47:24 +01:00
  • b3bc0a77c4 Damnit... TC1995 2016-12-26 03:43:17 +01:00
  • 3b0eb07519 Added the Abort Mailbox Command. Fixed stupid Interrupt bug in the Write routine. Bugfixes. TC1995 2016-12-26 03:39:48 +01:00
  • ee3c47b105 Removed a duplicate case from cpu.c . OBattler 2016-12-26 03:33:17 +01:00
  • e7934a1229 Moved some SCSI CD-ROM errors to the command byte/CDB decoder; SCSI CD-ROM now correctly sets status phase on error; SCSI CD-ROM now correctly errors on bad command. OBattler 2016-12-26 03:21:43 +01:00
  • f01c61b813 i686 MSR's C1 to C8 are all implemented now. OBattler 2016-12-25 23:42:48 +01:00
  • af6c83a59e i686 MSR's C1 to C4 are all implemented now. OBattler 2016-12-25 23:41:25 +01:00
  • b0c203c102 Added MSR C2 to the i686 CPU's. OBattler 2016-12-25 23:15:11 +01:00
  • 9dff9581bd Fixed the fix. OBattler 2016-12-25 22:57:14 +01:00
  • 240694c32f Fixed some IOCtl buffer bugs. OBattler 2016-12-25 22:55:13 +01:00
  • 392f63fa85 Changed the accidental usage of idebufferb in scsi_cdrom.c to the correct SCSIDevices[id].Cdb. OBattler 2016-12-25 17:54:15 +01:00
  • 92c44cb89f Changed the IOCtl implementation of READ TRACK INFORMATION so that it returns if it succeded or failed, so the ATAPI and SCSI controllers can then act accordingly. OBattler 2016-12-25 17:52:17 +01:00
  • 4d71ebaf67 Another fix for READ TRACK INFORMATION. OBattler 2016-12-25 17:46:06 +01:00
  • e9327bbc84 Fixed both the ATAPI and SCSI implementations of the READ TRACK INFORMATION command. OBattler 2016-12-25 17:38:01 +01:00
  • 8fac789295 Merge pull request #58 from TC1995/master OBattler 2016-12-25 17:14:45 +01:00
  • 88298809c5 Added Read Track Information command in ATAPI and SCSI. Removed unused scsi_cmds.h header. TC1995 2016-12-25 16:36:27 +01:00
  • 105d13ac62 Added (currently still unused) Windows IOCtl handler for READ TRACK INFORMATION command. OBattler 2016-12-25 16:05:49 +01:00
  • a6d2f68779 Fixed reading and writing of floppies. OBattler 2016-12-25 05:59:25 +01:00
  • 9eb8868e81 Attempted to rework the FDC read/write interrupt issuing a bit. OBattler 2016-12-25 03:40:58 +01:00
  • 147dcc3222 Added the extra parameter for cdrom->readtoc_raw to the SCSI code as well. OBattler 2016-12-25 02:06:04 +01:00
  • c7443b47b5 ATAPI BAD COMMAND response now correctly sets IDE sector count to 3; ATAPI READ TOC PMA ATIP command now uses direct SCSI passthrough when using IOCtl on Windows; ATAPI READ TOC PMA ATIP command now supports non-MSF raw mode; ATAPI READ TOC PMA ATIP command now returns the given maximum length if the actual length of the data is above it; ATAPI READ TOC PMA ATPI command on Windows IOCtl now returns size of data in the returned buffer's header. OBattler 2016-12-25 01:57:56 +01:00
  • e46a34a505 Fixed FDC absolute SEEK, fixes Floppy disk(s) fail (40) on Award BIOS'es. OBattler 2016-12-24 07:16:01 +01:00
  • 4089c33bc7 FINTR is now cleared after the interrupt issued by a FDC DOR reset. OBattler 2016-12-24 06:33:05 +01:00
  • ad7c92b2c5 Fixed the FDC's behavior of the DOR register and the RECALIBRATE and SEEK command to more accurately replicate that of a real FDC, fixes Windows 98 and (hopefully) NetBSD. OBattler 2016-12-24 05:37:14 +01:00
  • 645efe1f7d Slightly modified CD-ROM disc change handling and behavior of the REQUEST SENSE command. OBattler 2016-12-23 21:35:39 +01:00
  • dda3ff99b9 Merge pull request #57 from TC1995/master OBattler 2016-12-23 17:17:32 +01:00
  • abf009e541 Renamed Adaptec 154x adapter source to Buslogic as now it emulates the Buslogic BT-540B SCSI adapter. Moved CD-ROM read data buffer declaration and definitions to SCSI source files and headers, but still applying to IDE when needed. SCSI Read commands now return the correct sectors on callback. DMA bug fixes. TC1995 2016-12-23 17:11:59 +01:00
  • da7384a3af Commented out excess DENSEL polarity logging from pc87306.c. OBattler 2016-12-23 08:16:54 +01:00
  • 9c488b3dba Added a missing declaration to vid_vga.h. OBattler 2016-12-23 07:20:55 +01:00
  • d430711b08 Fixed a compile-breaking mistake in vid_vga.c. OBattler 2016-12-23 07:17:52 +01:00
  • 5a83dd60cd CD-ROM ISO code now reports medium has changed if switch has occurred from one ISO to another. OBattler 2016-12-23 07:14:41 +01:00
  • fe669d31ac Added TriGem Unknown Adapter. OBattler 2016-12-23 04:14:14 +01:00
  • 4f82ffd98c Mouse type is now actually set to whatever is set in the configuration dialog. OBattler 2016-12-23 04:01:57 +01:00
  • dc46480aa4 Applied all mainline PCem commits; Added experimental NVidia Riva TNT2 emulation (patch from MoochMcGee); ASUS P/I-P54TP4XE, ASUS P/I-P55T2P4, and ASUS P/I-P55TVP4 are back; National Semiconductor PC87306 Super I/O chip now correctly reenables devices after a chip power cycle; Several FDC improvements and the behavior is now a bit closer to real hardware (based on actual tests); Added MR Intel Advanced/ATX with Microid Research BIOS with support for 4 floppy drives and up to 4 IDE controllers; Added floppy drives 3 and 4, bringing the maximum to 4; You can now connect hard disks to the tertiary IDE controller; Correct undocumented behavior of the LEA instruction with register is back on 286 and later CPU's; Pentium-rea models with Intel chipsets now have port 92 (with alternate reset and alternate A20 toggle); Overhauled DMA channel read and write routines and fixed cascading; Improved IMG detection of a bad BPB (or complete lack of a BPB); Added preliminary emulation of PS/2 1.44 MB and PC-98 1.25 MB 3-mode drives (both have an inverted DENSEL pin); Removed the incorrect Amstrad mouse patch from TheCollector1995; Fixed ATAPI CD-ROM disk change detection; Windows IOCTL CD-ROM handler now tries to use direct SCSI passthrough for more things, including obtaining CD-ROM capacity; The Diamond Stealth32 (ET4000/W32p) now also works correctly on the two Award SiS 496/497 boxes; The (S)VGA handler now converts 6-bit RAMDAC RGB channels to standard 8-bit RGB using a lookup table generated at emulator start, calculated using the correct intensity conversion method and treating intensity 64 as equivalent to 63; Moved a few options from the Configuration dialog box to the menu; SIO, PIIX, and PIIX3 now have the reset control register on port CF9 as they should; Several bugfixes. OBattler 2016-12-23 03:16:24 +01:00
  • 724c5699ca Merge pull request #55 from MoochMcGee/riva128-work OBattler 2016-12-21 19:03:50 +01:00
  • 0c899e17f5 Fix a little oopsie when merging RIVA 128 and RIVA TNT Melissa Goad 2016-12-21 11:57:47 -06:00
  • 7466a2436c Merge pull request #54 from MoochMcGee/riva128-work OBattler 2016-12-21 03:56:23 +01:00
  • a1ff1912d8 Deduplicate some code Melissa Goad 2016-12-20 20:47:42 -06:00
  • 32d4f0e478 Merge pull request #51 from MoochMcGee/riva128-work OBattler 2016-12-19 18:13:54 +01:00
  • 495a393aba More nVidia work to pass more envytools tests Melissa Goad 2016-12-19 11:11:55 -06:00
  • 199dce19b1 Merge pull request #50 from MoochMcGee/riva128-work OBattler 2016-12-14 03:52:54 +01:00
  • 36bc3e893c Oops, I forgot to initialize the card id for each card. Melissa Goad 2016-12-13 20:35:05 -06:00
  • eabb235834 Merge pull request #49 from MoochMcGee/riva128-work OBattler 2016-12-14 03:32:16 +01:00
  • 12dde81ee8 Fix another oopsie Melissa Goad 2016-12-13 20:27:40 -06:00
  • f27142bf64 Fix an oopsie Melissa Goad 2016-12-13 20:25:35 -06:00
  • e361b0e429 Merge RIVA 128 and RIVA TNT implementations Melissa Goad 2016-12-13 20:22:38 -06:00
  • ee79f070cf Merge pull request #48 from MoochMcGee/master OBattler 2016-12-09 23:43:35 +01:00
  • f2564a6693 update nvr Melissa Goad 2016-12-09 16:38:06 -06:00
  • 181f1f643e Add CMake in preparation for MSVC builds Melissa Goad 2016-12-09 16:36:48 -06:00
  • 79d5fb108f Applied mainline PCem commit: Added code generation for RMW versions of SHL/SHR/SAR. OBattler 2016-11-17 21:36:09 +01:00
  • 413fba4b16 Redid the ATAPI READ CD command completely and fixed IOCTL raw sector reading; Added the ATAPI READ CD MSF command; UNIT ATTENTION is now a condition above the SCSI/ATAPI senses so that non-UNIT ATTENTION senses can still be reported if said condition is present, should they occur; Applies mainline PCem commit: Added code generation for RMW versions of INC/DEC. OBattler 2016-11-17 20:41:27 +01:00
  • 1ed38b36d0 Merge pull request #44 from MoochMcGee/hercules-work OBattler 2016-11-17 00:33:05 +01:00
  • 7ba7d065bf Fix NUMEROUS bugs in the Hercules Plus emulation Melissa Goad 2016-11-16 17:31:53 -06:00
  • 89b947c848 Merge pull request #43 from MoochMcGee/riva128-work OBattler 2016-11-17 00:04:14 +01:00
  • c3ba551da5 Triple oops Melissa Goad 2016-11-16 16:47:49 -06:00
  • 6be600ecc3 Double oops Melissa Goad 2016-11-16 16:46:48 -06:00
  • e6c66f478b Oops Melissa Goad 2016-11-16 16:43:43 -06:00
  • 85c7a029c2 Merge pull request #42 from MoochMcGee/riva128-work OBattler 2016-11-16 22:51:19 +01:00
  • 078f1f17a0 Fix an InColor bug Melissa Goad 2016-11-16 15:43:34 -06:00
  • 3a12ae5a42 Merge pull request #41 from MoochMcGee/riva128-work OBattler 2016-11-16 22:41:21 +01:00
  • dfa7e61234 Fix RIVA 128 a bit more. Add Hercules Plus Melissa Goad 2016-11-16 15:37:07 -06:00
  • 5456d0b11a Merge pull request #40 from MoochMcGee/riva128-work OBattler 2016-11-15 21:49:06 +01:00
  • b3d1d9cc70 Fix some envytools hardware tests Melissa Goad 2016-11-15 13:33:17 -06:00
  • 2fbd377092 DMA master reset register now clears the status register; Implemented DMA mask reset register. OBattler 2016-11-14 04:55:48 +01:00
  • 677cf7598c DMA channel 0 page setting is now writable on 386 and later machines; DMA channel 4 now correctly works as a cascade. OBattler 2016-11-13 23:44:16 +01:00
  • 995c62ab06 DMA channels 6 and 7 page setting writes now work. OBattler 2016-11-13 23:19:31 +01:00
  • b23af9f098 The filling with host CD drives is now done on the right menu. OBattler 2016-11-13 22:32:31 +01:00
  • b3a1dc78b4 The new AHA-154x settings are actually in the menu now. OBattler 2016-11-13 21:38:07 +01:00
  • 14b726a5fe Fixed more mistakes in win.c. OBattler 2016-11-13 20:46:30 +01:00
  • 5a84d4d827 Fixed a mistake in win.c; The default AHA-154x DMA channel is 6 again. OBattler 2016-11-13 20:41:38 +01:00
  • 87cc7dcc3c The Sound Blaster 16 and AWE32 low and high DMA addresses are now reflected in the mixer registers and software-configurable; The AHA-154x can now also use base addresses 0x130, 0x134, 0x230, 0x234, and IRQ's 14 and 15; Reworked the SCSI system resource menu handlers in win.c a bit. OBattler 2016-11-13 20:38:03 +01:00
  • 3e4c540f92 Default 16-bit DMA channel for the Sound Blaster 16 and AWE32 is now a valid value. OBattler 2016-11-13 18:45:06 +01:00