Commit Graph

1731 Commits

Author SHA1 Message Date
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
OBattler
915e8b6496 Some NCR 53C810 fixes, NT 4.0 and Windows 98 SE now work again. 2017-12-16 22:42:27 +01:00
OBattler
31153f20d4 The NCR 53C810 is now threaded;
Reverted my IDIV fixes - fixes font glitches in Windows XP and possibly other things as well;
Slight fix to line repeat detection in pclog_ex().
2017-12-16 19:46:07 +01:00
waltje
3a32bda6dc Changes to add ISA/PCI/VLB versions of 'external' IDE controllers. 2017-12-16 00:02:31 -05:00
waltje
69186cfb54 Fixes, mostly dma.c argument type changes. 2017-12-15 21:20:56 -05:00
OBattler
193905e431 Fixed the warnings in the recompiler code. 2017-12-16 00:37:54 +01:00
OBattler
4f8506b65e Fixed the hang on unclipping the mouse and (hopefully) all the hangs on switching to/from full screen. 2017-12-15 18:47:29 +01:00
waltje
b5bda71d27 Make the 33c93 optional for now. 2017-12-15 01:05:48 -05:00
waltje
6639800013 Unneeded instructions deleted. 2017-12-15 00:50:02 -05:00
waltje
5949a9a4f0 Merge branch 'master' of https://github.com/OBattler/86Box 2017-12-15 00:45:49 -05:00
waltje
3bd6b0eccc Hopefully correct setting of host mouse cursor in window and fullscreen modes. 2017-12-15 00:44:54 -05:00
OBattler
db8fe73917 The configuration loading code now initializes the default IDE channel and SCSI ID for every CD-ROM drive to sane values before attempting to read them from the configuration file, fixes the default values the devices get in the Settings dialog. 2017-12-15 06:39:13 +01:00
OBattler
cf67c2a1a9 Removed fdi_init() and fixed joystick_process(). 2017-12-15 04:59:55 +01:00