Commit Graph

194 Commits

Author SHA1 Message Date
OBattler
a219d48061 Fixed an IF block in the PS/1 code. 2020-01-14 22:40:14 +01:00
OBattler
da82e6a5eb Finished the VIA machine. 2020-01-14 02:14:39 +01:00
Melissa Goad
426bf8c46e Fix the name of the VT82C586B southbridge 2020-01-13 18:50:12 -06:00
Melissa Goad
aa73f2215f Preliminary port of PCem's FIC VA-503P motherboard 2020-01-13 18:50:09 -06:00
nerd73
dc7164e146 Final revamp patch
- Added the proper names for the AMI 386DX/486 clone and the AMI ALi 1429.
- Moved AMI ALi 1429 to Socket 1 because of the identified motherboard not supporting the Pentium OverDrive
2020-01-07 15:10:26 -07:00
nerd73
43816991b6 Patch for the revamp
- Delinked CPU bus speed from PCI speed
- Changed the CPU multiplier from an integer to a double
- Changed the CPU cache/mem cycles on the K6-2s from fractions to integers
- Fixed cache/mem cycles on the faster Cyrix MIIs
- Fixed some spacing issues that I created
2020-01-05 15:56:52 -07:00
nerd73
8e1c0f5337 CPU table revamp
- Added IBM 486SLC2/40 because somehow I didn't know it existed
- Revoked Dynarec support on the IBM 486 CPUs after several PS/2 machines were buggy with it
- Disallowed Pentium OverDrive and 3.3V 486 CPUs on the AMI 486 clone, Award 486 clone, IBM PS/1 2133, and IBM PS/2 model 70 Type 4 due to discovery that they used either Socket 1 or the original 486 socket
- Disallowed split-rail voltage CPUs (P55C, 6x86L/6x86MX, K6) on all Socket 7 FX and some HX motherboards that don't support it
- Fixed a lot of wrong multipliers on 5th-generation CPUs
- Added mem and cache cycles for the faster K6-2s/K6-3s above 300 MHz
2020-01-03 22:59:49 -07:00
OBattler
8cad1a3c4c Fixed the Tandy 320x200x4 modes. 2019-12-28 05:50:55 +01:00
nerd73
07613ce520 Add files via upload 2019-12-16 18:10:47 -07:00
nerd73
2ce2ea23d0 Added the new CPUs to various PS/2 machines. 2019-12-16 13:58:30 -07:00
tiseno100
9e1100ec3d Fix the Ambra's not appearing for the old dynarec. Added few 286 boards
Added a few 286 boards:
- Unknown Phoenix Headland
- Unknown Quadtel Headland
- Headland IQS(Phoenix A286)
- The AMI, Quadtel and Phoenix variants of IBM AT
- Samsung Deskmaster 286
- A Dev branched Micronics 386 Board
2019-12-15 22:05:23 +02:00
tiseno100
2f57e207c8 Fixed the incorrect old pathing 2019-12-14 22:52:53 +02:00
tiseno100
37efc07d59 Added the IBM Ambra DP60 and DP90 variants
DP60 and DP90 use standard Intel OEM boards but they have their own special BIOS
2019-12-14 22:50:44 +02:00
OBattler
a838e8548f PIT rewrite. 2019-12-02 07:05:12 +01:00
OBattler
5619250433 Fixed a compile-breaking mistake in machine/m_ps2_isa.c. 2019-11-20 00:48:11 +01:00
OBattler
0d97fadb6e Some quick fixes for the IBM PS/2 Model 30-286. The hard disk controller is the same as the PS/1 one, and will be properly fixed in v2.10. 2019-11-19 04:44:43 +01:00
OBattler
b5ba9eafe3 The Award 286 Clone no longer has on-board IDE - the machine technically has it, but it can be disabled, so the easiest way to do it on the emulator is to make the user choose the IDE controller if they need it, and tell the BIOS to use it. 2019-11-19 04:41:42 +01:00
OBattler
ee77bc1471 Updated the notes in the header of machine/m_amstrad.c. 2019-11-01 23:29:39 +01:00
OBattler
79b1b5be5b Removed an outdated note from the header of machine/m_ps1.c. 2019-11-01 21:07:58 +01:00
OBattler
ccd0df5cff Fixed memory states set by some machines (including IBM PS/1's and MCA PS/2's). 2019-11-01 14:23:52 +01:00
OBattler
e939d06acc Award 286 Clone now has an on-board IDE controller as its CMOS Setup says it should. 2019-11-01 03:59:47 +01:00
OBattler
e967603e59 On 808x, timers are no longer run on every cycle decrease from other devices, properly fixes the stack corruption that was crashing MasterWrite, consequently, the previous fix has been removed;
Committed the machine files I forgot to commit before.
2019-10-20 20:33:59 +02:00
OBattler
a495faec59 Direct3D in full-screen mode now transfers control of input to the full screen window, fixes #429;
Unified screenshot code and moved it to video.c, it is now independent of both renderer and platform;
The EGA/(S)VGA overscan now also works for CGA, PCjr, Tandy, and CGA-using Amstrads;
Fixed EGA/(S)VGA overscan operation so it works correctly with scrolling and panning;
Fixed 320x200x32K and 320x200x64K modes on the ET4000/W32p;
Fixed the Video 7 1024i chip ID and video memory options, fixes #431;
Fixed a banking bug in the S3 cards, fixes Windows 9x and NeoPaint.
2019-10-20 15:09:38 +02:00
OBattler
6a813b5753 The Olivetti M24 now correctly initializes the palette on init, fixes black screen. 2019-10-08 15:42:10 +02:00
OBattler
7e5a36a959 Fixed the colors in Tandy 640x200x4bpp modes. 2019-10-01 23:47:15 +02:00
OBattler
8d28b9e0c5 Changed the Toshiba T1000/T1200 init function to load fonts in full 2048-byte mode, fixes #420. 2019-10-01 21:36:27 +02:00
OBattler
6b55436457 The Toshiba T1000/T1200 and T3100e polls now respond to window resizes forced by the host, should fix the bug where they did not respond to things like Window scale factor. 2019-10-01 15:23:15 +02:00
OBattler
4322cf3abf Fixed 486 non-PCI machine memory limits. 2019-09-29 07:24:13 +02:00
OBattler
b1f91ff54a Fixed a compile-breaking mistake in machine/m_europc.c . 2019-09-27 14:15:44 +02:00
OBattler
08925223e6 Fixed the Schneider EuroPC on-board Logitech-compatible Bus Mouse. 2019-09-27 14:07:57 +02:00
OBattler
3275b17657 The PCjr now correctly initializes the font and palette on video init, fixes emulator start-up with internal video selected. 2019-09-25 18:32:36 +02:00
OBattler
94379b2d50 The Amstrad PC1640 now correctly loads the font and initializes the palette on init, fixes display on POST. 2019-09-23 22:37:07 +02:00
OBattler
552a87ea3d Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g  / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
OBattler
1a4d1f32f8 The Schneider EuroPC now initializes the PIT DRAM refresh timer. 2019-02-11 01:36:22 +01:00
OBattler
c1f18d9abc More 808x fixed - fixed (kind of) the 8086 lock ups and the DRAM refresh wait states, also further fixed (and cleaned up) prefetch queue operation, applied a few warning fixes, and fixed the behavior of PUSH SP - anything that uses it to tell 808x apart from 286 is now fixed;
Re-added the higher-clocked 8088's;
Fixed PIT timings for 808x CPU's that don't run off an 14.3 MHz crystal;
Fixed CGA cursor half blink rate setting - fixes insane cursor blinking speed in several cases;
DMA now issues DMA refresh DRAM states on every channel;
Gave the 1982 years to the previously emulated PC and XT's names, and added the 1981 IBM PC and 1986 IBM XT;
Redid the PPI DIP switch redout for the PC/XT keyboard controller;
Fixed a segmentation fault in hdc_ide.c that tended to occur on hard reset after switching machines;
Implemented the port 3B8 color disable on the Hercules, Hercules Plus, and Hercules InColor cards;
Fixed the joystick configuration dialog strings;
Fixed a problem that would have prevented win_sdl.c from compiling with logging enabled.
2019-02-11 01:33:15 +01:00
OBattler
46d0ed2baa Rewritten 808x CPU emulation core based on reenigne's XTCE, VisiOn, SnatchIt, and 8088 MPH now work correctly;
Fixed PC speaker sound volume in PIT mode 0;
A few CPU emulation clean-ups;
Hard disk controller changing redone in a less messy way;
Re-added the long-missing key send delay handling to the XT keyboard handler;
Fixed a bug that was causing SLiRP not to work when compiled with MingW/GCC 7.3.0-2 or newer;
Some serial mouse and port fixes;
A lot of changes to printer emulation, mostly based on DOSBox-X;
Printer PNG writer now uses statically linked libpng;
Added support for the HxC MFM floppy image format and upped 86F format version to 2.12;
Ported various things from PCem and some from VARCem;
Added the S3 86c801/805 emulation (patch from TheCollector1995);
Fixed and renamed the EGA monitor options;
Better synchronized the 808x to the PIT and the CGA;
Fixed the CGA wait state calculation;
Cleaned up some things in mem.c;
Fixed some things in the floppy emulation to make VisiOn get the correct errors from the copy protection disk;
Fixed several renderer-related bugs, including the SDL2 renderer's failure to take screenshots;
The Jenkins builds are now compiled with MingW/GCC 7.4.0-1 and include all the required DLL's.
2019-02-06 03:34:39 +01:00
OBattler
cc32193dbf Removed excess calls to secondary_ide_check(). 2018-11-09 09:37:48 +01:00
OBattler
d386240fcb Removed the file pointer from the hdd_t struct;
Partially split off the Logitech Serial Mouse emulation from Microsoft Serial Mouse;
Slightly reworked serial port emulation (the two UART's are now device_t's, non-FIFO mode implemented and is now default, FIFO mode reimplemented from scratch so it's now actually correct);
Added the emulation of the SiS 85c497 chip to the SiS 85c496/497 chipset;
Bugfixes to the emulated Super I/O chips and made them all device_t's now.
2018-11-08 19:21:55 +01:00
OBattler
7b1a40164e Added AMI and MR 386SX and 486 clones using the same BIOS already used for the 386DX (same way we did for the Award already), the old AMI 386SX clone is now AMI Unknown 386SX (because we have no idea what chipset the BIOS is for), and the old AMI 486 clone is now the AMI ALi 1429. 2018-11-02 21:02:04 +01:00
OBattler
07cbe9a017 Fixed the PCjr - now works even if the emulator is started set to it, and keyboard works fine. 2018-11-02 11:35:56 +01:00
OBattler
21235eeac2 Fixed some EuroPC bugs (one had to do with the NVR), the EuroPC now works again. 2018-11-01 10:49:19 +01:00
OBattler
54aca15a8b Added the Sigma Color 400, ported from PCem patch by John Elliott;
Spread the logging changes to machine files and added a missing log toggle to Makefile.local.
2018-10-22 04:22:00 +02:00
OBattler
3b8d5f6b87 The TriGem 286M now correctly has IDE;
The TriGem 286M no longer has an internal graphics card - the TriGem Korean VGA card is an ISA card;
Changed the configuration of the AMA-932J's internal OTI-067 to default to 256 kB of memory as that's what the card seems to have.
2018-10-09 05:53:09 +02:00
OBattler
4a981119fa Fixes to NVRAM initialization and the IBM AT's NVRAM now initializes with all 0xFF's. 2018-10-06 01:48:21 +02:00
OBattler
415c396163 Removed hopefully all the remaining excess files. 2018-10-04 03:35:16 +02:00
OBattler
ed92602dad Fixes for the (S)VGA common DAC and some card-specific DAT's (ATi 68860, BT48x family, and the Cirrus Logic DAC), fixes Star Control II among other things. 2018-10-04 01:19:43 +02:00
OBattler
647d78e4c2 Removed a lot of useless #include's from a lot of files and reworked the SCSI #include's a bit to resolve the problem of scsi.h being a mess. 2018-10-02 22:54:28 +02:00
OBattler
f1796e8d1d The Award 386SX clone now correctly has a maximum of 16 MB RAM. 2018-09-24 16:45:23 +02:00
OBattler
492da45c31 The Toshiba T1000 and T1200 FDC now has port 3F7 (the change line port), fixes booting floppies on at least the T1200. 2018-09-22 01:38:38 +02:00
OBattler
69b57c49b0 Major changes to video code - no more ROM set checks, and type and timings are set in a card's device init function;
Added the ExpertColor DSV3868P CF55 (S3 Vision868).
2018-09-19 20:13:32 +02:00