Commit Graph

502 Commits

Author SHA1 Message Date
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
basic2004
d763969472 CMS/Game Blaster pitch correction
This patch make more accurate CMS emulation like actual GameBlaster.
Original works of this patch from https://www.vogons.org/viewtopic.php?f=41&t=38350 for DOSBox, thanks to them.
2017-01-16 04:17:14 +09:00
OBattler
0a11edd343 Merge pull request #77 from MoochMcGee/riva128-work
Fix some bugs
2017-01-15 20:15:43 +01:00
OBattler
c52527958a Merge pull request #78 from basic2004/patch-1
Update sound_sb.c
2017-01-15 20:14:27 +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
OBattler
643a29bd94 Merge pull request #75 from MoochMcGee/ati-work
ATI work
2017-01-10 18:09:10 +01:00
OBattler
67673801da Merge pull request #76 from Wack0/add-discord-server
Add discord server to readme
2017-01-10 18:08:58 +01:00
slipstream/RoL
125f41c8ac Add discord server to readme 2017-01-08 22:33:04 +00: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
OBattler
29f36eaf13 Merge pull request #73 from MoochMcGee/riva128-work
Fix PROM access on NV3. It was already correct on NV4
2017-01-06 03:15:11 +01: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
OBattler
bb89a07a63 Sanitized the buffer zeroing on REQUEST SENSE for both ATAPI and SCSI. 2017-01-05 04:46:50 +01:00
OBattler
66838be5f9 Multiple ATAPI bugfixes. 2017-01-05 04:36:37 +01:00
OBattler
0e08eccb71 Fixed compile-breaking mistakes in pc.c . 2017-01-05 03:37:03 +01:00
OBattler
581e72901f Forgot one change that should have been in the previous commit. 2017-01-05 03:22:19 +01:00
OBattler
6c4c979797 The network poller is now completely disabled when no network card is selected. 2017-01-05 03:20:59 +01:00
OBattler
4fb41b9429 Reduced network speed to 20% of it. 2017-01-05 03:19:00 +01:00
OBattler
12edf911c6 Fixed a compile-breaking mistake. 2017-01-05 02:43:54 +01:00
OBattler
93b3137e3d Some more stuff reworked in the network poller. 2017-01-05 02:39:35 +01:00
OBattler
9b6a869083 Fixed a compile-breaking error. 2017-01-05 01:51:11 +01:00
OBattler
82bbb89716 Changed one memcmp and two memcpy's in the NE2000 Rx frame handler to equivalent integer operations. 2017-01-05 01:48:55 +01:00
OBattler
30b2431b3a Replaced a memory comparison in the PCap handling code with an equivalent integer comparison. 2017-01-05 01:35:16 +01:00
OBattler
e67ced4d9f Fixed another compile-breaking mistake in scsi_cdrom.c . 2017-01-04 22:50:16 +01:00
OBattler
83d87d5821 Moved lba_to_msf to before iso_getcurrentsubchannel in cdrom_iso.c . 2017-01-04 22:35:56 +01:00
OBattler
d2be2fcc81 Reimplemented the READ SUBCHANNEL command for both ATAPI and SCSI. 2017-01-04 22:33:49 +01:00
OBattler
a8bc5133ec The ATAPI implementation of the READ SUBCHANNEL command now correctly issues INVALDI FIELD IN CMD PACKET and not ILLEGAL OPCODE. 2017-01-04 21:44:01 +01:00
OBattler
d70c27a7f1 Response to the IDE/ATA packet command is now instant, fixes Rhapsody DR1. 2017-01-04 20:37:31 +01:00
OBattler
c7ffcee87e Added a forgotten semicolon in ide.c . 2017-01-04 06:35:11 +01:00
OBattler
0dc379404c CD-ROM is no longer reloaded if not in ejected/empty state;
ATAPI commands that accept a buffer length allocation now send no data if the allocated length is 0.
2017-01-04 06:33:18 +01:00
OBattler
6af40b5b16 Added a few keyboard controller commands used by the AMI BIOS'es;
The port 92 handler in mem.c now flushes MMU cache when toggling the A20 gate;
Added ability to reload previous disc after ejecting it;
Fixed the START/STOP UNIT command for both SCSI and ATAPI;
Applied mainline PCem commit: All XT models can now use 64kb RAM. Patch from ecksemmess .
2017-01-04 05:58:44 +01:00
OBattler
ba14ea32b6 Added missing AT keyboard controller commands C1, C2, and D2. 2017-01-04 01:35:40 +01:00
OBattler
2116fa50a3 Reverted all the recent makefile changes. 2017-01-04 00:45:58 +01:00
OBattler
e7fb008d25 Merge branch 'master' of https://github.com/OBattler/PCem-Experimental 2017-01-03 22:15:27 +01:00
OBattler
6a4ab75ae7 Added -pie to the linking part of the makefiles;
Implemented some missing AT keyboard controller (8042) commands.
2017-01-03 22:15:06 +01:00