Commit Graph

4224 Commits

Author SHA1 Message Date
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
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
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
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
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
7608f1604f Attempt to fix BusLogic scatter gather by increasing source buffer position after every read. 2017-01-16 06:21:34 +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
OBattler
0a11edd343 Merge pull request #77 from MoochMcGee/riva128-work
Fix some bugs
2017-01-15 20:15:43 +01:00
basic2004
b249e107a1 Update sound_sb.c
I solved OPL3 problem on SB Pro V2, SB16, AWE32.
This was defined 388h-389h only, so plays like OPL2.
OPL3 will plays correctly if this defined 388h-38bh.
2017-01-16 04:07:47 +09:00
Melissa Goad
1ef1b459a7 Add even MORE bullshit to RIVA 128 context switching 2017-01-12 21:50:18 -06:00
Melissa Goad
3fe0b7545b Fix some bugs 2017-01-12 21:16:57 -06:00
OBattler
7338c90717 Merge pull request #74 from MoochMcGee/riva128-work
Fix PFIFO NOPs
2017-01-10 18:09:24 +01:00
Melissa Goad
769bbea7d0 Add copyright 2017-01-06 09:03:43 -06:00
Melissa Goad
cb4db2fada MAJOR ATI 18800 improvements 2017-01-06 09:02:53 -06:00
Melissa Goad
91939ac23b Fix a little oopsie 2017-01-06 07:23:52 -06:00
Melissa Goad
42229ce009 MAJOR overhaul to nVidia PGRAPH object loading 2017-01-06 07:08:53 -06:00
Melissa Goad
de09618504 Fix PFIFO NOPs 2017-01-06 06:24:35 -06:00
Melissa Goad
3c03b3b100 Fix PROM access on NV3. It was already correct on NV4 2017-01-05 20:04:04 -06:00
OBattler
6349953413 Fixed a bug from the previous commit and changed some fseek's in ide.c to fseeko64. 2017-01-05 19:48:51 +01:00
OBattler
3972503a8e Changed the implementation of iso_size();
Change iso_readsector_raw() to use fseeko64 instead of fseek.
2017-01-05 19:41:37 +01:00