Commit Graph

46 Commits

Author SHA1 Message Date
OBattler
d0cebfdc30 Reverted a KBC change that should not have been there. 2021-08-09 09:54:49 +02:00
OBattler
c26811308a Removed excess logging. 2021-08-09 07:51:23 +02:00
OBattler
1060e62747 Some AT / PS/2 KBC fixes, fixes the QDI Excellent II. 2021-08-09 07:46:02 +02:00
OBattler
df00d0ac58 Added three ALi M1487/89 machines and that 430VX machine with Award 4.50PG BIOS. 2021-08-07 12:28:33 +02:00
OBattler
e26e387d27 Bring back the new keyboard_at.c. 2021-08-02 06:59:06 +02:00
OBattler
4a6c064d0f Temporary revert of keyboard_at.c. 2021-08-02 06:57:51 +02:00
OBattler
4f6df76f10 Revert "Revert "Merge branch 'feature/machine_and_kb' into master""
This reverts commit f2cd3756dd.
2021-07-04 17:40:39 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
OBattler
472101dd20 The 0xFE with timeout on the keyboard controller "Write to mouse" command is now sent directly, bypassing the queue. 2021-04-28 06:15:00 +02:00
OBattler
e8a8b7e94f Backported more stuff from the rewritten keyboard controller, fixes the Packard Bell PB410a without PS/2 mouse. 2021-04-28 06:04:50 +02:00
OBattler
e7a859adc5 More fixes - the Goldstar machine now fully works. 2021-04-27 04:10:59 +02:00
OBattler
87b677b8a4 Reverted the AT keyboard code queues to before I created that mess, and fixed the DEL scan code sent on CTRL+ALT+DEL. 2021-04-26 06:24:27 +02:00
nerd73
5e89a9d775 fix more compile issues 2021-04-15 23:34:53 -06:00
nerd73
791bae3560 Add the AMD Am486DXL and DXL2.
Has otherwise Intel-compatible SMM with an SMBase at 60000h.
2021-04-15 23:28:07 -06:00
nerd73
8e3b09f323 Various 486 improvements
- Added SL-Enhanced versions of Intel 486 CPUs and Enhanced AMD Am486DX2/DX4 CPUs
- Cleaned up the 486 CPU types and updated intel_4x0.c to reflect this
- Fixed some incorrect EDX reset and CPUID values
- Blacklisted non-SMM capable 486 CPUs on the Soyo 4SA2 motherboard
- Merged the non-OverDrive and OverDrive Intel DX4s because of further research confirming them to be functionally identical
- Removed SMM support on early 486 CPUs
2021-04-15 21:38:03 -06:00
OBattler
8b6f9707d5 More CPU fixes, and SMM now implemented on Cyrix Cx486 and Cx5x86 CPU's as well as on Intel/AMI SX, DX, and SX2 CPU's. 2021-04-11 07:25:08 +02:00
OBattler
8175289c9d Am486 SMBASE is now correctly initialized to 30000, 60000 is for the Am486DXL and Am486DXL2, which we do not emulate. 2021-04-10 22:22:19 +02:00
OBattler
5990663881 Keyboard reset fixes and the two files I forgot in the previous commit. 2021-04-10 07:22:49 +02:00
nerd73
a4f16a799e Add the TMC PAT54PV
An ISA/VLB Socket 5 machine. Also makes KBC command A0 return 0x28 then 0 so that the BIOS can function.
2021-04-09 20:24:47 -06:00
OBattler
39f98cd063 Attempted revert back to resetx86() with a mem.c fix. 2021-04-04 08:17:02 +02:00
OBattler
780ece8a4d Minor AT keyboard fixes. 2021-04-04 00:18:13 +02:00
EngiNerd89
a4de9d514b Implemented some Olivetti M300-family machines.
Implemented NCR PC916SX
Implemented PC87310 SuperIO
2021-01-17 14:39:45 +01:00
EngiNerd89
8c2c4fb9aa Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2021-01-14 14:49:28 +01:00
EngiNerd89
0ba8dd4d0d Fixed most bugs in Olivetti machines. 2021-01-07 23:30:19 +01:00
OBattler
593b3adcfe Keyboard controller reset is now hard reset, fixes CTRL+ALT+DEL causing the SiS 471 AMI 486 clone to hang in SMM. 2021-01-06 06:09:48 +01:00
OBattler
b9b753c9aa Fixed the SCAMP chipset emulation and the Commodore SL386SX-25 (it was using the SL386SX-16 BIOS), added the SL386-SX16 (NEAT) and the Samsung SPC-4620P, SPC-6033P, and SPC-6000A. 2020-12-28 05:34:33 +01:00
daviunic
8349b88c3e Fixed get scancode set 2020-12-28 00:14:04 +01:00
EngiNerd89
3d516c223f Added the following new machines:
- NCR PC8/810/710/3390/3392
- NCR 3302
- Olivetti M290
2020-12-23 20:55:09 +01:00
EngiNerd89
9daf161aee Added the following new machines:
- Olivetti M19.
- Olivetti M240.

Implemented mainboard jumper settings for Olivetti M24 machine:
- Like on a real M24, onboard video card can be disabled, and other video cards can be installed.
- Renamed m_olivetti_m24.c to m_xt_olivetti.c, as it handles all XT-class Olivetti machines.

Decoupled Olivetti OGC (640x400 extended CGA) from M24 machine code:
- OGC exists both as 16-bit proprietary card and 8-bit ISA card (GO708).
- Implemented underlined text handling in 80x25 character mode.
- Like Compaq CGA, replaced code portions common to CGA with calls to vid_cga.c.
2020-12-05 20:15:53 +01:00
OBattler
6e233f4ac8 SDL renderer improvements and fixes and added SDL OpenGL option;
Various performance improvements;
Fixed USB UHCI HCHalt;
Cirrus Logic CL-GD 5422/24 fixes and removed them from the Dev branch;
The Storage controllers sections of Settings now has its own corresponding section of the configuration file;
Fixed the AT clock divisors for some Pentium OverDrive CPU's;
Added the ACPI RTC status (no ACPI RTC alarm event yet).
2020-11-26 18:20:24 +01:00
OBattler
848a2183c2 Disabled excess logging. 2020-11-17 21:47:35 +01:00
OBattler
41be50bff8 The AT / PS/2 keyboard controller now once again issues IRQ's and the SCAT 286 machines now have an AMI keyboard controller, fixes the GW286-CT. 2020-11-17 21:46:46 +01:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
TC1995
cda643378b Fixed Mouse error 8601 on MCA machines. 2020-09-04 00:45:20 +02:00
OBattler
8208f1ff45 Third round of AT keyboard changes, fourth round coming tomorrow. 2020-08-05 07:59:41 +02:00
OBattler
8c198b45ad More rewrites in keyboard_at.c, another round coming tomorrow to move the scan code translation to the correct function (as it should be done when the controller fetches data from the keyboard channel, not on input to the keyboard channel). 2020-08-04 07:36:39 +02:00
OBattler
3e4a1ebd69 The AT keyboard controller now correctly rejects any bytes during reset delay. 2020-08-04 04:25:41 +02:00
OBattler
949e145be3 Rewrite of AT keyboard controller polling. 2020-08-04 04:01:54 +02:00
OBattler
ec74ffb6a5 Old recompiler improvements: limited in-block IRQ checking to floppy IRQ's only, rewrote the GPF handlers in ASM, and changed the recompiled INC and DEC instructions to actually use INC and DEC on host. Also removed the keyboard_at.c timer hack. 2020-07-15 05:03:19 +02:00
OBattler
a862bda04c Rewrote the recompiler interrupt checking in assembly (and removed it for the new dynamic compiler because the requires uops are not present), brings performance back up, and also did a number of CPU-related clean-ups (mostly removal of dead variables and associated code). 2020-07-13 19:46:19 +02:00
OBattler
be0a681f31 Removed the PS/ValuePoint from the Dev branch and moved the other Socket 4 Dell there, and the PS/ValuePoint now uses the SMC FDC73C665 Super I/O chip and a PCI version of the PS/1 keyboard controller. 2020-07-12 01:04:41 +02:00
OBattler
72c1c36ec6 OPTi 5x7 no longer does excess logging, running of timers on the recompiler is now done on every fourth AT KBC port 61h read instead of every 3F4h read, added some safety precautions to io.c to handle the cases where a handler removes itself, implmented the STPC ELCR and refresh control, and fixed the messed up register reading in the PC87307 and PC87309 implementations. 2020-07-10 02:05:49 +02:00
OBattler
d326017233 Added the Acer V30 and a number of IDE and AT keyboard changes needed to make it work, closes #367. 2020-06-19 12:02:17 +02:00
OBattler
e746069737 Fix for the keyboard controller for the Intel AMI 430LX and 430NX BIOS'es and their Ambra counterparts. 2020-06-13 19:32:06 +02:00
OBattler
ca55e2a12a More reorganization and finally merged the two makefiles. 2020-06-13 12:32:09 +02:00