Commit Graph

372 Commits

Author SHA1 Message Date
driver1998
cc0870612d Fixes a bug that xinput axises are reversed. 2019-03-30 04:49:00 +08: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
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
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
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
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
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
3a8bd15b9d Extensive rework of SCSI and ATAPI devices and numerous bug fixes and cleanups;
Extensive rework of CD-ROM image handling;
The settings save code now forces some devices' (SCSI disk, CD-ROM, etc.) pointers to NULL before resetting the machine - fixes segmentation faults after changing settings;
Added the NCR 53c825A and 53c875 SCSI controllers;
Fixed IDE/ATAPI DMA;
Slight changed to PCI IDE bus master operation.
2018-10-30 13:32:25 +01:00
OBattler
6410e0ac75 Attempted mitigation for the problems regarding user-initiated resizes/moves. 2018-10-28 18:26:51 +01:00
OBattler
e6f8020baf The Settings dialog now pauses the VM first of all things. 2018-10-26 18:26:24 +02:00
OBattler
8e08a1feaa WM_SENDSSTATUS with WPARAM 1 is now sent before the Settings dialog is opened. 2018-10-26 18:16:57 +02:00
OBattler
473b71436d The scsi_cdrom[], zip[], and scsi_disk[] arrays are now gone. 2018-10-26 04:47:21 +02:00
OBattler
89ec54ebd2 The WM_SENDSTATUS and WM_SENDSSTATUS window messages now send the emulator's hWnd in LPARAM. 2018-10-24 18:56:17 +02:00
OBattler
51f3a7a335 The Windows code now uses PostMessage to send manager WM's instead of SendMessage. 2018-10-24 16:01:20 +02:00
OBattler
4343f5a8a3 Redid device instantiation, now the ISA memory boards can be configured without having to restart the emulator first. 2018-10-23 21:14:41 +02:00
OBattler
09dbd59985 Fixed a compile-breaking bug. 2018-10-23 19:45:05 +02:00
OBattler
53e64c22ba Added the WM_SENDSTATUS (0x8895) and WM_SENDSSTATUS (0x8896) window message for manager purposes. 2018-10-23 19:41:17 +02: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
f088896a74 A few fixes, CD-ROM ejecting/reloading should no longer cause heap problems because they now allocate prev_image_path with the correct length, and the status bar should now work after a hard reset with no config change. 2018-10-21 22:09:18 +02:00
OBattler
480666673e Fixed a warning in win_sdl.c. 2018-10-21 20:14:12 +02:00
OBattler
15db405697 Fixed Iomega ZIP drive initialization mess;
Fixed (hopefully) network status bar activity indication.
2018-10-19 19:10:12 +02:00
OBattler
1f273d1469 Removed the WIP Video7 files from the makefile, should fix compiling. 2018-10-19 00:51:26 +02:00
OBattler
cfc626f111 Change to logging - when logging is disabled, the logging functions are now #define'd to nothing, so the compiler ignores the lines that call them completely, seems to slightly speed up the emulator; note that the logging in vid_table.c has not been changed yet, because this file on my local tree currently contains other WIP changes. 2018-10-19 00:39:32 +02:00
OBattler
c663147d11 Imported CD-ROM-related changes from VARCem;
Removed cdrom_null.c/h;
Some changes to logging (will be spread to everything else soon).
2018-10-17 05:29:48 +02:00
OBattler
09168610a4 The absolute path is now passed to plat_dir_create() instead of the relative path;
The makefile now support passing a number of jobs to flto.
2018-10-12 23:54:23 +02:00
OBattler
b1984207c7 Modified plat_dir_create() to use SHCreateDirectory instead of CreateDirectory - now the emulator should create every level of path that doesn't exist. 2018-10-12 20:10:33 +02:00
OBattler
50fac1484b Added the WM_CTRLALTDEL window message that sends CTRL+ALT+DEL to the VM. 2018-10-12 16:27:47 +02:00
OBattler
6155802b59 Split generic CD-ROM from SCSI-style CD-ROM;
Redid the way SCSI and ATAPI devices are handled;
Slight timings change in the NCR 5380;
Devices are now closed by device_close_all() in the reverse order of the one in which they were started;
Slight changes to some code in win/;
Added the WM_HARDRESET and WM_SHUTDOWN window messages for configuration manager purposes.
2018-10-10 22:33:24 +02:00
OBattler
f2fa22956e The machine configure button is now disabled if the device returned by machine_getdevice() has no config. 2018-10-08 16:34:03 +02:00
OBattler
45731dbaa0 Fixed some minor things. 2018-10-07 15:05:14 +02:00
OBattler
f81574b419 Reworked the RAMDAC and clock chip initialization - now they're all device_t's;
Moved the BT48x hardware cursor draw function to the RAMDAC's code where it belongs;
Renamed the BT48x RAMDAC code file to vid_bt48x_ramdac.c (was vid_bt485_ramdac.c);
Fixed BT48x 64x64 hardware cursor bugs (caused by the index variable being uint8_t when it should have been uint16_t) introduced in the previous commit.
2018-10-05 01:54:54 +02:00
OBattler
3e499eb9ba And two more in win/. 2018-10-04 03:40:32 +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
eba4ca376e Added the Diamond Stealth 64 VRAM (S3 Vision964) and its Brooktree BT485 RAM DAC;
Removed the ExpertColor S3 Vision868 card;
Rewritten the ICD2061 clock chip and moved the Diamond Stealth 32 back to the main branch as it's now fixed;
Fixed the Y offset of the 64x64 hardware cursor of the Cirrus Logic cards.
2018-09-30 20:29:44 +02:00
OBattler
c7a331a903 Removed the "legacy ID" mess from the video code;
Removed obsolete compatibility stuff from config.c;
Removed the useless gfx_present array.
2018-09-19 20:46:42 +02:00
OBattler
7f26f64882 Removed scsi/scsi_bus.c as it's no longer needed. 2018-09-15 19:58:24 +02:00
OBattler
4b64212b35 Added the Jetway J656VXD (430VX-based Award PCI machine);
Moved the IBM PS/2 Model 70 Type 4 to the DEV branch.
2018-09-12 14:42:13 +02:00
OBattler
0b47ae8bfe Fixed some signedness mess in the Settings dialog, fixes creating hard disk images bigger than 2 GB. 2018-09-12 03:02:02 +02:00