Commit Graph

1593 Commits

Author SHA1 Message Date
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
OBattler
d9e7f0c4fc Renamed the Paradise WD90C11 Standalone to Paradise WD90C11-LR and made it use the correct BIOS;
Added the Paradise PVGA1A (standalone) and the Paradise WD90C30-LR, both with configurable video memory;
Added the Toshiba T3100e.
2017-12-31 06:37:19 +01:00
OBattler
8a9204aa1f Moved the Compaq Portable III and Portable III 386 to the Dev branch;
Added both variants of the Compaq CGA, based on John Elliott's PCem patch;
The Compaq Portable is no longer set to a fixed graphics card.
2017-12-29 03:01:19 +01:00
OBattler
4a829b31ad Commented out a lot of excess logging;
Updated Makefile.local to add comments about NCR 53C810 and Voodoo log enable flags.
2017-12-28 20:42:45 +01:00
OBattler
ac90896074 Fixed the last compile-breaking mistakes. 2017-12-25 18:16:16 +01:00
OBattler
cd655f1273 Fixed a compile-breaking mistake in rom.h. 2017-12-25 17:59:55 +01:00
OBattler
1acde00754 Reverted the NCR 53C810 to non-threaded code (but still cleaned it up), a bit slower but at least it works with everything that has been tested;
Moved the Green B 486 machine to the Dev branch.
2017-12-25 17:57:05 +01:00
OBattler
37fc5642ca Significant cleanup of the NCR 53C810 code and some bugfixes;
The Green P board now has the AMIBIOS flag.
2017-12-22 06:18:12 +01:00
waltje
61e9077dfb Initial commit of the Sumo SCSI-AT (NCR5380-based) SCSI controller. 2017-12-18 02:49:48 -05:00
waltje
d22b7bcf94 Cleanup of io.ch. Added trace/debug option to catch unused I/O ports. - see IO_CATCH in Makefile.local. 2017-12-18 00:26:17 -05:00