Commit Graph

80 Commits

Author SHA1 Message Date
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
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
87f598816b Fixed the Amstrad colors, closes #1517. 2021-09-03 00:29:25 +02:00
OBattler
4b25a22ada Added the ability to invert LCD colors for the Toshiba T1000 and T1200, and the Amstrad PPC512/640. 2021-07-19 02:41:43 +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
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
be8c03b3c0 Upated some machine files to no longer use the egareads and egawrites variables, should fix compilation. 2021-03-24 19:42:47 +01:00
OBattler
66e2b9bc1b Uninverted Num Lock on Amstrad PC1512 and PC1640. 2020-12-19 16:08:21 +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
c881dc975f Fixed a segmentation fault when hard resetting on some Amstrads. 2020-12-18 22:58:57 +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