Commit Graph

69 Commits

Author SHA1 Message Date
OBattler
0637b316ad Added keyboard type selection. 2025-07-27 15:23:43 +02:00
starfrost013
95708eb0d7 Reorganise and rename the CGA files. Move onboard video to the video folder. Rename "con" to "cursorvisible" across the entire emulator 2025-06-09 23:04:13 +01:00
starfrost013
b7e6248db9 Apply CGA_CRTC and CGA_MODE_FLAGS to the rest of the Super CGA crew. 2025-06-09 19:26:40 +01:00
OBattler
9772aeae4d Clean up the excess logging. 2025-05-17 06:21:12 +02:00
OBattler
45316f9be0 Potential fix for MS OS/2. 2025-05-17 06:18:48 +02:00
OBattler
f7c2728582 Fix the incorrect high intensity attribute bit checking (bit 3 is 0x08, not 0x03!). 2025-05-17 05:41:53 +02:00
TC1995
b97a23aa57 WIP Plasma code 2025-05-17 05:28:45 +02:00
TC1995
c804a2892a Some more Compaq AT changes of the night (May 15th, 2025)
1. Properly return the flat panel display bit in port 0x1bc6, fixes adapt.com and the corresponding Portable identification in the disk cmos.
2. Preliminary MDA mapping on the Plasma display, per bit 3 toggling of port 0x23c6.
3. Implemented port 0x17c6.
4. Cleanups.
2025-05-15 00:27:46 +02:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
Jasmine Iwanek
680f65cf19 Standardize hdc_current into an array 2024-07-20 14:49:24 -04:00
Jasmine Iwanek
05e7d9239c Standardize fdc_type into fdc_current
Also make it into an array
2024-07-20 14:49:24 -04:00
Jasmine Iwanek
215b3253a5 Deal with some magic numbers re hdc_current 2024-07-08 00:40:52 -04:00
TC1995
309786bc7a Add the Tandy 4000 AT compatible and SCAT-286-003 machines
And a proper Compaq Portable III 386 BIOS.
Note: The SCAT 286 003 machine is a SCAT-based AMI 286 machine.
2024-03-22 23:51:25 +01:00
OBattler
dc7a105ef2 Give the Compaq Portable III 386 the Compaq 386 chipset and keyboard controller. 2024-03-03 20:14:24 +01:00
cartifanwlr
6a45849ba7 Machine flag cleanups round 3: 386DX 2024-01-29 23:24:32 +03:00
cartifanwlr
6c4ca44d56 Machine flag cleanups round 1: 286 2024-01-29 16:48:42 +03:00
TC1995
5a94f0ee69 Corrected the fix for the 40x25 mode of the Plasma. 2023-10-14 20:21:10 +02:00
TC1995
38e63ec9c6 Compaq Plasma fixes:
Fixed the blinking/test cursor of said built-in video on Portable III/386.
2023-10-14 20:15:04 +02:00
TC1995
4325d6103c Compaq Deskpro 386 1988 BIOS ROM changed to the May 1988 due to malformed status of the January 1988 one. 2023-08-20 21:22:02 +02:00
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 2023-08-15 13:28:04 -04:00
OBattler
27c56f608d Compaq 386 machine fixes and Compaq EGA palette mux timer, fixes #3494. 2023-08-14 05:00:56 +02:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
OBattler
4cde2f2f10 And a warning in the AT Compaq's video poll function. 2023-07-16 03:52:02 +02:00
TC1995
19fa6c8f8b Machine features and fixes:
Revamped and refactored the Compaq AT clone code, including a more correct Plasma emulation and undev branch the Deskpro 386 while adding the September 1986 and January 1988 bioses.
Added Compaq AT KBC strictly for the Deskpro 386 with the right settings, including the FPU bit.
The generic AMI/Quadtel/Phoenix IBM AT's don't issue the speed problems of the pure IBM AT beyond 8Mhz, so don't limit them to 8Mhz.
2023-07-14 22:14:56 +02:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
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
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
ff39a77afc clang-format in src/machine 2022-07-27 17:01:04 -04:00
Jasmine Iwanek
6233027c9e Named initializers in machine table 2022-07-19 18:51:18 -04:00
Cacodemon345
8a3367ff6f Multi-monitor support (backend preparation part) 2022-07-03 01:18:23 +06:00
Alexander Babikov
355250216f Move the Compaq Deskpro 386 to the Dev branch 2022-04-14 07:10:13 +05:00
Jasmine Iwanek
e11bad1938 src/machine 2022-04-12 17:26:06 -04:00
TC1995
9b0f04d4a9 Added deskpro386 and fixed 24bpp mode issues of the Mach64GX/VT2. 2022-03-18 21:22:18 +01:00
Jasmine Iwanek
698b16a603 src/machine 2022-03-13 09:46:07 -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
Miran Grča
c15a3fa841 Merge pull request #1687 from 86Box/master
Bring the branch up to part with master.
2021-09-13 23:30:02 +02:00
OBattler
96faa28eeb Removed the useless y1 and y2 parameters from the renderers' blit functions (and other places). 2021-09-13 23:19:10 +02:00
OBattler
67367798a7 Merged various SMC FDC67C6xx Super I/O chips into one file, re-added the UMC88xx 486 chipsets (and four machines for it) based on work by tiseno100 and my own work, various other fixes, and added quite a few machines (including the AOpen AP5VM which now works), also added the remaining ALi M6117 machine (Protech SBC with Award BIOS), and made the Intel Advanced/ATX's on-board S3 Trio64V+ work, as well as the on-board S3 Trio64/V2 of the two Compaq Presarios. 2021-08-21 18:19:10 +02:00
OBattler
7cdaaf5fd7 Made sure several machine types call video_reset() before initializing their internal video, fixes #1423. 2021-07-15 03:00:16 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02: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
795a6017d2 PIC rewrite, proper SMRAM API, complete SiS 471 rewrite and addition of 40x, 460, and 461, changes to mem.c/h, disabled Voodoo memory dumping on exit, bumped SDL Hardware scale quality to 2, bumped IDE/ATAPI drives to ATA-6, finally bumped emulator version to 3.0, redid the bus type ID's to allow for planned ATAPI hard disks, made SST flash set its high mappings to the correct address if the CPU is 16-bit, and added the SiS 401 AMI 486 Clone, AOpen Vi15G, and the Soyo 4SA2 (486 with SiS 496/497 that can boot from CD-ROM), assorted 286+ protected mode fixes (for slightly more accuracy), and fixes to 808x emulation (MS Word 1.0 and 1.10 for DOS now work correctly from floppy). 2020-10-14 23:15:01 +02:00
TC1995
75badaf8a5 Removed the compaq deskpro 386 stuff. 2020-06-17 14:42:52 +02:00
TC1995
f62fc73862 (Re-)added the Deskpro 386, but only in the development/incomplete section of the code definitions.
Selected XT and AT clones can use either their built-in FDC controller or an external one (the IBM AT and Compaq AT machines don't support booting from a 1.44M floppy so this makes the external floppy useful).
Added the FDC to the Adaptec AHA-154xCF ("2" variant) and defaulted to None to keep compatibility with existing FDC's.
2020-06-17 00:32:48 +02:00
David Hrdlička
dfa28eb8e9 Revert "Machine path reorganisation"
This reverts commit 0a48dbcfcd.
2020-05-22 22:32:46 +02:00