Commit Graph

1802 Commits

Author SHA1 Message Date
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
OBattler
5e4beaf6ba Committed the win_snd_gain.c file that I forgot to commit before. 2018-01-17 18:45:58 +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
74ca5cdc21 Merge pull request #231 from TC1995/master
Quitely fixed some TGUI9440 bugs, including the hardware mouse cursor.
2018-01-17 17:42:54 +01:00
TC1995
dd2d751436 Quitely fixed some TGUI9440 bugs, including the hardware mouse cursor. 2018-01-17 17:39:53 +01:00
OBattler
7d6b3210d6 Fixed the keyboard combination checking functions. 2018-01-15 10:33:51 +01:00
OBattler
3956d55eac Fixed a typo in the scan code reorder table in keyboard.c that was causing the `~ key to not be passed through at all. 2018-01-14 23:59:28 +01:00
OBattler
845c8ed4bd Improved passing of scan codes to the emulated keyboards;
Fixed Sound Blaster 16 and earlier CD-ROM volume registers (and made them no longer default to 0);
Serial mouse now resets the FIFO before sending the ID, fixes mouse detection after clipping and moving the mouse;
Rewritten CD-ROM and SCSI disk Mode Select handling and changed things regarding Mode Sense as well, also fixes emulator segmentation faults when anything attempts to do a Mode Select;
Fixed the Microsoft InPort mouse emulation (used the Bochs code as reference for the polling/state update code), now it actually moves;
The PCjr initialization now sets the XT scan code table, makes the keyboard actually work on the PCjr again;
Several bugfixes regarding the Read CD commands, fixes CD Audio in digital mode on Windows ME;
Finally properly fixed the regular CD Audio MSF/LBA conversion mess;
Applied all applicable PCem commits.
2018-01-13 22:56:13 +01:00
OBattler
b4aff71a6b Fixed keyboard/mouse disable handling, fixes moving the PS/2 mouse in the P55T2S BIOS' CMOS Setup;
The "Write data to mouse" command no longer times out when there is PS/2 mouse, and instead adds the 0xFF byte to the queue, properly fixes the hang when entering into the P55T2S BIOS' CMOS Setup with mouse set to anything other than PS/2;
Removed the incorrect implementation of the OPTi 495 register 0x27 bit 7, it had nothing to do with A20, and the A20 stuck error was caused by the previously incorrect implementation of the 8042 output port bit pulse commands which is no longer the case;
The 8042 now once again correctly initializes with A20 Gate on.
2018-01-08 05:46:52 +01:00
OBattler
32bc2a02b3 Disabling the PS/2 mouse via the KBC command byte now also disables the "Write to mouse output buffer" and "Write to mouse" commands, fixes hang when entering CMOS Setup on the P55T2S;
Unified the various machines' identical port 92h implementations.
2018-01-07 20:36:30 +01:00
OBattler
4c5dadc84a Disabled the AT KBC logging. 2018-01-07 19:51:30 +01:00
OBattler
8199c71099 Fixed the output port bit pulse commands, fixes KBC reset (and with it, PS/2 model 80 hanging). 2018-01-07 19:50:28 +01:00
OBattler
444fa519a7 Fixed CD-ROM temporary buffer freeing and made the SCSI phase and SCSI status variable per-SCSI-device rather than two single global variables. 2018-01-06 22:47:41 +01:00
OBattler
2173f14ec0 Fixed the behavior of PS/2-style keyboard controllers when no PS/2 mouse is attached, fixes NetBSD 7.1 hanging. 2018-01-06 01:01:50 +01:00
OBattler
519ab94945 The Quadtel variant of the 8042 (used by the Amstrad MegaPC) is now correctly PS/2 type. 2018-01-04 07:56:37 +01:00
OBattler
ea0b9c6b38 Added missing includes to m_at_4gpv31.c, should fix compiling of the Dev build. 2018-01-04 07:48:43 +01:00
OBattler
1d4fed2110 Improved 8042 (AT and PS/2 keyboard controller emulation), no more hacks, split into various devices depending on vendor (generic, AMI, IBM (MCA), Quadtel, Toshiba), and fixed several commands - hopefully fixes all existing AT+ keyboard problems (such as incorrect scan codes on some machine under some circumstances);
Fixed a bug in the SMC FDC37C932 emulation, fixes the FDC on the two Acer machines;
Re-added some Acer-specific I/O port handlers, fixes entry into CMOS Setup on the two Acer machines.
2018-01-04 07:44:33 +01:00
OBattler
9b2705eb9f Inverted the operation of the OPTi 495 A20 control bit and made the AT keyboard controller (8042) as well as memory default to A20 off - makes both the MR 386 DX and the Award 386 and 486 clones work correctly;
The Amstrad MegaPC now correctly initializes the internal Paradise WD90C11 graphics card, making the machine work again.
2018-01-04 01:57:55 +01:00
OBattler
412ae3726b Implemented the OPTi 495 A20 state switch (register 0x27 bit 7), fixes the A20 gate stuck error. 2018-01-02 21:35:25 +01:00
OBattler
b6be9e7d95 More BusLogic round robin mode fixes. 2018-01-02 05:54:43 +01:00
OBattler
4110947fc4 The BusLogic SCSI controllers now wait the waiting event for 10 seconds when finding a free outgoing mailbox in strict round robin mode, fixes hangs during Windows 2000 setup on the BT-958D. 2018-01-02 02:35:32 +01:00
OBattler
aa8cc394b6 Fixed another mistake in the makefile. 2018-01-01 04:48:25 +01:00
OBattler
d38949d304 Fixed a compile-breaking mistake in the makefile. 2018-01-01 04:44:12 +01:00
OBattler
b7501e3b5f Fixed the last compile-breaking mistakes. 2018-01-01 03:40:59 +01:00
OBattler
8f180fdecd Fixed all the compile-breaking mistakes. 2018-01-01 03:15:06 +01:00
OBattler
0d7d168245 Fixed the compile-breaking mistake. 2018-01-01 03:01:16 +01:00
OBattler
23c536f5dd Split off the AMD SYSCALL and SYSRET instructions to x86_ops_amd.h;
Moved the two 440FX board along with the Pentium Pro and Pentium II CPU's to the Dev branch;
Applied the PCem commit that fixed PIIX IDE Bus Master initialization.
2018-01-01 02:57:39 +01:00
OBattler
a8be9c22e9 Moved the Compaq Deskpro 386 to the Dev branch. 2017-12-31 21:59:27 +01:00
OBattler
67225fc60f The Paradise WD90C30-LR is now interlace-aware. 2017-12-31 18:33:22 +01:00
OBattler
5fb0d02807 Updated README.md. 2017-12-31 06:55:52 +01:00