Commit Graph

69 Commits

Author SHA1 Message Date
OBattler
4c086d543c Tandy 1000 SX/HX: Fix the condition for the latch pen strobe reads and writes, fixes Jungle Hunt freezing on Tandy again. 2024-09-26 07:16:05 +02:00
OBattler
d6a01a102b CGA and Tandy 1000 HX/SX: Properly implement the light pen strobe. Jungle Hunt's palette changed area still moves, that's a PIT bug, I'm going to look into that again in 5.0 when I go back to porting 808x etc. from MartyPC. 2024-09-25 14:13:00 +02:00
OBattler
26b7053318 CGA and Tandy 1000 SX/HX: Implement light pen latch readout with a sane value, fixes #4856. 2024-09-25 08:58:40 +02:00
TC1995
d72d00042b Honor the composite mode of the PCjr and Tandy 1000
And actually fix the way it's activated.
2024-08-26 00:42:34 +02:00
OBattler
0d43babac8 Tandy: Slow down horizontal sync in low resolution modes. 2024-08-23 07:14:43 +02:00
OBattler
7a965efd90 Tandy and CGA: Implement the VSync interrupt, fixes Ghostbusters freezing. 2024-08-23 06:21:27 +02:00
OBattler
b172df6498 Fix SN76489 behavior and make the Tandy 1000 SX use the NCR sound chip instead (as some revisions of it shipped with that), fixes #4700. 2024-08-08 18:56:05 +02:00
Jasmine Iwanek
834bcd09c1 Tidy up tandy 1000 SX 2024-08-06 20:12:18 -04:00
OBattler
608165295b Tandy 1000 HX control register fixes, fixes Space Quest 3. 2024-08-06 06:06:02 +02:00
OBattler
58310e02c1 Tandy: Mask palette indexes read from video memories to the lower 4 bits in 16-color modes, fixes #4691. 2024-08-06 04:02:11 +02:00
OBattler
2f4b260499 Tandy: No longer incorrectly double the line scan timings in some modes, fixes #4687. 2024-08-05 04:34:24 +02:00
OBattler
c2ec03954f Implemented B8000/C0000 video RAM access toggle on Tandy 1000 SX and HX, fixes #4670. 2024-08-05 01:22:39 +02: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
4b9b6e0815 Named Initializers in keyboard scancode tables 2024-06-27 03:22:02 -04:00
Jasmine Iwanek
931fc0d24a One line per keyboard scancode (Part 2) 2024-06-22 04:26:44 -04:00
Jasmine Iwanek
77c6296084 Fix up scancode table formatting (Part 1) 2024-06-21 22:08:31 -04:00
Jasmine Iwanek
d8eab07471 More linting in src/machine 2023-08-22 23:54:07 -04:00
OBattler
2ab8bdee0e Fixed Phoenix XT Clone and Tandy RAM detection, fixes #3219. 2023-08-21 05:41:37 +02:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04: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
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
OBattler
ef3db28e0a Tandy. 2022-10-30 16:53:14 +01: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
Jasmine Iwanek
e11bad1938 src/machine 2022-04-12 17:26:06 -04: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
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
4af2177c66 Fixed Tandy text mode to properly support 8x9 mode, closes #1305. 2021-07-30 19:48:46 +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
RichardG867
77f311b179 Game port overhaul 2021-06-03 16:26:05 -03:00
OBattler
e695cb0e3b CRTC on CGA-like graphics chips is now on the entire 3D0 to 3D7 port range, fixes scrolling in some old games. 2021-05-22 03:16:02 +02:00
OBattler
03fdcf7a9e The Tandy machines now add a FDC with port 3F7 with the disk change line, fixes #1340. 2021-04-06 06:18:56 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
f3dfd74655 Fixed arrow keys on the Tandy machines... this time for real. 2021-03-17 02:39:13 +01:00
OBattler
3f45852af7 Fixed arrow keys on Tandy machines. 2020-12-18 22:40:51 +01:00
Alexander Babikov
82404f2b3a Move the "No joystick" option to the top and get rid of the JOYSTICK_TYPE_NONE macro 2020-12-06 15:07:16 +05: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
945ec15350 Built-in video card device fixes from selected machines, such as Tandy and Olivetti.
Added the Compaq Deskpro BIOS from 1987 (8086, not 386).
Added the Trident TVGA9000B video card and fixed some anomalies with the TVGA8900B.
2020-10-06 18:06:08 +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
tiseno100
0a48dbcfcd Machine path reorganisation
The machine roms have been reorganized according to class(8086 - 286), CPU model (286 - 486) & Socket(Socket 4 - PGA370). Few exceptions are some manufacturer ROMs
2020-05-22 17:41:42 +03:00
OBattler
61f0ae7954 Better ACPI implementation (currently only on PIIX4/PIIX4E/SMSC southbridges), finished the SMSC southbridge (but the Atrend BIOS still hangs, need to figure out why), and fixed Tandy EEPROM saving. 2020-04-13 20:01:47 +02:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00