Commit Graph

125 Commits

Author SHA1 Message Date
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
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
RichardG867
86feb28064 Add FDC DMA remapping on VT82C686 Super I/O 2020-10-22 17:45:31 -03:00
OBattler
166bb68763 Increased the side dimension of the floppy IMG sector_pos_side and sector_pos arrays. 2020-10-19 02:28:47 +02:00
OBattler
795a6017d2 PIC rewrite, proper SMRAM API, complete SiS 471 rewrite and addition of 40x, 460, and 461, changes to mem.c/h, disabled Voodoo memory dumping on exit, bumped SDL Hardware scale quality to 2, bumped IDE/ATAPI drives to ATA-6, finally bumped emulator version to 3.0, redid the bus type ID's to allow for planned ATAPI hard disks, made SST flash set its high mappings to the correct address if the CPU is 16-bit, and added the SiS 401 AMI 486 Clone, AOpen Vi15G, and the Soyo 4SA2 (486 with SiS 496/497 that can boot from CD-ROM), assorted 286+ protected mode fixes (for slightly more accuracy), and fixes to 808x emulation (MS Word 1.0 and 1.10 for DOS now work correctly from floppy). 2020-10-14 23:15:01 +02:00
OBattler
37a4d26817 A number of IMD floppy image format handler fixes and it now does a sanity check on the sector type as well to detect malformed HxC IMD images with data errored sectors containing a variable number of bytes (against the specification). 2020-08-19 01:38:34 +02: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
5a862e9551 Fixed 440GX ID without AGP and the FDC now causes the CPU to run the timers on MSR read when the recompiler is used. 2020-07-09 19:28:47 +02:00
OBattler
53afbfcd49 Changed the writing of the 86f surface array to be in accordance with the pecification. 2020-06-29 03:14:16 +02:00
OBattler
616a8501b5 Moved floppy writeback call to fdc_poll_readwrite_finish(), in order to have the track written less often (no need to write it on every sector). 2020-06-29 02:19:05 +02:00
OBattler
ed2d8f9969 A minor fix in floppy/fdd_86f.c . 2020-06-29 00:53:51 +02:00
OBattler
645f1d42f3 Fixed FDC sector compare finish. 2020-06-28 13:39:29 +02:00
OBattler
926ed40741 Sanitized some stuff in fdd_86f.c. 2020-06-28 04:46:32 +02:00
OBattler
d5f43204c9 Some minor changes to fdd_d86f.c. 2020-06-27 23:27:19 +02:00
OBattler
96428c2bda More minor floppy changes. 2020-06-23 18:48:16 +02:00
OBattler
997aa1eee4 More minor FDC changes. 2020-06-21 03:18:25 +02:00
OBattler
c6d39f81c3 Fixed the "has drive selection" array in floppy/fdc.c so the SCAN LOW OR EQUAL and SCAN HIGH OR EQUAL commands are at the correct position, reduced it to 32 entries (maximum number of commands) out of 256, and changed it to uint8_t so it takes even less memory. 2020-06-21 01:08:05 +02:00
OBattler
4563ce7822 Minor FDC changes. 2020-06-20 22:34:51 +02:00
OBattler
d326017233 Added the Acer V30 and a number of IDE and AT keyboard changes needed to make it work, closes #367. 2020-06-19 12:02:17 +02:00
OBattler
3373ea056a Disabled FDC logging. 2020-06-18 00:33:22 +02:00
OBattler
8e4757513f Automatic FINTR's on failed / zero-step seeks and recalibrates now also disable the timer, fixes booting floppies on Intel AMI BIOS'es. 2020-06-18 00:29:36 +02:00
OBattler
f8126ceaba Filed / zero-step seek and recalibrates now instantly raise FINTR when not on PCjr, fixes 386BSD seek errors (though 386BSD still triple fault resets). 2020-06-18 00:22:04 +02:00
TC1995
b97b9ae2f9 Merged all the latest and missed 86box commits.
Finally fixed the configuration UI of the FDC's.
2020-06-17 14:29:24 +02:00
TC1995
f62fc73862 (Re-)added the Deskpro 386, but only in the development/incomplete section of the code definitions.
Selected XT and AT clones can use either their built-in FDC controller or an external one (the IBM AT and Compaq AT machines don't support booting from a 1.44M floppy so this makes the external floppy useful).
Added the FDC to the Adaptec AHA-154xCF ("2" variant) and defaulted to None to keep compatibility with existing FDC's.
2020-06-17 00:32:48 +02:00
TC1995
cfc8af3d05 Fixed the fix 4. 2020-06-16 16:50:16 +02:00
TC1995
465789bd5c Fixed the fix 3 (grr). 2020-06-16 16:44:25 +02:00
TC1995
aeae97fafc Fixed the fix 2. 2020-06-16 16:41:35 +02:00
TC1995
118192e598 Fixed the fix. 2020-06-16 16:37:48 +02:00
TC1995
c2840cf6cb Fixed the UI for the external FDC. 2020-06-16 16:33:36 +02:00
TC1995
a77c88addf Added external Floppy disk controller support. 2020-06-16 16:25:23 +02:00
OBattler
464a6da62f Intel SIO overhaul, slight DMA clean-ups and SIO-related additions, made the PIIX/SMSC series of southbridges aware of CPU speed changes, and fixed a bug in the 86F loading code. 2020-06-11 12:52:50 +02:00
Melissa Goad
e8e709b352 fixup 2020-04-06 14:18:02 -05:00
Melissa Goad
8562170047 Fix bugs pointed out by Coverity 2020-04-06 14:13:00 -05: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
OBattler
04193fb199 Floppy changes. 2020-03-23 09:02:32 +01:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00
OBattler
8f17d4ed8d Fixed two warnings. 2020-01-16 20:48:10 +01:00
OBattler
e44e60c660 Fixed the fourth batch of problems. 2020-01-15 05:24:33 +01:00
OBattler
932ad5595a Fixed the third batch of problems. 2020-01-15 04:58:28 +01:00
OBattler
af023ff5dd Fixed the second batch of problems 2020-01-15 03:48:33 +01:00
OBattler
8749776144 Fixed the first batch of problems. 2020-01-15 03:04:59 +01:00
OBattler
714d77dedd Fixed a double free in the FDI2RAW code. 2020-01-15 02:46:16 +01:00
OBattler
df1617f4ef Added a sanity check to the MFM image code. 2020-01-15 02:35:47 +01:00
OBattler
05515187ee Various sanity measures in the Floppy image and TeleDisk codes. 2020-01-15 02:31:52 +01:00
OBattler
3e720fdd96 Added two more sanity checks into the FDI2RAW code. 2020-01-14 22:19:15 +01:00
OBattler
f2beb0bc56 Added a sanity check to the FDI2RAW code. 2020-01-14 20:53:39 +01:00
OBattler
30a8e248fb Removed a dead code block and redundant if check from the JSON floppy image code. 2020-01-14 20:46:43 +01:00
OBattler
ce9408a817 More TD0 bug fixes - fixed handling of sectors without an ID field, and fixed the handling of TD0 images recorded at 300 kbps on a 360 rpm drive (which is equivalent to 250 kbps on a 300 rpm drive), fixes Sid Meier's Pirates! 2019-12-06 02:37:52 +01:00