Commit Graph

79 Commits

Author SHA1 Message Date
OBattler
38efeeae35 Fixed the makefiles (hopefully) to not build non-optimized builds for Haswell. 2017-05-05 02:58:42 +02:00
OBattler
7610dbe209 Fixed the makefiles again, hopefully this time properly;
Single-sided floppy drives are actually single-sided now;
Temporarily re-enabled floppy logs for bugfixing purposes.
2017-05-05 02:43:34 +02:00
OBattler
55be173485 Fixed a bug in the makefile - strip 86Box.exe should now be executed. 2017-05-05 02:35:21 +02:00
OBattler
2262ad3ba0 Fixed compile-breaking mistakes in nv_riva128.c (just in case someone wants to compile it);
Removed Cirrus and NVidia stuff from the makefile.
2017-05-05 02:15:28 +02:00
OBattler
f6ef1f833c Vastly overhauled the UI, there's now a completely new Settings dialog as well as a status bar with disk activity icons and removable drive menus;
Thoroughly clean up the code to vastly reduce the number of compiler warnings and found and fixed several bugs in the process;
Applied all mainline PCem commits;
Added SCSI hard disk emulation;
Commented out all unfinished machines and graphics cards;
Added the AOpen AP53 and ASUS P/I-P55T2 machines as well as another Tyan 440FX machine, all three with AMI WinBIOS (patch from TheCollector1995);
Added the Diamond Stealth 3D 3000 (S3 ViRGE/VX) graphics card (patch from TheCollector1995);
Added the PS/2 XT IDE (AccuLogic) HDD Controller (patch from TheCollector1995);
Added Microsoft/Logitech Bus Mouse emulation (patch from waltje);
Overhauled the makefiles (patch from waltje);
Added the Adaptec AHA-1542CF SCSI controller (patch from waltje);
Added preliminary (but still unfinished) Adaptec AHA-154x SCSI controller BIOS support (patch from waltje);
Added an ISABugger debugging device (patch from waltje);
Added sanity checks to the Direct3D code.
2017-05-05 01:49:42 +02:00
OBattler
8452458c1a Changed version to 1.10;
Applied mainline PCem commit that adds MFM hard disk emulation;
Commented out the Commodore PC III 60.
2017-03-15 01:37:09 +01:00
OBattler
2e193fdbac 86Box v1.07 Recommended Build. 2017-03-14 00:44:31 +01:00
OBattler
9d33905d85 Version changed to 1.10. 2017-03-07 06:17:16 +01:00
OBattler
b6c48c1486 86Box v1.06 Recommended Build. 2017-03-05 20:15:36 +01:00
OBattler
ee69d5dec0 Fixed (hopefully) the makefile. 2017-03-05 19:48:09 +01:00
OBattler
8e055b7520 Commented out excess FPU logging;
SCSI controller is now reset on x86 soft reset, fixes DOS driver hangs after soft reset;
SCSI controller reset control is now implemented more accurately, on a 50 ms timer;
For the PS/1 Model 2011, the Keyboard Input Port bit 6 now correctly reports if the currently selected (in FDC DOR) floppy drive is 3.5" or 5.25";
Commented out excess DMA logging;
Added support for FDF floppy images;
Fixed handling of CDB allocated length field for the CD-ROM INQUIRY command;
(S)VGA port 03C1 write is back again (it was incorrectly gone in some builds);
Commented out Compaq/Paradise VGA;
PS/1 Model 2121+ISA now correctly allows selecting graphics card.
2017-03-05 19:42:56 +01:00
OBattler
99de4f11b6 Changed version to 1.10. 2017-02-26 18:46:12 +01:00
OBattler
67c3eb1c78 86Box v1.05 Recommended Build. 2017-02-26 18:35:12 +01:00
OBattler
e4dd05d9e9 Disabled crash dumper, fixes Direct3D;
Changed version to 1.05.
2017-02-26 18:19:23 +01:00
OBattler
9351cf4474 Changed version to 1.10. 2017-02-26 07:40:59 +01:00
OBattler
f98a8104a5 86Box v1.04 Recommended Build. 2017-02-26 07:17:13 +01:00
OBattler
0d7c980887 Changed version to 1.10. 2017-02-26 06:50:44 +01:00
OBattler
c9f61dfb94 86Box v1.04 Recommended Build. 2017-02-26 06:44:45 +01:00
OBattler
6e33da5056 Changed version to 1.10. 2017-02-26 01:46:23 +01:00
OBattler
be77f5aebe 86Box v1.03 Recommended Build. 2017-02-26 01:32:27 +01:00
OBattler
1d281ab0c3 Version changed to 1.10. 2017-02-24 01:57:54 +01:00
OBattler
f305af6416 86Box v1.02 Recommended Build. 2017-02-24 00:54:30 +01:00
OBattler
1057a7c07b Version bump to v1.10. 2017-02-23 20:35:16 +01:00
OBattler
400be1286e 86Box v1.01 Recommended Build. 2017-02-23 20:16:24 +01:00
OBattler
4ddfa7c1db Changed version number to 1.01;
IMG floppy image handler now fills the remaining bytes with 0xF6 if it has read less bytes than expected - fixes handling of truncated IMG's with a valid BPB;
HDI files are now written with the correct header;
FDC DUMP REGISTERS command is now implemented correctly, fixes FDC error on AMI 486 clone and AMI WinBIOS 486;
Commented out the Acer 386SX and the Phoenix 386 clone;
WinPCap code is now delayed loading (thanks to Rai-chan), the emulator should now be able to run without WinPCap installed if not using PCap;
The IBM PS/2 Model 30 NVR file is now saved in the same directly as the other NVR files;
Applied all the latest mainline PCem Voodoo commits.
2017-02-23 19:52:14 +01:00
OBattler
9db233e1c5 Development build with version bumped to 1.10. 2017-02-21 02:15:07 +01:00
OBattler
02fbf2356b 86Box v1.00 Recommended Build. 2017-02-21 01:33:43 +01:00
OBattler
df4b4410e6 Fixed CGA, Hercules, and MDA for the second time, per suggestion and code from basic2004;
Added IBM PS/2 Model 30 emulation per mainline PCem patch from dns2kv2;
Commented out the Chips & Technologies VGA 451 as it needs further work;
Added the ability to disable XTIDE;
Prepared the icon that will be used for stable builds.
2017-02-20 00:16:42 +01:00
OBattler
b8418b94de Added emulation of the Intel 82335 chip for the Phoenix 386 clone;
Added the Samsung SPC-4200P;
Added the Chips & Technologies VGA 451;
Applied all mainline PCem commits;
Added Amstrad MegaPC 386DX model (exits per documentation that I have in German).
2017-02-19 01:58:21 +01:00
OBattler
c8c49ac216 Reworked serial and LPT set up - they can now bet set to any I/O base address (though that capability is not used by anything yet);
The CD-ROM IOCTL direct pass through code now does sanity check on the requested data size before passing the command - fixes crashes with some DMA-only host DVD drives;
The network poller is now in its own thread;
The hack is back in the emulation of the National Semiconductors PC87306 Super I/O Chip - it's the only way right now to have serial working on that board;
Fixed a part of the code that was still using NukedOPL even when OPL 3 was set to DOSBox OPL;
Applied all mainline PCem commits.
2017-02-07 02:19:48 +01:00
OBattler
55b6f1b802 Intel SIO/PIIX/PIIX3 Turbo Reset Control is now properly implemented;
Floppy disk controller is now COMPLETELY reset on hard reset;
NukedOPL is now optional (but enabled by default) so people on older hardware can gain a few % of performance by going back to DOSBox OPL;
*.CPP files now get all the correct optimization flags applied;
Added NEC PowerMate V emulation - you can get into CMOS SETUP but it hangs before booting, and PCI graphics card don't work (yet).
2017-01-31 20:39:36 +01:00
OBattler
661b409621 Merge branch 'master' of https://github.com/OBattler/PCem-Experimental 2017-01-26 18:33:05 +01:00
OBattler
dddd309bb8 Fixed the makefile. 2017-01-26 18:32:45 +01:00
OBattler
515b84d852 Merge pull request #89 from MoochMcGee/usb-work
USB work
2017-01-26 17:34:05 +01:00
OBattler
d4afd7c2c3 Added some things that were missing from the DMA controller;
Fixed a link-breaking bug in cdrom.c;
The AHA-154x now supports commands 0x28 (GET EXTENDED BIOS INFO) and 0x29 (UNLOCK MAILBOX) and no longer reports a firmware revision with scatter/gather bug;
The BusLogic now supports command 0x20 (RESET);
Fixed the GPIO register mapping on the National Semiconductors PC87306 Super I/O chip.
2017-01-26 17:20:55 +01:00
Melissa Goad
46479aa1bd Add basic USB support sorta 2017-01-22 00:22:14 -06: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
4dba966872 Reverted the makefiles back to 10 seconds sleeping time. 2017-01-18 22:33:52 +01: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
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
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
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
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
2116fa50a3 Reverted all the recent makefile changes. 2017-01-04 00:45:58 +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
OBattler
120c870e67 Added -lssp to the libraries part of the makefiles. 2017-01-03 19:41:56 +01:00
OBattler
91696f07a2 Added -fstack-protector-strong -pie -fPIE flags for stack protection. 2017-01-03 19:35:09 +01:00
TC1995
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.
2016-12-23 17:11:59 +01:00
OBattler
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.
2016-12-23 03:16:24 +01:00