Commit Graph

40 Commits

Author SHA1 Message Date
Jasmine Iwanek
a7236a9022 Make dual video card code use array 2023-02-06 07:29:18 -05:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
OBattler
e44b69220f Numerous Olivetti M24 and M240 fixes. 2022-11-19 04:34:14 +01:00
OBattler
27ebb27db7 Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness. 2022-11-17 22:44:06 +01:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
OBattler
fb8dcab3bd Fixed the handling of the Toshiba Fn keys, fixes #2778. 2022-10-31 04:04:47 +01:00
OBattler
e6f208ef33 And applied the same change to the Vendex (and all other XT clones) by separating the XT clone keyboard/PPI from the IBM XT 1986 one, and giving the clone one the PC-style port D read out on port 60h when keyboard is disabled, fixes #2213. 2022-10-28 02:23:08 +02:00
OBattler
52e47bde27 Added IBM PC style jumper readout to the Compaq Deskpro, fixes the second floppy drive, fixes #2688. 2022-10-28 02:09:37 +02:00
OBattler
c95d8b2031 Do not modify PC/XT keyboard clock when keyboard is disabled, fixes keyboard input in WordVision, fixes #2701. 2022-10-26 18:28:38 +02:00
OBattler
58f33e795b Removed an excess log line from device/keyboard_xt.c. 2022-10-24 00:48:44 +02:00
OBattler
d963bf4237 The Pravetz keyboard and video are now properly implemented. 2022-10-20 00:33:30 +02:00
Jasmine Iwanek
9a3cabbe85 clang-format in src/device/ 2022-09-18 17:19:21 -04:00
Adrien Moulin
2aa5d8f5b2 PIT: add alternative faster PIT
This is enabled by default on 486+ CPUs and can be forced disabled/enabled with pit_mode=0/1
2022-07-23 13:38:10 +02:00
Jasmine Iwanek
a7edaf0608 src/device 2022-03-13 09:28:28 -04:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
Jasmine Iwanek
608905136f SW2 support for ISA Memory Devices 2022-01-26 16:56:30 -05:00
Jasmine Iwanek
a5deb55969 Cleanups for the XT Keyboard code 2022-01-26 16:56:29 -05:00
Alexander Babikov
cedf3fd390 Do not report installed XT FDC if no floppy drives are connected, fixes POST error 601 on IBM PC and XT 2021-12-22 05:36:17 +05:00
EngiNerd89
68d20787ad Fixed indentation. 2021-12-01 21:39:40 +01:00
EngiNerd89
5b552d027f Fixed bug in Olivetti M19 display mode. 2021-12-01 21:28:51 +01:00
Miran Grča
8ca1328c7e Merge pull request #1571 from 86Box/master
Bring the branch up to par with master.
2021-08-02 06:58:22 +02:00
OBattler
14f6eaca39 Added some cassette-related sanity checks, closes #1567. 2021-07-29 18:17:09 +02:00
OBattler
827065c0bc Ported the cassette emulation from PCE, closes #835. 2021-07-27 06:12:09 +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
1c5b8099ae Minor fixes to keyboard_xt.c. 2021-03-29 23:51:20 +02:00
OBattler
f3dfd74655 Fixed arrow keys on the Tandy machines... this time for real. 2021-03-17 02:39:13 +01:00
EngiNerd89
0ba8dd4d0d Fixed most bugs in Olivetti machines. 2021-01-07 23:30:19 +01:00
EngiNerd89
590003ab09 Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2020-12-19 21:31:33 +01:00
OBattler
bb93b7efba Redid the XT keyboard arrow keys handling to more closely match what a real 101/102-key keyboard does when in XT mode. 2020-12-19 12:35:01 +01:00
EngiNerd89
643f9b46ea Added the following new machines:
- Zenith Data Systems Z-151/152/161
- Zenith Data Systems Z-159
- Columbia Data Products MPC-1600
- Eagle PC Spirit

Minor tweaks and renamings
2020-12-19 12:16:42 +01:00
OBattler
bc12981935 Fixed arrow keys on the Amstrads and indentation of the Olivetti machine code. 2020-12-19 00:06:41 +01:00
OBattler
3f45852af7 Fixed arrow keys on Tandy machines. 2020-12-18 22:40:51 +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
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
OBattler
ca55e2a12a More reorganization and finally merged the two makefiles. 2020-06-13 12:32:09 +02:00