Commit Graph

1731 Commits

Author SHA1 Message Date
OBattler
a756f3c5e1 The FDC SENSE INTERRUPT STATUS command now once again returns bad command if neither FINTR nor reset stat are set and the FDC is not in PCjr mode, fixes Red Had Linux 2.0 hang. 2018-02-02 05:34:39 +01:00
OBattler
e3f325f322 Removed excess FDC logging. 2018-02-02 05:19:41 +01:00
OBattler
5acf6483a6 Reduced FDC RECALIBRATE and SEEK timings when the FDC is in PCjr mode, made the SENSE INTERRUPT STATUS command no longer stop the in progress RECALIBRATE or SEEK, and fixed the FDC data ready flag in non-DMA mode, fixes floppies on PCjr. 2018-02-02 04:54:35 +01:00
OBattler
b18635a562 Fixed a bug in io.c causing a segmentation fault on hard reset. 2018-02-02 01:14:07 +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
OBattler
41db3e923a The Microsoft/Logitech Bus Mouse now handles the unusual handshake issued by MS MOUSE.SYS version 3.0, fixes said driver (though it should be checked against real hardware);
Applied all the video-related PCem commits;
The keyboard ALT+TAB detection now sends one extra ALT key down and up, so the guest does not get stuck in a menu bar.
2018-02-01 03:14:55 +01:00
OBattler
1f052e98fa The status bar's initialization function now correctly determins a ZIP drive's media presence or absence. 2018-01-29 13:20:54 +01:00
OBattler
704e2ac3ae Returned mouse_reset() to where it was and split off the call to mouse_close() to pc_reset_hard_close(). 2018-01-29 01:19:49 +01:00
OBattler
af0482bd04 Moved mouse_reset() to before machine_init(), should fix the initialization of Amstrad and Olivetti M24 internal mice. 2018-01-29 00:49:40 +01:00
OBattler
2e17ef04e3 Fixed a slight mess with the Amstrad PC1512 and PC1640 memory mappings. 2018-01-29 00:19:33 +01:00
OBattler
58e20abaa1 Middle click to release mouse now works when no mouse is selected. 2018-01-28 22:15:08 +01:00
OBattler
8a161b2094 Properly moved the crash dump code to the Dev branch. 2018-01-28 18:18:06 +01:00
OBattler
9afad3999e Fixed a Laser XT-related compile-breaking mistake in keyboard_xt.c. 2018-01-28 17:59:26 +01:00
OBattler
cc7579b898 Moved the two Laser XT machines to the Dev branch. 2018-01-28 17:56:32 +01:00
OBattler
97cc1774f6 Updated the headers of net_ne2000.c/h to reflect the fact the NE1000 is no longer in the Dev branch and removed the NE1000-related things from the makefile. 2018-01-28 12:15:57 +01:00
OBattler
a35c4f350f The NE2000 is no longer incorrectly marked as 8-bit, should fix it. 2018-01-28 11:59:44 +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
cb9b6ed371 The status bar Iomega ZIP drive tooltip creation code now shows correctly checks the length of the ZIP image path. 2018-01-27 02:50:57 +01:00
OBattler
3098734e6a The ZIP drive now tells the UI it has ejected the disk on load failure. 2018-01-27 02:46:25 +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
c900a4774f Fixed some compile-breaking mistakes in zip.c. 2018-01-27 00:34:53 +01:00
OBattler
f1e5abcb54 The Iomega ZIP image loader is now aware of ZDI images. 2018-01-27 00:21:11 +01:00
OBattler
410ecb1f22 Added Iomega ZIP emulation. 2018-01-26 22:17:09 +01:00
OBattler
45e55a7163 Fixed the NCR5380 timer initialization, fixes hangs with the NCR5380-based SCSI controllers. 2018-01-26 19:52:10 +01:00
OBattler
37871965a2 Finished the merging of all three Microsoft/Logitech-style serial mouse types into one single device. 2018-01-26 13:50: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
376eb952f2 Fixed the clock calculation in the STG RAM DAC's clock generator. 2018-01-26 02:17:14 +01:00
OBattler
ae9836d6de Fixed (as much as it was possible) the STG RAM DAC's clock generator. 2018-01-26 00:35:08 +01:00
OBattler
cf6023aed2 Various fixes needed to fix the two Laser XT boards. 2018-01-25 22:36:24 +01:00
OBattler
cfe2912aec The CD-ROM READ SUBCHANNEL command now takes into account the allocated length given in the CDB, fixes some infinite DMA loop problems with NCR 810 SCSI CD-ROM drivers;
Removed some MODE SELECT-related leftovers from cdrom.c and scsi_disk.c.
2018-01-25 20:17:56 +01:00
OBattler
6856a77e2d Re-added the Cardex Tseng ET4000/W32p (which works better than the Diamond Stealth32), and moved the Diamond Stealth32 to the Dev branch;
Re-added the ATi Mach64GX ISA, this time with a working BIOS;
Fixed some CGA/EGA/(S)VGA timing mess-ups.
2018-01-25 19:35:23 +01:00
OBattler
5b78369563 More EGA/(S)VGA bugfixes, error 2401 on PS/1 model 2121 is now gone for good (it was caused by enablevram). 2018-01-25 12:45:20 +01:00
OBattler
b8dca49f56 Fixed the EGA monochrome modes;
Fixed the recently introduced EGA hang.
2018-01-25 00:51:14 +01:00
OBattler
9421026739 Fixed some mistakes in the EGA code and added some missing #define's. 2018-01-24 23:33:08 +01:00
OBattler
9911df5024 Various EGA-related clean-ups and fixes, and added EGA monitor type selection (ported from PCem);
Replaced the (S)VGA monitor/DAC sense with that from PCem, which, of all implementations I've tested, works best.
2018-01-24 23:15:00 +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
07609adf4c Fixed a compile-breaking bug in scsi_disk.c. 2018-01-24 18:42: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
b24b1146f5 Fixed (S)VGA video RAM masking, fixes Commander Keen 4 and 5;
(S)VGA overscan is now only calculated from the row count if overscan is enabled.
2018-01-24 12:15:31 +01:00
OBattler
25a0860011 The IBM AT and the IBM XT 286 now have a FDC again. 2018-01-24 00:35:52 +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
50bb92fcbe Fixed the IBM PS/1 Models 2121 and 2133 to use the correct graphics card device_t;
Removed the Mach64 ISA until someone finds a properly working BIOS;
Changed the Mach64 VLB to use the BIOS that actually works;
Moved the standalone TI CF62011 graphics card to the Dev branch until someone finds a BIOS for it;
Removed an accidental temporary change in win_dialog.c;
Reorganized the graphics card ID's to allow simplification of the MDA and VGA #define's in video.h;
Added a workaround for the TVGA8900D DAC sense, so the card is in color again.
2018-01-21 14:54:26 +01:00
OBattler
7348a45802 The ATi Mach64GX now uses a different bios for the VLB variant, and also added the ISA variant. 2018-01-21 13:59:21 +01:00
OBattler
2b8b4d5ba4 Fixed the warning in mem.c;
Scan code E0 00 (fake scan code seen with USB keyboards' special keys on Windows) is no longer passed through.
2018-01-21 13:34:07 +01:00
OBattler
f7cdc0f5b4 ALT+TAB now gets special treatment when the mouse is not captured, prevents stuck TAB key. 2018-01-20 15:46:37 +01:00
OBattler
a1117f2130 Fixed the floppy file type filters string so that its length no longer exceeds 512 bytes;
The UMC UM8669F's reset function now make sure the FDC pointer does not get lost, should fix the segmentation fault on reset;
The Winbond W83877F's reset function now zeroes the registers before setting the default values.
2018-01-20 13:56:42 +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
05dc4f4189 The National Semiconductors PC87306 Super I/O chip now correctly assigns the pointer returned by the FDC device_add call to pc87306_fdc, fixes the segmentation fault. 2018-01-17 19:32:06 +01:00