Commit Graph

76 Commits

Author SHA1 Message Date
OBattler
c2dc468f32 Tandy scancode fixes, F11 and F12 should now work and a few other previously unavailble keys are now available. 2025-08-28 22:55:37 +02:00
OBattler
0637b316ad Added keyboard type selection. 2025-07-27 15:23:43 +02:00
Jasmine Iwanek
6a43be5b0d Correct gameport device usage 2025-07-22 20:58:32 -04: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
e637f53981 remove cga->coff because it is never used or checked 2025-06-09 15:15:53 +01: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
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