Commit Graph

1731 Commits

Author SHA1 Message Date
OBattler
1fc459b8b9 Moved the call to pc_init_modules() once again to before the renderer API is initializes, fixes Eradicator when 86Box is started with the renderer set to Direct3D;
Added some sanity checks to both the DirectDraw and Direct3D code.
2017-12-15 03:40:36 +01:00
OBattler
356a481f73 Merge branch 'master' of https://github.com/OBattler/86Box 2017-12-14 04:39:41 +01:00
OBattler
67cc1b42e6 Fixed IDIV on 286+ again, fixes Windows 95. 2017-12-14 04:38:33 +01:00
waltje
3a0e1e7d6a Hrrm. 2017-12-13 22:34:32 -05:00
OBattler
28426e53af Fixed the IDIV instructions on 286+ again, this time properly, fixes hang with the NCR 53C810 BIOS v4.0x. 2017-12-14 03:33:07 +01:00
OBattler
ed384101fd The mouse close function no longer closes the mouse device because that's already done by device_close_all() - fixes the emulator's instability on hard reset. 2017-12-14 02:42:40 +01:00
OBattler
8c38b94594 Fixed the overflow checks for all IDIV instructions for 286+ CPU's;
Fixed the mouse close functions.
2017-12-14 01:35:04 +01:00
OBattler
044559f4e9 Fixed a number of bugs in the NCR 53C810 code;
64-bit Windows 86Box now compiles without warnings.
2017-12-13 22:39:41 +01:00
OBattler
b297311ba3 Added an #include to SLiRP's ip_input.c, so that it compiles correctly using GCC 7.2.1. 2017-12-12 21:42:54 +01:00
OBattler
0d7ece0daf Changed all the renderers' init functions to correctly call cgapal_rebuild() instead of manually rebuilding the CGA palette array. 2017-12-12 19:18:12 +01:00
OBattler
83f7d458db Readded the previously incorrectly removed Load and Store SCRIPTS Instructions to the NCR 53C810. 2017-12-12 04:17:23 +01:00
OBattler
d111aef475 Fixed a very minor bug in mem.c. 2017-12-12 01:55:08 +01:00
OBattler
5b229b8043 If the machine has 16 MB or more RAM, 384 extra kB are now malloc'ed for the top remapping. 2017-12-11 21:14:55 +01:00
OBattler
0a11a6d3b4 Added a second set of physical address byte read and write functions in mem.c that are now used by dma.c so that DMA reads and writes do not go through the CPU's paging mechanism anymore - fixes Adaptec and BusLogic SCSI drivers in NT 3.1;
Applied some more of greatpsycho's CPU patches;
Reworked the PS/2 Model 80 split memory block handling and removed the top 256k remap from it (that's what the split memory block is for) - fixes OS/2 2.x on that machine.
2017-12-11 19:41:58 +01:00
OBattler
19c5e93a3c Two minor bugfixes in the NCR 53C810 code;
Slightly changed the FDC's timer usage;
Added an #include to cdrom.c that should be there.
2017-12-10 19:36:41 +01:00
OBattler
ee27aec06c And also committeded queue.h now. 2017-12-10 15:43:22 +01:00
OBattler
2145619505 And now actually committed the NCR 53C810 files. 2017-12-10 15:37:46 +01:00
OBattler
f050810e2f Added the NCR 53C810 PCI SCSI controller;
Fixed the behavior of the CD-ROM GET CONFIGURATION command when unimplemented features are requested;
Fixed the behavior of the CD-ROM READ DVD STRUCTURE command in some situations and made it correctly report 05/30/02 for incompatible format;
Reworked the PS/2 Model 80 Type 2 memory handling a bit;
The emulator now allocates the few MB of space needed for pages for the entire 4 GB RAM space at the startup and only memset's it to 0 on hard reset - should make sure DMA page reads from/writes to memory-mapped devices no longer crash the emulator on invalidating the memory range;
Applied app applicable PCem patches;
The PS/1 Model 2133 now also applies PS/2-style NMI mask handling - fixes the 486 recompiler on this machine;
Added the missing #include of "cpu/cpu.h" in io.c, fixes compiling when I/O tracing is enabled.
2017-12-10 15:16:24 +01:00
waltje
c7946fbce7 Fix logging issues. 2017-12-10 02:54:20 -05:00
waltje
d52846d3be Mouse changes - mice are now regular devices with config options. 2017-12-10 02:09:06 -05:00
waltje
50cf53515c InPort driver now works with DOS 6.22 (Mouse 9.1) driver again. More testing needed. 2017-12-09 03:55:04 -05:00
waltje
3f640fd0c5 Fixed logging oopfie in fdc.c, next cleanup in InPort. 2017-12-09 01:04:10 -05:00
OBattler
772955bf59 The PS/2 Model 80 memory expansion board initialization now correctly sets up the RAM mappings;
The per-device log functions now all call pclog().
2017-12-05 23:35:35 +01:00
waltje
5f8900e3cd Updated machine defs in machine_table.c and added notes. 2017-12-05 17:24:59 -05:00
OBattler
3e43348730 PS/2 Model 80-486 no longer initializes the memory expansion board. 2017-12-05 22:58:34 +01:00
OBattler
c15fb69584 Fixed the AHA-1640 and BT-640A MCA SCSI controllers, they both work correctly now;
IBM PS/2 Model 80-486 now correctly loads and saves a second NVR file.
2017-12-05 22:39:21 +01:00
OBattler
8d8915e231 Fixed the IBM PS/2 ESDI Fixed Disk Controller. 2017-12-05 20:49:12 +01:00
OBattler
4ccef55bc0 Modified CD Audio thread initialization and termination a bit, fixes the emulator hang when disabling the last enabled CD-ROM drive;
The CD Audio thread is now closed on emulator close if it was opened.
2017-12-05 20:19:19 +01:00
waltje
dee68cdeec Merge branch 'master' of https://github.com/OBattler/86Box 2017-12-05 13:38:21 -05:00
waltje
668a7fffa9 Fixed closing of non-open serial mouse (Altheos bug report.) 2017-12-05 13:37:18 -05:00
OBattler
55d2e3c9a7 The AT keyboard controller now recognizes the Green-B as an AMI BIOS board, should handle the AMI-specific keyboard controller commands correctly now;
Fixed (S)VGA sense handling - fixes error 2401 on PS/2's;
Fixed the IBM XT Model 286 NVR flags.
2017-12-05 18:34:09 +01:00
waltje
af08e251d3 Whoops. Pushed the old file. 2017-12-04 18:01:16 -05:00
OBattler
cd1abafd13 Undid the reversion of the S3 Trio/Vision code to PCem's;
Fixed the warnings in the Voodoo code.
2017-12-04 21:10:10 +01:00
waltje
90c13dd25f Added new machine (4GPV31) 2017-12-04 14:50:58 -05:00
OBattler
f8923c3490 Removed excess logging in the PIIX code. 2017-12-04 20:44:06 +01:00
OBattler
ae66b3f124 The Windows absolute path checker now considers the forward slash as well;
Applied all applicable PCem commits;
The PS/1 and PS/2 machines now have the correct graphics cards - fixes the reference diskettes;
The open dialog code now changes directory to usr_path after the dialog is closed;
Disabled excess logging in the TI SVGA code.
2017-12-04 20:35:05 +01:00
waltje
fc34a6eaf3 Re-worked mouse code to be devices (to allow for configuration.)
Re-worked the system pathnames (pc.c), renamed cfg_path to usr_path.
Other small things here and there.
Logitech bus mouse re-worked, should be OK now.
2017-12-04 12:01:56 -05:00
OBattler
5bf569759e Reset the S3 Vision/Trio emulation back to PCem's, since it looks like some changes in ours had broken it. 2017-11-29 22:49:11 +01:00
waltje
a7a4d8c864 Quickfix for XP crash. DO NOT CHANGE. 2017-11-29 02:53:51 -05:00
waltje
204e10795a Fixes error message when running on system without DX (reported by foxlet.) 2017-11-28 22:52:30 -05:00
OBattler
cac60e6087 Applied the PCem Phoenix S3 Trio64 1 MB VRAM fix. 2017-11-28 23:33:13 +01:00
OBattler
c790730f2c Changed debug optimization switch back to -Og. 2017-11-27 23:32:59 +01:00
OBattler
54553f7680 Fixed a mess up in vid_voodoo.c. 2017-11-27 22:48:20 +01:00
OBattler
8a3f64e032 Applied all recent PCem commits. 2017-11-27 22:45:31 +01:00
OBattler
6eca46e613 DEV_BUILD builds will now be compiled with DEBUG=y. 2017-11-26 09:36:05 +01:00
OBattler
0e1cbadb48 Changed the base for relative configuration path from the EXE path to the current working directory at startup. 2017-11-26 08:49:21 +01:00
waltje
340261934c Fix to set default video card back to CGA. 2017-11-26 01:23:44 -05:00
OBattler
0009d4a1c3 AT NVR writes now again correctly set NMI mask;
If no VM path is specified or the specified VM path is relative, it is now converted to absolute using exe_path;
Fixed saving path for screenshots when using the DirectDraw renderer.
2017-11-24 13:14:09 +01:00
waltje
ce1bab2967 Cleanups to make all logging functions use stdlog instead of stdout.
The new --logfile (-L) commandline option sets a file to log to.
The new --debug (-D) forces output to stderr if no logfile is given.
2017-11-24 02:24:06 -05:00
waltje
d287293a75 Update for MPU401 by TheCollector1995, fixing NT - pending checking with MPU401 TechRef. 2017-11-23 21:45:17 -05:00