Commit Graph

12094 Commits

Author SHA1 Message Date
OBattler
1aa37bfc27 REQUEST SENSE now correctly delays the reporting of UNIT ATTENTION if another error is pending, unless the error is not ready and the REQUEST SENSE is a standalone command;
The SCSI-specific auto-REQUEST SENSE now no longer advances UNIT ATTENTION phase, making sure the next command will report UNIT ATTENTION.
2017-01-21 03:03:46 +01:00
OBattler
6a396b4bcb Fixed the last compile-breaking error, for really this time. 2017-01-21 02:02:35 +01:00
OBattler
a24020efcd Fixed the last compile-breaking error. 2017-01-21 02:00:34 +01:00
OBattler
4486926b6d Fixed a compile-breaking error. 2017-01-21 01:58:48 +01:00
OBattler
45183ea026 SCSI auto-sense is now done as an actual pseudo-execution of the REQUEST SENSE command. 2017-01-21 01:48:55 +01:00
OBattler
13e85cc7a6 Fixed a compile-breaking error. 2017-01-21 01:19:49 +01:00
OBattler
2e15aca382 The error code in cdrom.c now logs errors;
Illegal LUN is now invalid LUN and 05/25/00.
2017-01-21 01:17:49 +01:00
OBattler
b2c7b4665d Fixed cdrom_ascq #define so it no longer points to the same as cdrom_asc. 2017-01-21 01:06:29 +01:00
OBattler
b6c0297141 Applied the properly working Nvidia commit from Mooch. 2017-01-21 00:14:51 +01:00
OBattler
3f612ab71a IDE dword reads and writes reverted to original operation, fixes the last hard disk problems;
ATAPI CD-ROM word reads no longer incorrectly discard the upper 16 bits, fixes the CD-ROM problems;
Significantly rewrote parts of the AHA-154x and BusLogic emulation, NT 3.1 RTM and MS-DOS drivers now works correctly;
The function in cdrom.c to read data blocks from the disc now correctly advances the position of the sector to read in non-passthrough mode, fixes multiblock reads from directly mounted ISO's;
Both ATAPI and SCSI now always check for Unit Attention and Not Ready on command execution.
2017-01-20 23:53:19 +01:00
OBattler
b613873ff3 Merge pull request #87 from Wack0/crash-dumps
Crash dump changes - try to create in 86Box.exe directory, try to include path of module where crash occurs
2017-01-20 23:45:47 +01:00
OBattler
2977ea8999 Merge pull request #88 from OBattler/revert-86-master
Revert "Fix compilation"
2017-01-20 23:42:16 +01:00
OBattler
5bac9b4ce0 Revert "Fix compilation" 2017-01-20 23:41:58 +01:00
OBattler
c6267cc4bd Merge pull request #86 from MoochMcGee/master
Fix compilation
2017-01-20 23:38:17 +01:00
slipstream/RoL
d9256b227b Crash dump changes
- Crash dumps now attempt to be created in the directory with 86Box.exe
- Crash dumps now attempt to find the full path + filename of the module
where the crash occured, and includes it if found
2017-01-20 12:16:58 +00:00
slipstream/RoL
ecbdbff602 Merge remote-tracking branch 'refs/remotes/OBattler/master' 2017-01-20 12:07:51 +00:00
Melissa Goad
b0a1ffd6f1 Merge branch 'master' into master 2017-01-19 07:01:16 -06:00
Melissa Goad
69dc594610 Fix compilation 2017-01-19 06:56:50 -06:00
OBattler
c3a434e660 Merge pull request #85 from OBattler/revert-84-master
Revert "Add in NV4 context switching"
2017-01-19 00:11:36 +01:00
OBattler
3aa22e19dd Revert "Add in NV4 context switching" 2017-01-19 00:11:21 +01:00
OBattler
7c7ffbf872 Merge pull request #84 from MoochMcGee/master
Add in NV4 context switching
2017-01-18 23:06:19 +01:00
OBattler
4dba966872 Reverted the makefiles back to 10 seconds sleeping time. 2017-01-18 22:33:52 +01:00
OBattler
0548d8f9c8 Essentially reverted 8-bit IDE data reads and writes to old operation, fixes the hard disk bug;
SCSI LUN is now selectable for the CD-ROM drives;
Made sure every BusLogic RequestSetup ends in a StartMailbox sooner or later, fixes freezes with the DOS BusLogic drivers;
Commented out execess logging from mem.c;
Applied the mainline PCem commit that fixes the Bahamas64 on some boards.
2017-01-18 21:51:03 +01:00
Melissa Goad
401520661d Add in NV4 context switching 2017-01-17 20:10:17 -06:00
OBattler
fc42c2e2e7 BusLogic now starts mailboxes for all LUN's when nothing is attached to a given ID;
BusLogic now sets callback on MBO_FREE.
2017-01-18 02:24:05 +01:00
OBattler
71503f69a4 Fixed a compile-breaking error. 2017-01-18 00:45:30 +01:00
OBattler
66757dfaad Added IBM PS/1 Model 2121 with ISA expansion, allows selecting any graphics card. 2017-01-18 00:43:43 +01:00
OBattler
885d0a32d2 Merge branch 'master' of https://github.com/OBattler/PCem-Experimental 2017-01-17 23:58:35 +01:00
OBattler
2820b69439 Fix for BusLogic scatter/gather by TheCollector1995. 2017-01-17 23:58:16 +01:00
OBattler
ca42d04dca Merge pull request #83 from Wack0/crash-dumps
Crash dumps now only made if 86box is actually about to crash
2017-01-17 22:46:33 +01:00
slipstream/RoL
58d557dc64 Crash dumps now only made if 86box is actually about to crash 2017-01-17 21:32:16 +00:00
OBattler
6ab8e5be80 Rewrote the MMU translation code completely, thank you TheCollector1995 for testing;
Fixed NT page faults with AHA-154x and BusLogic, patch by TheCollector1995.
2017-01-17 22:15:15 +01:00
OBattler
0ca6bdcd0b Merge pull request #82 from Wack0/crash-dumps
Add crash dump functionality
2017-01-17 21:14:47 +01:00
slipstream/RoL
8baa55ccbe Forgot to change mingw64 makefile. 2017-01-17 20:11:34 +00:00
slipstream/RoL
4f77d037f3 Add crash dump functionality 2017-01-17 20:04:19 +00:00
OBattler
6b86549b7e Modified empty IDE channel handling, should hopefully reduce problems;
Fixed several ATAPI CD-ROM bugs;
Added some missing CPL override checks to the MMU translate functions;
Tertiary and quaternary IDE controllers are now automatically disabled if not a single device is attached to them;
Changed sleep time on compile from 10 seconds to 2 seconds.
2017-01-17 19:41:42 +01:00
OBattler
e961f43cbf Merge pull request #80 from MoochMcGee/master
Reformatted nVidia code
2017-01-17 17:02:35 +01:00
Melissa Goad
ec2fe42e1f Reformatted nVidia code 2017-01-16 21:15:15 -06:00
OBattler
1802f8ea50 Status is now hardwired to 0x30 instead of 0x10 for empty IDE channels. 2017-01-17 01:14:37 +01:00
OBattler
2c0b3112be Applied mainline PCem commit: Fixed Mach64 1 bpp source data alignment - fixes font rendering in Windows NT. 2017-01-17 01:02:08 +01:00
OBattler
70cd63784b Changed data transfer length for media access command passthough and buffer size to 65536 in cdrom_ioctl.c, fixes transfers of larger files using the BusLogic. 2017-01-17 00:52:12 +01:00
OBattler
082c4e9ff8 Fixed some compile-breaking errors. 2017-01-17 00:04:49 +01:00
OBattler
7e54cc4436 Two instances of the IDE code setting the error register did not set it in the cdrom struct if drive is CD-ROM, now they do, fixes CD-ROM booting on the Intel Advanced/ATX and possibly other things;
Fixed IDE and ATAPI 8-bit data reads and writes by rewriting the IDE and CD-ROM PIO data read and write code so that the base code is now 8-bit;
Added some compiler directives that if set, will enable togglable logging and log breakpoints;
Empty IDE channels now always report a status of 0x10 rather than 0x20, and do it on port 3F6h/376h/36Eh/3EEh too, fixes OAKCDROM.SYS infinite loop when hitting an empty IDE channel.
2017-01-17 00:01:59 +01:00
OBattler
a15a8ac57d BusLogic scatter/gather now processes 1 more block if the data length is not divisible by the length of a scatter/gather block. 2017-01-16 21:06:38 +01:00
OBattler
8a16c015b9 Added "sleep 10" before and after strip in the makefile, in order to wait for the retarded Windows file locking mechanism to unlock the executable. 2017-01-16 19:37:10 +01:00
OBattler
74ca5233fb Sound Blaster 16 and AWE32 now respect the base address for all the applicable I/O handlers. 2017-01-16 17:35:45 +01:00
OBattler
a1c1d8c18a Merge branch 'master' of https://github.com/OBattler/PCem-Experimental 2017-01-16 06:22:04 +01:00
OBattler
7608f1604f Attempt to fix BusLogic scatter gather by increasing source buffer position after every read. 2017-01-16 06:21:34 +01:00
OBattler
e276ee2ac9 Merge pull request #79 from basic2004/patch-2
CMS/Game Blaster pitch correction
2017-01-16 01:51:10 +01:00
OBattler
4f7fd84229 Overhauled and unified CD-ROM emulation;
Four CD-ROM drives are now emulated;
ATAPI DMA is now emulated;
Unified CD-ROM pass through to host drive handling;
Applied all (applicable) mainline PCem commits.
2017-01-16 01:49:19 +01:00