Commit Graph

74 Commits

Author SHA1 Message Date
OBattler
2f7de1d23d EGA, MDA, and Sigma: Fix timings. 2025-08-14 13:13:32 +02:00
OBattler
b9e294b781 Trned the LPT ports into device_t's. 2025-08-02 14:51:28 +02:00
OBattler
83832b5a37 MDA: A small bug fix. 2025-06-19 01:55:03 +02:00
OBattler
23131a515f Merge branch 'master' of https://github.com/86Box/86Box 2025-06-19 01:52:31 +02:00
starfrost013
07b418d470 add the mda_colors enum and use it instead of magic numbers in the colour fixup code 2025-06-16 23:47:15 +01:00
starfrost013
b732ece04d Conform to the style guide 2025-06-16 23:41:01 +01:00
starfrost013
3c29c00a94 mda_poll: make drawcursor a bool; localise the scope of various variables; de-same-line-braceify for readability 2025-06-16 23:38:05 +01:00
starfrost013
0109f0b811 make gray actually gray 2025-06-16 23:33:43 +01:00
starfrost013
a530f9365b missed one 2025-06-16 23:25:27 +01:00
starfrost013
a925076a7a implement gray being black on fg and bg being gray 2025-06-16 23:23:47 +01:00
starfrost013
7b044e8084 much cleaned up code with fixed 9th column support, gray/black background special treatment 2025-06-16 23:21:40 +01:00
starfrost013
091c0aa32e c -> attr 2025-06-16 22:08:07 +01:00
starfrost013
00ceaa3a39 Slightly better syntatical sugar 2025-06-16 21:56:01 +01:00
starfrost013
89b8652792 Fix the underlines 2025-06-16 21:52:18 +01:00
starfrost013
d63d1342de Don't set colour in blink mode 2025-06-16 21:12:22 +01:00
starfrost013
0e7be429ca more accuracy 2025-06-16 21:00:36 +01:00
starfrost013
23414bafcb Fix non-RGBI monitors 2025-06-16 20:53:27 +01:00
starfrost013
a64fafcf61 Only enable colour support if we are using an RGBI monitor 2025-06-16 20:48:38 +01:00
starfrost013
a0da500c38 Add MDA colour support. Kind of crappy implementatio 2025-06-16 20:45:11 +01:00
OBattler
30ae882263 Added the Tulip PC Compact 2, the Tulip DGA font ROM, and assorted font ROM-related improvements. 2025-06-15 02:55:32 +02: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
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
d00f80d3ce General changes from the obattler_202406 branch
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05:00
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
Alexander Babikov
c8bdb4cfcd Add manufacturer name to IBM video adapters 2024-01-29 00:49:11 +05:00
OBattler
13e5ab3157 The MDA now also honors font base, fixes #3261. 2023-08-22 17:12:16 +02:00
Jasmine Iwanek
cb774d3ce2 sonarlint vid_mda.c 2023-07-31 15:20:30 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
d1127e68fa Even more sonarlint work 2023-06-04 23:39:14 -04: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
OBattler
cc44da26e5 MDA. 2022-10-30 17:02:33 +01:00
Jasmine Iwanek
883e7c256a clang format in src/video (#2654) 2022-08-31 20:19:29 -03:00
Cacodemon345
07663ceb7e Preparation for monochrome video selection 2022-07-06 17:44:43 +06:00
Jasmine Iwanek
d28cec126a src/video 2022-04-12 17:26:07 -04:00
Jasmine Iwanek
3b73ce330c src/video 2022-03-18 18:07:09 -04:00
Jasmine Iwanek
801f81fbda clean up device_config_t formatting 2022-02-26 23:31:28 -05: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
cd0f344221 Video fixes and added the Tseng ET2000. 2021-02-18 21:55:39 +01: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
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
Daniel Gurney
0c509fd551 Remove version tree-wide 2020-03-25 00:46:02 +02:00