Commit Graph

741 Commits

Author SHA1 Message Date
OBattler
8e22d282d1 More CD-ROM fixes, Little Big Adventure now looks again;
Made SCAT logging optional and disabled by default.
2018-03-21 14:46:54 +01:00
OBattler
e42c24868c Fixed one instance of the SPINNER configuration type handler to handle it correctly by using wide strings and then converting to narrow strings, fixes #270. 2018-03-20 20:32:14 +01:00
OBattler
df746297c2 Several CD-ROM fixes. 2018-03-20 18:32:18 +01:00
OBattler
7237cc7237 Some tweaks to hard disk image creation. 2018-03-19 09:48:44 +01:00
OBattler
473fd383d2 Do not allow mouse capturing if no mouse configured, patch from VARCem;
Reimplemented saving of all the non-volatile things of the Toshiba T1000 and T1200;
Applied the latest T1200 patch from John Elliott;
Applied the latest ATI Korean VGA patch from greatpsycho.
2018-03-19 04:19:19 +01:00
OBattler
089041a5f3 The Add Hard Disk and New Floppy Image dialogs now automatically append an extension to the file name when none was given by the user. 2018-03-19 03:01:09 +01:00
OBattler
d2b5bf9200 Removed the old LZF files;
The 86F handler now only allocates the track surface descriptor data if the inserted image is an 86F and such data is present in the image.
2018-03-19 01:36:56 +01:00
OBattler
b1efb99ed6 Applied a whole slew of patches, getting RAM usage down by a further 10 MB. 2018-03-19 01:02:04 +01:00
OBattler
b6c393cc91 Numerous CD-ROM fixes (and disc changes now work correctly in Windows 98 SE);
Slight reworking in the mouse and network code (ported from VARCem) in preparation for a major change that will const a lot of things to further reduce RAM usage.
2018-03-18 20:48:10 +01:00
OBattler
0cb43db290 The CD-ROM image code in win_stbar.c now malloc's prev_image_path if it's NULL. 2018-03-17 23:57:04 +01:00
OBattler
a59dc8e436 CD-ROM code clean-ups, also reduces memory usage by a further about 2 MB. 2018-03-17 20:32:20 +01:00
OBattler
86a3941093 The DirectDraw renderer now also saves screenshots as PNG (using libpng). 2018-03-16 15:46:41 +01:00
OBattler
3b62e83315 Ported some IDE and ATAPI-related improvements from PCem;
Fixed the ATI 18800 emulation;
More tweaks to reduce RAM usage.
2018-03-15 22:57:24 +01:00
OBattler
ddcb901421 Ported over the VARCem NVR commit. 2018-03-13 03:46:10 +01:00
OBattler
c0bb63bd82 Fixed minor bugs in the NCR 53C810 and Adaptec/Buslogic SCSI emulations;
FDC reads and writes now use up ISA cycles;
Fixed Mach64 mono-source blits, fixes NT 3.1 and 3.5 drivers;
Incresed maximum emulated CD-ROM speed to 72x;
Fixed a minor bug in the Cirrus Logic CL-GD 54xx emulation.
2018-03-10 21:46:38 +01:00
OBattler
2da4a59423 Increased the maximum selectable CD-ROM speed to 56x. 2018-03-07 22:14:58 +01:00
OBattler
574f633a62 Fixed the makefile's header revision and date. 2018-03-07 20:17:04 +01:00
OBattler
16c722b32f Realistic CD-ROM timings on ATAPI PIO, ATAPI DMA, SCSI NCR 53c810, and SCSI Adaptec/Buslogic;
Added ability to select emulated CD-ROM drive speed;
The Adaptec and BusLogic SCSI controllers are no longer threaded;
Two fixes in video/vid_s3.c.
2018-03-07 20:06:08 +01:00
Daniel Gurney
7b8bee2752 Remove useless W5500 if condition and fix nonexistent -O level in Makefile.mingw 2018-03-07 20:10:19 +02:00
OBattler
22536d8d03 Fixed a mistake in floppy/fdd.c;
Fixed some undeclared variables in floppy/fdd_imd.c;
Moved zip.c/h to disk subfolder;
Fixed the warnings in video/vid_t1000.c.
2018-03-06 01:14:38 +01:00
OBattler
9356ae8bed Moved the MR Intel Advanced/ATX to the Dev branch. 2018-03-06 00:51:48 +01:00
OBattler
381dd2376c Fixed the creation and exporting of thick track 86F images. 2018-03-05 23:35:01 +01:00
OBattler
651bdf3931 Fixed the makefile so Dev builds are compiled correctly. 2018-03-05 20:47:48 +01:00
OBattler
ab97eb923d Dev build modules are now optionally disablable. 2018-03-05 19:55:27 +01:00
OBattler
99d22c3c03 Added the Xi8088. 2018-03-02 20:47:18 +01:00
OBattler
6e823e6232 Added the Toshiba T1000 and T1200. 2018-03-02 19:33:02 +01:00
OBattler
9c0d0e6a7c Changed the type of index_hole_pos in the 86F image creation code in win_new_floppy.c from uint16_t to uint32_t, fixes creation of 86F images. 2018-02-25 21:44:22 +01:00
OBattler
c03d112214 Corrected the relative track position in the current subchannel returned by the Windows IOCTL handler. 2018-02-25 17:14:10 +01:00
OBattler
0130c82df3 Fixed more bugs. 2018-02-25 10:40:53 +01:00
OBattler
b92a259e4d Fixed two more bugs reported by waltje. 2018-02-25 09:18:32 +01:00
OBattler
c7b99751d9 Fixed two bugs reported by waltje. 2018-02-25 08:59:57 +01:00
TC1995
36232ce6a1 Added Oak OTI-037c video card with modifications to the generic SVGA handler to conform its specific registers. 2018-02-24 15:56:48 +01:00
OBattler
e441601cd9 Some minor fixes in the AHA/BusLogic code;
Added the Cirrus Logic CL-GD 5428 ISA, 5430 VLB, and 5430 PCI;
The makefile now makes the compiler use the -flto flag only if OPTIM=y.
2018-02-19 12:32:54 +01:00
OBattler
1405d9b10b Moved the AMD K5 and K6 CPU's and the ATi VGA Wonder XL24 to the Dev branch;
Turned the char arrays in gameport.h into const char pointers;
The makefile no longer links in the (unfinished) PIIX4 emulation code (which is currently not used by anything even in the Dev branch).
2018-02-18 13:43:49 +01:00
OBattler
e0a9de85c9 Changed several char arrays all around the code to const char pointers, debloats the executable file from 8.7 MB to 5.6 MB;
Replaced the Cirrus Logic code with the latest code from TheCollector1995 - the CL-GD 5428 is now fully working, as is the CL-GD 5429;
Minor clean-up in the AHA/BusLogic BIOS commands code;
Slightly rewritten mem_readb_phys_dma() and mem_writeb_phys_dma().
2018-02-18 10:32:51 +01:00
OBattler
6cab207231 CD-ROM and Iomega ZIP PIO request length is now reduced if it is bigger than the remaining amount of bytes to transfer;
Fixed CD-ROM sector reading from CUE/BIN images with 2048-byte sectors;
Fixed existing CD-ROM Mode 2 support and adding support for the remaining variants of Mode 2;
The Windows CD-ROM IOCTL code now correctly determines the track type, fixes CD Audio over IOCTL;
Applied all PCem sound-related commits;
Sound Blaster 16/AWE32 mixer effects now also apply to CD Audio when the Sound Blaster 16 or AWE32 is selected.
2018-02-15 23:14:44 +01:00
OBattler
07bc427839 Limited the render area to a minimum size of 1x1, should fix some crashes. 2018-02-15 12:48:31 +01:00
OBattler
12760db9cc More tweaks to the resize code, should fix the P55T2S. 2018-02-14 15:23:02 +01:00
OBattler
60a4127216 On receiving the WM_MOVE message, the main thread is now told to issue another window resize if window is not in resizable mode, fixes the last glitches when moving during resize. 2018-02-14 12:40:53 +01:00
OBattler
bd0169cab8 Window resizing fixes - switching between resizable and non-resizable modes no longer distorts the renderer output, and moving the window while it's resizing should (hopefully) no longer trigger spurious resizes. 2018-02-14 12:04:54 +01:00
OBattler
ede82ec9f0 Fixed a bug in vid_et4000w32.c;
Removed the old PCem-X-era Cirrus stuff from the Dev branch.
2018-02-11 21:35:09 +01:00
OBattler
678f0a71f7 Added the option to disable updating status bar icons (doing so gains performance during disk I/O);
Reduced sound gain options to one (because the per-source gain does not work right);
Added the Diamond SpeedStar PRO (CL-GD 5428), per patch from TheCollector1995.
2018-02-11 20:51:42 +01:00
OBattler
0de0b20ac6 The received keyboard scan codes from the host are now processed and sent to the guest immediately rather than going through an extra loop. 2018-02-10 01:19:31 +01:00
OBattler
760689b35d Fixed (S)VGA sense again;
Added option to remap right CTRL to left ALT so that right CTRL + TAB can be used to send the guest ALT+TAB.
2018-02-10 00:01:52 +01:00
OBattler
3c336e389c Switched DirectDraw back to DirectDraw 4, increases performance;
Fixed a small bug in the Iomega ZIP emulation.
2018-02-08 01:59:06 +01:00
OBattler
f18cd3d89e Removed excess memset()'s from hdd_image.c and did a few other optimizations there, also fixed incorrect zero'ing of the buffer in hdd_image_write_ex();
Did a tweak to mmutranslate() in mem.c, should increase performance again;
Added the ATi VGA Wonder and ATi VGA-88, made the ATi VGA Edge-16 use the correct BIOS.
2018-02-07 19:01:39 +01:00
OBattler
dbae9ae0f5 Fixed another freeze-causing bug in win_settings.c. 2018-02-07 02:31:01 +01:00
OBattler
437b519d94 Moved the Sound Gain control option from the Tools menu to a new Sound icon on the status bar;
LPT2 and LPT3 devices can now be selected.
2018-02-06 19:53:34 +01:00
OBattler
6fd6097467 The Windows IOCTL code now correctly gets the allocated length for the CDB for the READ DVD STRUCTURE command, fixes crashes with Windows 98 SE and ME;
Fixed a few I/O handler adding/removing related bugs in the Intel PIIX/PIIX3, UMC UM8699F Super I/O chip, Sound Blaster DSP, and Realtek 8019AS codes;
The code in io.c now uses linked lists, I had to do this to properly fix the I/O handler mess with the Realtek RTL8019AS on the Award 430VX PCI (which was causing an emulator crash at POST).
2018-02-02 00:14:17 +01:00
OBattler
73ee3c5538 The minimize button no longer disappears when switching between resizable and non-resizable modes. 2018-02-01 14:46:17 +01:00