Commit Graph

233 Commits

Author SHA1 Message Date
RichardG867
5a42a7c6f4 Remove some unnecessary backslashes 2025-10-25 21:29:40 -03:00
José Miguel Sánchez García
7727065b5b Add DFI K6BV3+ (rev. A+) motherboard (#6318) 2025-10-11 03:55:08 +02:00
OBattler
f04346bf31 93c46: Disable excess logging. 2025-09-24 15:19:24 +02:00
OBattler
01c410479b RTL8019AS and ISA PnP fixes: fixes PNPODI.COM. RTL8019AS now detects the card but thinks there's an IRQ conflict. 2025-09-24 15:16:59 +02:00
Jasmine Iwanek
3c5190a0db Header cleanups (1/2) 2025-09-21 00:48:38 -04:00
RichardG867
25146643f9 Migrate remaining machine-specific checks from internal name to init function 2025-09-19 19:41:01 -03:00
RichardG867
9b5f4ba7b1 BIOS ROM presence checking optimizations 2025-09-19 19:11:06 -03:00
RichardG867
13d5de4e7b ROM file check optimizations and cleanups 2025-09-19 17:51:01 -03:00
Cacodemon345
fdbf4a066b Introduce plat_file_check and use it for ROM existence checking 2025-09-20 00:30:29 +06:00
starfrost013
a44ad7e776 Remove 32-bit core dynarec 2025-09-14 15:50:01 +01:00
TC1995
5f06561469 EEPROM use changes and misc (September 3rd, 2025)
1.Move the 93cxx EEPROM implementation to the mem directory since it's used by cards which are not nics (e.g.: DC390 SCSI and S3 ELSA cards).
2. DC390 specific: remove the implementation used there and use the generic one from mem (used to be on the network directory) as well as fixing bus reset when interrupts are related.
3. S3: when the 64k size is selected in the LFB, use the SVGA 64k mapping as LFB (0xA0000).
2025-09-03 00:49:27 +02:00
OBattler
44fd79b78d PCjr: Correctly implement wait states, fixes #3140. 2025-07-10 02:34:26 +02:00
OBattler
495ee9b931 MMU: Move the lookup tables to the heap in 64-bit builds and free them on exit in 32-bit builds, prevents memory leaks. 2025-06-25 19:35:59 +02:00
OBattler
4a971a7fbc Added the AMD Am28F010 Flash chip. 2025-06-10 01:34:15 +02:00
Jasmine Iwanek
577397b40b Typo fix in rom.c 2025-06-06 21:55:01 -04:00
Jasmine Iwanek
dee023dc1c Segfault fixes in rom.c 2025-06-06 21:55:01 -04:00
OBattler
09f63b6466 Assorted fixes, the Compaq Presario 7100 486 no longer crashes on CTRL+ALT+DEL. 2025-05-27 04:47:45 +02:00
OBattler
a0b80e04cd Remove the unused mmu_perm stuff. 2025-05-06 03:18:46 +02:00
OBattler
420a08ee2c mem.c: Do not initialize the > 1 GB mapping on 64-bit binaries where it is not necessary. 2025-04-02 17:18:44 +02:00
OBattler
2a8e4d5a68 PCI and ACPI - when resetting all devices, also reset (ie. zero) all of the emulated RAM as well, fixes Windows 2000 after soft reset on later machines such as the ASUS P2B-LS. 2025-04-02 08:34:34 +02:00
OBattler
e71c30ce84 MMU: Fix behavior of 64-bit memory reads (used by FPU and MMX), should no longer waste host cycles on extra unnecessary MMU translations and should also no longer MMU translate already translated addresses which was causing unpredictable results. 2025-03-25 04:03:21 +01:00
OBattler
609f34cc49 Only flush write MMU cache on WP flag toggle as read and execute MMU cache is not affected by the flag. 2025-03-23 15:36:05 +01:00
OBattler
a886d8a9f0 Forgotten Cyrix-related fixes in mem.c. 2025-03-20 06:20:55 +01:00
Jasmine Iwanek
9e95e1e475 Move ROM write functions to rom.c 2025-03-10 05:26:35 -04:00
Cacodemon345
74368bfe7a Don't include cpu.h in timer.h
Change the name of the define used to indicate SVGA multi-monitor-capable cards
2025-03-06 19:26:11 +06: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
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
OBattler
187a1ca416 The NVR name is now obtained from the selected machine BIOS type if applicable. 2025-02-13 00:45:10 +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
458f721897 The forgotten mem.c/h changes. 2025-01-16 23:27:44 +01:00
RichardG867
74bda71219 mem: Fix upper bits in PSE-36 translation 2024-12-21 20:43:18 -03:00
Alexander Babikov
f1a60d8242 Add PSE-36 (36-bit page size extension) support
Code ported from PCBox
2024-12-21 20:44:31 +05:00
OBattler
5e2559452c A small sanity check in mem/mem.c. 2024-12-21 13:59:40 +01:00
OBattler
80a0c48785 Memory mappings can now specify to ignore some address bits, fixes some Cirrus Logic drivers for Windows 3.1x freezing. 2024-12-18 01:19:50 +01:00
OBattler
250f477200 MMU: No longer page fault on CPU-initiated writes to write-protected pages (eg. when setting segment accessed bit), fixes OpenBSD 7.0, fixes #1853. 2024-09-29 13:23:43 +02:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
OBattler
fb3b46f648 Unbroke SCO Xenix on the 286/386 interpreter, this will do until the prefetch queue is finally implemented. 2024-08-29 01:57:22 +02:00
OBattler
f19a5447be Improved the SCO Xenix fix, fixes OS/2 booting, fixes #4762. 2024-08-29 01:26:32 +02:00
OBattler
91874e231a The monster FDC ROM is now optionally writable (also finally made the SCSI NVR's per-instance), closes #4623. 2024-07-22 03:19:40 +02:00
OBattler
1205392e4f Wells AT, DataExpert 386WB, Genoa Unknown 486, Gigabyte GA-486L, Alaris Cougar, and updates to CMakeLists.txt and chipset.h. to finally include opti391.c and opti499.c. 2024-07-21 06:09:03 +02:00
Alexander Babikov
bf4977b20c mem.c: Remove duplicate definitions (#4524)
Fixes building with debug registers for 486+ enabled
2024-06-10 19:51:15 -03:00
OBattler
86de260b24 mem.c: Double the pages array size for 386SX, fixes the segmentation fault when trying to use the Amstrad MegaPC with more than 16 MB and the 486+ interpreter. 2024-06-07 14:19:10 +02: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
b0542322bf Fixed DRB DIMM splitting (AMI Apollo now boots with 8 MB RAM), and extended the MB500N workaround to MR BIOS'es as well. 2024-05-09 00:47:45 +02:00
OBattler
15e3876e21 Prepare WD76C10 for 286/386 interpreter selection, exempt IBM 486BL and all Cyrix'es from the 286/386 interpreter. 2024-04-24 06:06:09 +02:00
OBattler
2ab99dda0b Made LOCK instruction legality more accurate on 386, closes #4132. 2024-02-10 03:05:56 +01:00
OBattler
5a3d74d64f 286/386 interpreter fixes - the correct opcode arrays are now used and fixed the debug registers. 2024-02-09 12:14:35 +01:00
OBattler
0a5d25fdde Memory: Disable _mem_exec in phys() accesses when not using the 486+ interpreter or dynamic recompiler, and write protect support in preparation for the WD76C10 rewrite. 2024-02-02 05:25:40 +01:00
OBattler
13330322b4 Interim mem.c/h code and a slight optimization to do_mmutranslate(). 2024-01-24 05:56:50 +01:00