Commit Graph

35 Commits

Author SHA1 Message Date
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
Melissa Goad
e361b0e429 Merge RIVA 128 and RIVA TNT implementations 2016-12-13 20:22:38 -06:00
Melissa Goad
c3ba551da5 Triple oops 2016-11-16 16:47:49 -06:00
TC1995
0f035b42ea Added preliminary Adaptec 154x emulation, needs fixing in the Read 10 command.
Made ATAPI derived from SCSI.
Added proper S/G emulation for SCSI DMA.
Added SCSI CD-ROM emulation, preserving all the former ATAPI commands as well.
2016-11-12 15:06:38 +01:00
OBattler
1b1b18f1dd Removed the CRC64 stuff from the Windows makefiles. 2016-11-05 01:02:32 +01:00
OBattler
a619af0acf 86F version increased to 2.10 - each side of each track now has its own offset in the table and each track now has its own number of extra bitcells;
Number of formatted sectors is now set to 0 every time the FORMAT TRACK command is issued;
The 86F writeback function now performs a fseek between the fread of the header and the fwrite of the track offsets table, so said table actually gets written to the file now;
PS/2 mouse now works on the Epox P55-VA;
Serial mouse now works again.
2016-11-03 22:07:34 +01:00
OBattler
e280faa2d6 86F format handler updated to 86F version 2.0 and bit by bit handling;
FDI stream images are now also handled by the 86F handler;
Both floppy drives' motors now spin separately;
Added Plantronics ColorPlus emulation per patch from PCem forum;
Applied all mainline PCem commits;
Fixed several bugs.
2016-11-02 22:39:07 +01:00
TC1995
109e339453 Added Amstrad mouse emulation for the PC1512, PC1640, PC2086 and PC3086. 2016-10-08 23:48:45 +02:00
Melissa Goad
ed5b69e26b Cirrus Logic core from QEMU. Code from TC1995, Rebased by MoochMcGee 2016-10-07 09:09:09 -05:00
Melissa Goad
a07a30645c Add preliminary RIVA 128 emulation 2016-10-06 16:05:02 -05:00
Melissa Goad
f7b9249b54 RIVA TNT support 2016-10-06 13:42:13 -05:00
OBattler
ecd4c8934d Uncompressed sectors from an IMD image now get their actual image buffer passed rather than the temporary buffer, fixes writing to IMD images;
SVGA memory address is now latched with the mask divided by 2 in text mode, fixes OS/2 1.1 crashing the emulator.
2016-10-05 15:41:51 +02:00
OBattler
8f9bbb3679 Fixed two compile-breaking errors. 2016-10-04 18:02:15 +02:00
OBattler
6ac2526dbb The 86F handler now reads and writes .86F images correctly again;
Improved TeleDisk support;
Added support for ImageDisk (IMD) images;
Added MSR registers 186 and 570 for the Intel i686 CPU's;
Applied both mainline PCem commits.
2016-10-04 17:25:16 +02:00
OBattler
d3d26999f6 Added support for TD0 (Teledisk) floppy images;
Fixed support for Japanese HDI hard disk images;
Attempt to mix DOS 4.x DOSSHELL mouse issues.
2016-09-29 21:54:34 +02:00
OBattler
bde171e81b Hard disk parameters dialog boxes now allow you to specify size in MB or select a predefined type from a combo box;
Japanese HDI hard disk images are now supproted;
FDC FORMAT command now CRC's the correct data, fixes formatting inserted IMG's;
FDC SEEK command now no longer incorrectly reports invalid status when HDSEL (head select) is 1, fixes booting from inserted floppies of any format on boards other than ASUS P/I-P55TVP4.
2016-09-25 21:39:21 +02:00
OBattler
b25b614e6e Removed debug fatal on data CRC error from the 86F handler;
Prepare sector function can ignore rather than wrap around if so told;
Format now tells prepare sector to not wrap around.
2016-09-23 01:06:05 +02:00
OBattler
6318e2bb17 Rewritten parts of the 86F handler to minimize false CRC errors and misidentification of sectors;
Replaced IMG handler with one that now proxies to the 86F handler;
Applies the remaining Mainline PCem speedup commit;
Fixed the National Semiconductors PC87306 Super I/O Chip's serial port IRQ assignment;
DMF images are now loaded with the correct sector interleave, improving read/write speed;
XDF images are now loaded in a way that emulates the real order of the sectors on the track, improving read/write speed;
Added 16-bit physical memory read/write routines (mem_phys_readw, mem_phys_writew) and modified the 16-bit DMA code to use them instead of two 8-bit reads/writes.
2016-09-22 21:22:56 +02:00
OBattler
c6c6fe8e2d Added support for version 1.20 of the 86F format;
Hopefully made the 86F handler for the FDC READ TRACK command work correctly.
2016-09-07 20:59:08 +02:00
OBattler
c74889b219 Removed debug switch from the 32-bit makefile. 2016-09-04 16:14:32 +02:00
OBattler
2c12ba685e Both .86F and .IMG handlers now handle 40-track media correctly on 80-track drives with double stepping. 2016-09-04 03:50:06 +02:00
OBattler
1ddad56c8c Added support for the D86F floppy image format I invented that allows things not possible with IMG images;
Applied all mainline PCem commits;
Settings dialog now says 86Box instead of PCem;
Manifest renamed from PCem to 86Box.
2016-08-31 22:49:56 +02:00
OBattler
d764689d05 Rename from PCem-Unofficial v11 to 86Box v1. 2016-08-15 02:15:51 +02:00
OBattler
1433d9a073 Applied both mainline PCem commits;
Fixed the RTL8029AS again (one of my "fixes" broke it);
RTL8029AS PCI register 4 is now written to;
Added incomplete (and currently commented out) emulation of the AWE64 PCI;
Replaced sector-based floppy emulation with more accurate code.
2016-08-15 01:34:46 +02:00
OBattler
5cf27ebc0d Switched OPL3 to Nuked OPL emulation, patch from TheCollector1995. 2016-08-08 02:32:55 +02:00
OBattler
63e15d1763 Added BT485 files to Windows makefiles. 2016-07-23 17:06:51 +02:00
OBattler
f41bbb6ba8 Added emulation of Cardex ET4000/W32p with ICS/SDAC RAMDAC;
Fixed ET4000/W32p clock (for non-Diamond variants) and banking extension;
Brought the code on par with the mainline;
Fixed names of the two Cardex ET4000/W32p variants per the BIOS'es;
Brought ET4000AX unknown RAMDAC back in line with the mainline (reverted bogus "fix" by Win9xFan);
Made 15bpp and 16bpp colors more accurate.
2016-07-23 01:48:47 +02:00
OBattler
0236637c5a Proper RTC emulation based on work by Mahod.
Updated README.md.
Updated AMD makefile.
2016-07-11 01:27:23 +02:00
OBattler
277b3eac8c Brought CGA code in line with mainline as the patch was accepted.
Uncommented auto-setting FDC data rate to 250 kbps on non-AT machines; fixes floppies on IBM PC and XT and clones;
Removed flto flag from the makefiles, should speed up compile times and make the XT and earlier machines work again;
Removed CGA brown and color burst settings in line with mainline PCem.
2016-07-09 02:18:45 +02:00
OBattler
fd2a5bc9f5 Initial submission of the PCem-Experimental source code. 2016-06-26 00:34:39 +02:00