Commit Graph

76 Commits

Author SHA1 Message Date
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
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
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
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
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
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
OBattler
d5cf8a2638 Actually removed the reference to mca_version from win_settings.c now, hopefully this fixes compiling once and for all. 2018-09-11 23:15:36 +02:00
OBattler
36556e5a1f Fixed a bug in win_settings.c. 2018-09-11 23:12:23 +02:00
OBattler
0ea3a1307c Fixed the MCA MPU-401 and gave it its correct name;
Sound Blaster 16/AWE32 MPU-401 is now always the less-functional variant like it would be on real hardware and its IRQ is always shared with the sound card;
Standalone MPU-401 is now always the fully functional intelligent mode variant;
Standalone MPU-401 is now always available, even when Sound Blaster 16/AWE32 is in use;
Cleaned up sound/midi.c and win/win_midi.c.
2018-09-11 22:41:14 +02:00
OBattler
f8cbe859e2 Reduced the number of Settings device list arrays again. 2018-09-06 14:41:06 +02:00
OBattler
ea5a226a97 Brought the ISA memory card emulation and some other things up to par with VARCem and fixed the ISA memory card configuration. 2018-09-06 14:38:43 +02:00
OBattler
dc5913303b The ISA memory board and ISA RTC card types are now initialized to none in config.c before loading the configuration file;
Some more bug fixes in win_settings.c.
2018-09-03 14:45:55 +02:00
OBattler
5cc5da38ee Turned the device list array in the Settings dialog to a multi-dimensional array so that multiple device lists per Settings page can be used, fixes bugs regarding SCSI controller selection, etc. 2018-09-03 14:42:09 +02:00
OBattler
efa605a5fa Added two crash-preventing measures to fdd_86f.c;
Fixed a double comma in machine_table.c;
Removed an unused variable in vnc.c;
A small string length-related bugfix in win_settings.c.
2018-09-03 14:25:10 +02:00
TC1995
0d2ee0a57d Ported the ISA RTC and Memory expansion cards from VARCem's.
Bunch of improvements in the device, memory and MMU handling.
Re-worked the NEAT 286 chipset (ported from VARCem).
Re-worked the ATI 28800 a bit, added Sierra SC1502x ramdac to VGA Wonder XL (Compaq) since it supports such.
Top 384K memory handling improvements (256K top memory too)
Added MCA version of MPU-401 (not tested much, however).
Re-worked the SCAT 286 chipset.
2018-09-03 13:55:09 +02:00
David Hrdlička
d482d9eed3 update copyright information 2018-08-04 15:03:02 +02:00
David Hrdlička
01998f3859 win_settings: add a UTC time sync option 2018-08-04 15:03:01 +02:00
David Hrdlička
c7388eb174 config: replace numeric enable_sync setting with time_sync string
This shouldn't break existing configs. Existing "enable_sync" setings are automatically replaced with an appropriate "time_sync" value. In case "enable_sync" and "time_sync" settings are both present in a configuration file (shouldn't happen without manually editing the config), "time_sync" takes precedence.
2018-08-04 15:02:57 +02:00
David Hrdlička
a4f6bfde58 nvr: add support for UTC time sync 2018-08-04 15:02:16 +02:00
OBattler
950ce8f5aa Added the 3Com 3C503 Network card;
Several bug fixes;
Preliminar addition of the SDL 2 renderer (does not yet work correctly in full screen mode);
SCSI devices no longer have configurable LUN's (this matches the configurability of real SCSI devices);
SCSI LUN's are now handed by the device's handler;
Removed all unused strings;
Removed some unused code files;
Significantly rewrote the bus mouse emulation.
2018-07-15 01:41:53 +02:00
OBattler
5d8deea63b Changes to logging - nothing (other than some parts of pc.c) uses the global pclog anymore (and logs will be almost empty (until the base set logging flags is agreed upon);
Fixes to various hard disk controllers;
Added the Packard Bell PB640;
Fixed the InPort mouse emulation - now it works correctly on Windows NT 3.1;
Removed the status window and the associated variables;
Completely removed the Green B 486 machine;
Fixed the MDSI Genius;
Fixed the single-sided 5.25" floppy drive;
Ported a CPU-related commit from VARCem.
2018-05-21 19:04:05 +02:00
OBattler
040b97bfc1 Some bug fixes. 2018-04-26 02:53:18 +02:00
OBattler
a412ceb4d9 Applied all relevant PCem commits;
Extensively cleaned up and changed the CD-ROM code;
Removed CD-ROM IOCTTL (it was causing performance and stability issues);
Turned a lot of things into device_t's;
Added the PS/1 Model 2011 XTA and standalone XTA hard disk controllers, ported from Varcem;
Numerous FDC fixes for the PS/1 Model 2121;
NVR changes ported from Varcem;
The PCap code no longer requires libpcap to be compiled;
Numerous fixes to various SCSI controllers;
Updated NukedOPL to 1.8;
Fixes to OpenAL initialization and closing, should give less Audio issues now;
Revorked parts of the common (S)VGA code (also based on code from QEMU);
Removed the Removable SCSI hard disks (they were a never finished experiment so there was no need to keep them there);
Cleaned up the SCSI hard disk and Iomega ZIP code (but more cleanups of that are coming in the future);
In some occasions (IDE hard disks in multiple sector mode and SCSI hard disks) the status bar icon is no longer updated, should improve performance a bit;
Redid the way the tertiary and quaternary IDE controllers are configured (and they are now device_t's);
Extensively reworked the IDE code and fixed quite a few bugs;
Fixes to XT MFM, AT MFM, and AT ESDI code;
Some changes to XTIDE and MCA ESDI code;
Some fixes to the CD-ROM image handler.
2018-04-25 23:51:13 +02:00
OBattler
7237cc7237 Some tweaks to hard disk image creation. 2018-03-19 09:48:44 +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
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
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
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
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
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
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
bd7e955b64 Finished the NE1000 (per patch from TheCollector1995) and added the RTL8019AS ISA PnP, finalizing the work on NE1000/NE2000-compatible network cards;
Disabled excess ZIP logging;
Applied the PCem video and SCAT commits;
Restored the video initialization line in pc.c back to where it was before.
2018-01-28 03:15:01 +01:00
OBattler
6fa4faba1f Fixed channel, ID, and LUN tracking in the Settings dialog;
Fixed some bad bugs in the configuration file loading that had to do with CD-ROM and Iomega ZIP drives.
2018-01-27 02:38:52 +01:00
OBattler
410ecb1f22 Added Iomega ZIP emulation. 2018-01-26 22:17:09 +01:00
OBattler
65438d5271 The Settings dialog now correctly enables/disables the mouse Configure button depending on whether or not the selected mouse has configuration. 2018-01-26 13:35:50 +01:00
OBattler
47d6e815b6 Adding the hard disk image now shows a progress bar indicating progress so that the end user is no longer left with a non-responding dialog and no idea what's going on. 2018-01-24 20:58:39 +01:00
OBattler
2dce0de749 Fixed bugs in the Settings dialog regarding channel/ID/LUN tracking;
Fixed the MODE SELECT (6) command for CD-ROM and SCSI disk;
Implemented REQUEST SENSE with DESC bit set for SCSI disk;
Implemented the SCSI RESERVE, SCSI RELEASE, and SEND DIAGNOSTIC commands for SCSI disk.
2018-01-24 18:38:43 +01:00
OBattler
8e4f7d84cb The joystick configuration buttons in Settings now get the selected joystick ID from the correct combo box. 2018-01-21 23:01:26 +01:00
OBattler
29e662bfe3 Fixed joystick configuration and axis, buttons, etc. values;
The Open/Save dialog code now sets a variable to indicate which extension filter index the user has selected.
2018-01-21 21:39:52 +01:00
OBattler
8e6497f01d Added the "New Floppy Image" functionality with its own dialog box, can create 86F, Japanese FDI, and IMG images;
The settings dialog now keeps track of MFM/XTIDE/ESDI/IDE channels and SCSI ID's and LUN's;
The IBM PS/2 Model 50 now installs a Model 80-style memory expansion card (MCA ID FCFF) when more than 2 MB RAM is selected, and now supports a maximum of 10 MB RAM.
2018-01-19 15:39:13 +01:00
OBattler
5318bc08d8 The FDC is now a device_t, and the FDC code has been cleaned up;
Merged floppy.c and fdd.c and renamed floppy_*.c (the floppy image format handlers) to fdd_*.c;
Reading the AT or PS/2 keyboard controller status no longer clears the transmit timeout bit, fixes error 8601 (mouse error) on the IBM PS/2 Model 80;
MMU translate and DMA physical reads and writes now go through _mem_exec instead of directly to ram[], should fix the last remaining problems with remapped mappings;
Implemented the Sound gain dialog;
Added the resource for the "New floppy image" dialog and the needed functions for the functionality of exporting the currently mounted floppy image as 86F, both of which should be finished in the next commit;
Applied the CD-ROM fixes from the PCem commit;
Added the "Keep ratio" option for full screen stretch.
2018-01-17 18:43:36 +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
waltje
d52846d3be Mouse changes - mice are now regular devices with config options. 2017-12-10 02:09:06 -05: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
waltje
b8d75f4f5a Changed the machines to use a table file. 2017-11-08 16:27:52 -05:00
waltje
7c67e867c8 Major commit, cleaning a lot of old stuff.
IBM.H is gone, video stuff re-organized. Keyboard stuff reorganized.
Machines that have their own video, mouse and/or keyboard now have all this in their machine file.
Fixed and other cleanups here and there.
2017-11-05 02:00:50 -05:00