Miran Grča
3b7515a4ff
Treat port 0x84, even if something is listening to it, as a delay port, fixes the Dell 466/NP on faster CPU's.
2025-05-18 09:11:13 +02:00
OBattler
79134f3b21
Assorted Cyrix (and Codegen opcode Mod R/M passing table) fixes - fixes Windows 98 SE on Cyrix 6x86's with power management enabled.
2025-03-17 03:40:52 +01:00
OBattler
f68810b277
Reverted the io.c changes that should not have been committed.
2025-02-17 15:20:16 +01:00
OBattler
5c4fcfaf85
ESC/P Printer: No longer assume roms/ is where the binary is, fixes #5221 .
2025-02-17 04:49:43 +01: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
Alexander Babikov
a07ffdecab
Restore the debug register operation on 486+
...
But put it behind a compile-time option due to performance hits
Also add the DE flag to CPUID on supported CPUs
2024-05-24 03:35:08 +05:00
OBattler
540273b23a
And reverted io.c, since the stuff was Pentium-only anyway, so pointless.
2024-01-14 21:55:24 +01:00
OBattler
00e38ed0bc
Disable I/O port debug checking on 486+.
2024-01-14 21:49:30 +01:00
Cacodemon345
911deeab1a
Fix single-step trap flag setting
2024-01-15 01:09:52 +06:00
Cacodemon345
c3fa0fc18b
Also account for data address breakpoints
2024-01-14 21:32:43 +06:00
Cacodemon345
f4f252c0b7
Implement x86 debug registers
2024-01-14 15:26:40 +06:00
OBattler
8b1746f961
Made io.c only count qfound when logging is enabled.
2023-08-09 18:24:16 +02:00
OBattler
a388b7013a
Revert io.c to that of build 4761, which is the correct revision, should fix compiles.
2023-08-08 00:22:05 +02:00
OBattler
b23a55a922
Reverted the io.c debug stuff.
2023-08-07 22:14:24 +02:00
OBattler
c695cb8ded
Completely reworked mouse handling - should now be smoother due to there no longer being a multi-layered game of telephone going on with all the various interim coordinate counters, also rewritten the serial mouse emulation ground ground up.
2023-08-07 18:49:58 +02:00
OBattler
c30d5d90b7
PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable.
2023-08-07 03:04:52 +02:00
OBattler
979bd75acb
Merge branch 'master' of https://github.com/86Box/86Box
2023-07-06 19:59:54 +02:00
OBattler
78f129c8ac
Rewritten the PCI Type 2 access handling.
2023-07-06 19:55:59 +02:00
Jasmine Iwanek
1116aadb6f
Another round of sonarlint work
2023-07-04 10:53:44 -04:00
Jasmine Iwanek
6c1e4a8e2c
Some code smell fixes from sonarlint
2023-05-15 19:25:56 -04:00
OBattler
19d155cdd7
Keyboard controller file split and assorted clean-ups and fixes
2023-04-19 23:34:32 +02:00
OBattler
df24b4be0f
Reverted the previous approach and switched to the new, non-hacky approach of getting rid of the accelerator and instead handling enter full screen the same way exit full screen is handled.
2023-04-13 22:47:42 +02:00
Jasmine Iwanek
1860700eab
Fix some small issues
2023-01-07 17:02:23 -05:00
Jasmine Iwanek
aa2c07bed2
Random header cleanups I noticed while porting things
2022-11-05 22:12:35 -04:00
Jasmine Iwanek
e6dbaefeb1
clang-format in src/
2022-09-18 17:19:21 -04:00
Adrien Moulin
26d6b308a9
Optimize IO in
...
Around 36% faster
2022-08-09 19:14:42 +02:00
OBattler
61828a89fc
Added the GC113 used by the real TriGem 286M, and fixed that EMS driver on GC113 onwards, closes #2567 .
2022-08-04 04:39:37 +02:00
RichardG867
219129f97e
CMI8x38: Implement Sound Blaster emulation
2022-03-06 19:59:14 -03:00
Jasmine Iwanek
4674756664
More newline and whitespace cleanups
2022-02-20 16:26:40 -05:00
OBattler
a394a33500
Conflict resolution.
2021-10-19 18:18:15 +02:00
RichardG867
8dd26d5776
Fix some logging stuff
2021-10-18 23:29:30 -03:00
RichardG867
e05aab152a
Implement I/O port traps on PIIX and VIA ACPI
2021-10-18 21:59:12 -03:00
OBattler
cc043eed5d
Removed port 2B60 read.
2021-10-09 17:38:27 +02:00
OBattler
1c2d1e702b
Assorted changes and bugfixes and added the two IMS 8848 machines.
2021-10-09 17:37:09 +02:00
OBattler
67367798a7
Merged various SMC FDC67C6xx Super I/O chips into one file, re-added the UMC88xx 486 chipsets (and four machines for it) based on work by tiseno100 and my own work, various other fixes, and added quite a few machines (including the AOpen AP5VM which now works), also added the remaining ALi M6117 machine (Protech SBC with Award BIOS), and made the Intel Advanced/ATX's on-board S3 Trio64V+ work, as well as the on-board S3 Trio64/V2 of the two Compaq Presarios.
2021-08-21 18:19:10 +02:00
OBattler
4be8bbb704
Some changes to io.c/h.
2021-06-07 00:22:12 +02:00
OBattler
6e233f4ac8
SDL renderer improvements and fixes and added SDL OpenGL option;
...
Various performance improvements;
Fixed USB UHCI HCHalt;
Cirrus Logic CL-GD 5422/24 fixes and removed them from the Dev branch;
The Storage controllers sections of Settings now has its own corresponding section of the configuration file;
Fixed the AT clock divisors for some Pentium OverDrive CPU's;
Added the ACPI RTC status (no ACPI RTC alarm event yet).
2020-11-26 18:20:24 +01:00
OBattler
a862bda04c
Rewrote the recompiler interrupt checking in assembly (and removed it for the new dynamic compiler because the requires uops are not present), brings performance back up, and also did a number of CPU-related clean-ups (mostly removal of dead variables and associated code).
2020-07-13 19:46:19 +02:00
OBattler
72c1c36ec6
OPTi 5x7 no longer does excess logging, running of timers on the recompiler is now done on every fourth AT KBC port 61h read instead of every 3F4h read, added some safety precautions to io.c to handle the cases where a handler removes itself, implmented the STPC ELCR and refresh control, and fixed the messed up register reading in the PC87307 and PC87309 implementations.
2020-07-10 02:05:49 +02:00
OBattler
96228bc41d
Overhauled the SiS 496/497 chipset emulation (and added the DRB locking to it) (later Zida Tomato 4DPS BIOS'es now work, and we now use the actual 1.72), fixed the W83787F and FDC37C932FR Super I/O chips, removed the no longer needed Acer M3A registers (that's now correctly handled as FDC37C932FR GPIO), and a number of bugfixes here and there.
2020-06-29 01:10:20 +02:00
OBattler
a7e43ae601
Port ED now also runs all the timers on the recompiler if it has no handlers, like port EB.
2020-06-19 13:54:08 +02:00
OBattler
6c6cae0965
Fixed a number of bug sin various modules, VS440FX mostly works now (one bug on soft reset is missing which is left to be debugged).
2020-06-15 17:08:42 +02:00
OBattler
ca55e2a12a
More reorganization and finally merged the two makefiles.
2020-06-13 12:32:09 +02:00
OBattler
ed511e10fc
Fixed a potentially crash-causing bug in io_removehandler().
2020-05-18 05:23:13 +02:00
OBattler
3a401af84e
Changes to update_tsc() - no longer requires a parameter and advances by all the currently accumulated cycles. Also changed TSC-related delta's to be correctly uint64_t.
2020-05-14 01:36:52 +02:00
OBattler
f46181db78
Several fixes - the MR BIOS'es now work on the recompiler (thank you, port EBh!), so they have been moved out of the Dev branch.
2020-05-13 03:43:02 +02:00
OBattler
275dd5a2f7
ACPI, SMM, and PIIX fixes, fixes quite a few boards, also fixed the Via Apollo series northbridge ID's, some CPU instructions on both 808x and 286+, and added SMM to 486's (Intel and AMD), WinChip and WinChip 2, and VIA Cyrix III, also removed the TC430HX and the Toshiba machine from the Dev branch.
2020-04-16 21:56:19 +02:00
OBattler
b8b198a56a
Fixed SMM, overhauled the emulation of the VIA northbridges, and added the Via Apollo VP3.
2020-04-01 08:59:29 +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
Daniel Gurney
0c509fd551
Remove version tree-wide
2020-03-25 00:46:02 +02:00