Commit Graph

154 Commits

Author SHA1 Message Date
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
Jasmine Iwanek
b2e70ff4f3 Add secondary XT and AT fdc types
(Currently unused)
2022-10-27 12:19:51 -04:00
Jasmine Iwanek
fab1632cee Fixes almost all the logging options which were previously broken 2022-10-27 11:23:10 -04:00
Jasmine Iwanek
58d86a0739 clang-format in src/floppy/ 2022-09-18 17:19:22 -04:00
OBattler
1ee0eedccb ALi M5123 FDC implementation. 2022-07-23 03:19:51 +02:00
OBattler
e911cc5a34 A small FDC fix. 2022-07-20 23:40:51 +02:00
OBattler
c5bce85a53 The FDC code now actually uses the DRQ. 2022-07-20 19:56:49 +02:00
OBattler
b455d8f64d SCSI Bugfix, HDC, and FDC. 2022-04-04 18:19:14 +02:00
Jasmine Iwanek
288e2ce1d2 src/floppy 2022-03-13 09:38:53 -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
OBattler
6f2b93923c A lot of fixes - everything now seems to work properly. 2022-02-03 03:10:06 +01:00
Jess Lovelace
f91654d301 another typo 2022-02-02 18:11:11 -05:00
Jess Lovelace
6c6c6287ea more fix 2022-02-02 18:08:43 -05:00
Jess Lovelace
4849deb156 added null devices and refactored tables 2022-02-02 17:48:04 -05:00
Jess Lovelace
5398143f42 obsoleting tables for internal names 2022-02-02 16:31:24 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
Jasmine Iwanek
547fccccc6 Less magic numbers in FDC 2022-01-26 16:56:29 -05:00
OBattler
28520d6000 FDC now once again correctly checks for DMA_OVER in FIFO-less mode, fixes #1705. 2021-09-18 19:36:34 +02:00
OBattler
ef6d3d01db More correct implementation of the FDC FIFO. 2021-09-17 02:18:23 +02:00
OBattler
03fdcf7a9e The Tandy machines now add a FDC with port 3F7 with the disk change line, fixes #1340. 2021-04-06 06:18:56 +02:00
EngiNerd89
56f794e66c Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2021-02-11 20:10:43 +01:00
Panagiotis
6fd19ef4f7 The UMC 8398 can now remove port 3F7h 2021-02-08 18:04:15 +02:00
Panagiotis
3d5072dab2 Implemented the Magitronics B215 Jumper Readout
Also added a preliminary UMC 8398
2021-02-08 18:01:43 +02:00
Panagiotis
259db0979e Reverted the XT FDC with no flags
Turns out it was working as intended
2021-02-07 19:18:15 +02:00
Panagiotis
a0a7ee67cc FDC workaround
The Internal FDC is added when needed for AT machines too.
Some speculative "work" on the main FDC code
2021-02-07 17:27:14 +02:00
EngiNerd89
f026ac6eea Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2021-02-07 00:24:21 +01:00
Panagiotis
41c3dbc451 Added the Magitronic B215
Intended for just testing the XT FDC issues
2021-01-31 13:49:14 +02:00
Panagiotis
1290fdb065 Few more changes on the DTK FDC's
DP8473 now uses the correct flags.
Included few notes related to the DTK FDC.
2021-01-31 13:09:42 +02:00
Miran Grča
8200ef5db6 Revert "Added new NCR and Olivetti machines" 2021-01-25 19:30:45 +01:00
EngiNerd89
a4de9d514b Implemented some Olivetti M300-family machines.
Implemented NCR PC916SX
Implemented PC87310 SuperIO
2021-01-17 14:39:45 +01: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
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
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
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
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
645f1d42f3 Fixed FDC sector compare finish. 2020-06-28 13:39:29 +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