Commit Graph

93 Commits

Author SHA1 Message Date
Jasmine Iwanek
891982c2c4 Align array entries in machine table and format machines (#6254) 2025-09-30 04:15:10 +02:00
Jasmine Iwanek
3c5190a0db Header cleanups (1/2) 2025-09-21 00:48:38 -04:00
OBattler
c0fe1ceea5 Implement the line doubling mode selection on the Amstrad PC1512 and PC1640, with None as default, and make the None mode on all 4 cards (the two Amstrads, CGA, and Yamaha V6355) operate like PCem. 2025-08-27 00:46:17 +02:00
OBattler
e2dbe51860 Amstrad PC1512: Give video_process_8() a width of 656 if the actual width is smaller than 64, fixes #6065. 2025-08-26 21:02:08 +02:00
OBattler
b5cb6ab894 Amstrad PC3086: Implement the WD XTA hard disk controller. 2025-08-18 23:49:25 +02:00
OBattler
46725ef602 Amstrad machines: Clean up all the left-overs of the old LPT code, fixes #5887. 2025-08-05 01:35:05 +02:00
OBattler
b9e294b781 Trned the LPT ports into device_t's. 2025-08-02 14:51:28 +02:00
Jasmine Iwanek
6a43be5b0d Correct gameport device usage 2025-07-22 20:58:32 -04:00
starfrost013
5d8b3412e9 mdacols -> mda_attr_to_color_table; cgacols -> cga_attr_to_color_table 2025-06-11 20:36:56 +01:00
starfrost013
317a5b7ade stat -> status; improve MDA register decoding; add MDA CRTC, register and mode enums 2025-06-11 17:37:15 +01:00
starfrost013
dd7f3d0aae ma -> memaddr
ma_latch -> memaddr_latch
maback -> memaddr_backup
ca -> cursoraddr
sc -> scanline
oldsc -> scanline_old
2025-06-10 22:53:45 +01: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
starfrost013
d32a06d305 Rename "con" to "cursorvisible" as it determines if the cursor is visible for the current scanline. 2025-06-09 17:16:01 +01:00
starfrost013
e637f53981 remove cga->coff because it is never used or checked 2025-06-09 15:15:53 +01:00
Jasmine Iwanek
8e895903ed Alternate font support for MDA and Hercules 2025-05-27 01:11:58 -04: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
4b9b6e0815 Named Initializers in keyboard scancode tables 2024-06-27 03:22:02 -04:00
Jasmine Iwanek
734e40b6d7 Fix missing entries in amstrad kbd scancode table 2024-06-22 04:26:45 -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
OBattler
2cbfc8e047 808x: Clear prefetch queue on soft reset, fixes the CTRL+ALT+DEL hang on Amstrad 808x machines, fixes #408. 2024-01-15 04:32:52 +01:00
OBattler
13e5ab3157 The MDA now also honors font base, fixes #3261. 2023-08-22 17:12:16 +02:00
OBattler
1ace98f656 Corrected the Amstrad keyboards. 2023-08-21 07:21:19 +02:00
Jasmine Iwanek
375f69ed61 Fix more compile warnings 2023-08-15 13:28:04 -04:00
OBattler
2391c11260 More clean-ups and mouse fixes. 2023-08-11 22:29:53 +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
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
OBattler
841d817328 The Sinclar PC200 (= Amstrad PC20) now correctly uses the AT Scancode Set 1 for the keyboard, fixes #1317. 2022-11-06 02:31:28 +01:00
OBattler
b4b5a6aea2 Amstrad. 2022-10-30 16:51:21 +01:00
Alexander Babikov
8096a3095e Fix Amstrad/Olivetti internal mice not working by explicitly defining the number of buttons 2022-10-26 00:20:38 +05:00
Jasmine Iwanek
3fddf4d488 clang-format in src/machine/ 2022-09-18 17:22:55 -04:00
Adrien Moulin
26d6b308a9 Optimize IO in
Around 36% faster
2022-08-09 19:14:42 +02:00
Jasmine Iwanek
ff39a77afc clang-format in src/machine 2022-07-27 17:01:04 -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
6233027c9e Named initializers in machine table 2022-07-19 18:51:18 -04:00
TC1995
d630bba26e Not only AudioPCI, revert the NMI way where applicable (ali1489, viapipc, amstrad and sigma). 2022-07-16 22:04:45 +02:00
OBattler
22a856634c Amstrad. 2022-07-16 02:50:53 +02: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
702f80e58a Backport several changes from M&K 2022-04-12 17:26:05 -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