Commit Graph

2407 Commits

Author SHA1 Message Date
OBattler
7108043872 Implemented hard disk activity indication again. 2019-09-21 19:15:38 +02:00
OBattler
e65e11fe9a Reworked CPU instruction segment limit and page fault checking a bit, fixes #406;
Implemented the MCA enable/disable bit for the MCA WD NIC's, fixes #407;
A small bug fix in dma.c.
2019-09-21 03:33:05 +02:00
OBattler
5a4f81d538 Removed some things from the makefile - should fix the Dev builds;
Removed some unused code from pic.c;
Updated Jenkins' development environment, 86Box builds will now be compiled using GCC 9.2.0-2.
2019-09-20 15:00:18 +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
b06296bbf6 Merge pull request #402 from friedkiwi/master
Fix incompatibility with latest mingw toolchain
2019-09-03 18:06:42 +02:00
Yvan Janssens
6b4d000993 Add static build support
This commit allows for building statically linked 86Box binaries.
Statically linked 86Box binaries do not need additional DLL files, which
improves user-friendliness significantly.
2019-09-03 08:58:35 +01:00
Yvan Janssens
8243df99e5 Fix incompatibility with latest mingw toolchain
This patch fixes the incompatibility with the latest mingw toolchain
(which uses GCC-9.2).
2019-09-03 08:33:05 +01:00
OBattler
f6f982c413 Merge pull request #398 from driver1998/win-borders
win_ui: Proper fix to window border issues
2019-07-28 23:10:42 +02:00
driver1998
0ce96fdd01 win_ui: Proper fix to window border issues 2019-07-28 05:10:03 +08:00
David Simunič
9b8c0afd3b Update README.md
Fixed broken link to Getting started page on the website.
2019-05-18 11:17:28 +02:00
OBattler
aa2d32e5b0 Merge pull request #380 from johnsirett/cd-volume-fix
Fix CD volume issue present on SB cards.
2019-04-27 23:22:50 +02:00
John Sirett
e72e686254 Fix CD volume issue present on SB cards. 2019-04-27 20:39:17 +01:00
OBattler
f22cf3d895 Merge pull request #376 from daviunic/master
Link to totorial/guide
2019-04-22 16:34:15 +02:00
daviunic
df1b20744f Update .gitignore
Added the annoying NUL file to ignore
2019-04-17 17:44:13 +02:00
daviunic
532795ed0a Link to totorial/guide
Added a section that links to the tutorial/guide so people can hopefully see it
2019-04-13 10:45:11 +02:00
OBattler
b6e5ec4ea4 Merge pull request #371 from driver1998/woa
Fixes a bug that xinput axises are reversed.
2019-04-01 16:59:08 +02:00
driver1998
cc0870612d Fixes a bug that xinput axises are reversed. 2019-03-30 04:49:00 +08:00
OBattler
fcc98b1147 Merge pull request #369 from driver1998/woa
Windows on ARM support
2019-03-22 06:00:31 +01:00
driver1998
1e469c8949 fix rawmouse input regression for regular relative mouse movement 2019-03-21 01:15:55 +08:00
driver1998
18a55b85df Mouse wheel and absolute movement support in rawinput mouse
note: absolute movement support is experimental, but it seems to work fine over RDP. Should solve #308
2019-03-20 13:59:25 +08:00
driver1998
7ccd79e109 wrote a stub on d3d_take_screenshot for platforms without d3dx (Windows ARM) 2019-03-20 07:48:13 +08:00
driver1998
484cda73d2 Xinput controller support
Used when DirectInput is disabled/not available (DINPUT=n). Default in ARM32.

Supports up to 4 compatiable controllers, with 8 axis (left & right thumb stick, two analog triggers and d-pad) and 12 buttons (basic buttons, and digital trigger)
2019-03-20 07:47:18 +08:00
driver1998
b4987e1f7a Mouse interface via RawInput
Used when DirectInput is disabled/not available (DINPUT=n). Default in ARM32.
2019-03-20 07:44:04 +08:00
driver1998
f6bdfcc2aa Update makefile for Windows ARM platform, and allow the removal of DirectInput 2019-03-20 07:41:46 +08:00
driver1998
2da25c0a29 Attempt to fix the UI gliches on Windows Clang build
Where the main window keeps getting smaller while moving around, and the mouse can get out of the guest when grabbed.
2019-03-20 07:39:04 +08:00
driver1998
b5700ed319 Fix error with llvm-rc 2019-03-20 02:51:11 +08:00
driver1998
27fc87f5e8 Fixes various warnings on clang 9.0 2019-03-20 02:42:55 +08:00
driver1998
faafb78c6e Make the random number generator work on non-x86 platforms.
Just use the timestamp as the seed. Not as great as what x86 has, but better than nothing.
2019-03-20 02:36:13 +08:00
driver1998
fecbec13cf Use _M_IX86 and _M_X64 to indicate MSVC x86/x64
_WIN32 is defined on ARM MinGW as well, which breaks current assumptions
2019-03-20 02:00:12 +08:00
OBattler
a7ae71c41e Merge pull request #361 from daviunic/master
Update README.md
2019-02-26 16:55:09 +01:00
David Simunič
69ce285ac8 Update README.md
Updated romset link, build instructions and removed obsolete Manager text.
2019-02-26 16:52:40 +01:00
OBattler
a3fb51acd8 Moved settings category #define's to win.h and added the win_settings_open_ex() function to open the Settings dialog with a specific category page displayed. 2019-02-11 01:54:00 +01: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
a4c11f9536 Fixed the makefile. 2019-02-06 03:42:59 +01:00
OBattler
9f2b917661 Fixed a bug in sound.c that was causing the Dev branch to fail compiling. 2019-02-06 03:38:54 +01:00
OBattler
bb3f095bb1 Merge branch 'master' of https://github.com/86Box/86Box 2019-02-06 03:35:02 +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
6f010aa56b Update README.md to Discord invite for perm. membership instead of temp. 2019-01-27 03:06:05 +01:00
OBattler
c91b1f2b8e The LPT control registers are now initialized to 0x04. 2018-11-09 20:05:32 +01:00
OBattler
b42d380f3b A fix for the fix. 2018-11-09 20:02:33 +01:00
OBattler
1723c914cb Change to printer RESET and STROBE operation. 2018-11-09 20:00:42 +01:00
OBattler
e73ccc2e4a Changes to handling of seconary IDE controller when it is optional. 2018-11-09 09:50:35 +01:00
OBattler
cc32193dbf Removed excess calls to secondary_ide_check(). 2018-11-09 09:37:48 +01:00
OBattler
388a95bade The inst variable of the serial_t struct is now always set. 2018-11-08 19:38:07 +01:00
OBattler
b84523db7c Merge branch 'master' of https://github.com/86Box/86Box 2018-11-08 19:22:04 +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
773b8bfd9d Merge pull request #337 from TC1995/master
Added Printer devices to LPT ports. These are the Generic Text printe…
2018-11-04 23:39:40 +01:00
TC1995
003944f137 Added Printer devices to LPT ports. These are the Generic Text printer and a Epson ESC/P dot-matrix compatible printer.
Also added is the printing output to PNG.
2018-11-04 23:35:28 +01:00
OBattler
3eaae2a08b Merge pull request #336 from TC1995/master
Applied the bug fix from John Elliot regarding the Sigma Color 400.
2018-11-03 12:46:51 +01:00