Commit Graph

70 Commits

Author SHA1 Message Date
OBattler
c6dfd688f4 Split off the CRC code to its own module. 2025-02-15 07:09:14 +01:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
OBattler
20feee1e00 86F: Preserve weak bits. 2024-12-08 02:58:57 +01:00
OBattler
1e84b46a5d 86F: Correct the obtaining of the preceding bits in direct writes, fixes bit stream compliance. 2024-10-01 08:53:57 +02:00
OBattler
7639d8b031 Flush on write to floppy images as well. 2024-09-24 04:36:01 +02:00
OBattler
43d93843fa 86F: More fixes. 2024-09-21 05:55:39 +02:00
OBattler
1acafb2616 86F: Fix the physical hole retention logic, fixes PROLOK-protected 86F images after the first run. 2024-09-21 03:14:36 +02:00
OBattler
760c720352 Assorted FDC and PCjr video fixes, fixes #4659. 2024-07-28 01:00:58 +02:00
OBattler
4f392ca8e3 SM(S)C FDC37C669 Super I/O chip rewrite and proper FDC power down behavior, fixes floppy drive errors on the new Daeweoo machine. 2024-01-07 01:42:34 +01:00
Jasmine Iwanek
fd1334d454 More linting in src/floppy 2023-08-22 23:54:07 -04:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
Jasmine Iwanek
ce451a2bf4 More fixes for sonarcloud findings 2023-05-28 21:02:17 -04:00
Jasmine Iwanek
927c26f496 Fix some variant type comparisons 2023-05-02 02:18:17 -04:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
58d86a0739 clang-format in src/floppy/ 2022-09-18 17:19:22 -04:00
Jasmine Iwanek
5e0c1ac209 Gdbstub, Minitrace and more (#2653)
* Fix gdbstub compilation

* Fix minitrace compilation

* Fix many warnings on Linux Builds

* Support DirectInput for Joysticks in QT UI too
2022-08-31 18:35:32 -03:00
OBattler
5bc8b4bb07 And a fix for writes as well. 2021-09-17 23:29:08 +02:00
OBattler
6a881b8d6c Actually fixed floppy drive turbo mode now. 2021-09-17 23:25:57 +02:00
OBattler
74bea97b66 Fixed a typo. 2021-09-17 22:53:58 +02:00
OBattler
9369717354 And another attempted fix for that. 2021-09-17 22:43:49 +02:00
OBattler
8c783afcbc Attempted fix for the FDC turbo mode. 2021-09-17 22:09:03 +02:00
OBattler
ef6d3d01db More correct implementation of the FDC FIFO. 2021-09-17 02:18:23 +02:00
OBattler
916b66e305 Removed the unused "table array" from fdd_86f.c. 2021-09-11 04:16:39 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +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
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
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
4563ce7822 Minor FDC changes. 2020-06-20 22:34:51 +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
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
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
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
OBattler
b9a35eb418 Floppy fixes to handle TD0 and IMD images with some kinds of copy protection, fixes eg. F-19 Stealth Fighter from 1988. 2019-12-05 21:36:28 +01:00
OBattler
cc8ab094c7 The 86F handler now returns randomly generated noise for physical holes, rather than always 0. 2019-11-08 22:00:29 +01:00