Commit Graph

211 Commits

Author SHA1 Message Date
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
RichardG867
eea426a66c Add PnP tertiary/quaternary IDE controllers 2021-03-23 16:54:22 -03:00
OBattler
bd792b8e7a Added the NCR 53c815 and 53c820, and made sure the 53c810 and the 53c820 do not have the BIOS option as real ones do not have a BIOS BAR, while the 53c815 and 53c825 do (they are basically 53c810 and 53c820, respectively, with own BIOS support);
Roughly implemented the SCSI IDENTIFY message LUN operation, fixes some SCSI controller drivers in some situations;
Added an undocumented CMD640 IDE controller register required by Linux and by a DOS driver.
2021-03-23 06:32:18 +01:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
David Hrdlička
4a87af237a Change mo_format to upstream original 2021-01-12 17:11:02 +01:00
mattx433
55fd5652a8 Make mo_format use POSIX functions instead of Win32 ones 2021-01-07 13:42:55 +01:00
OBattler
fa3394c04e Fixed parameter list in data out phase on MODE SELECT (10) command on all ATAPI and SCSI devices, fixes ATAPI and SCSI CD Audio volume control, fixes #1191. 2020-12-26 02:26:45 +01:00
OBattler
7577dbab78 Finished the SiS 50x work and added the two ASUS'es. 2020-12-18 17:09:54 +01:00
RichardG867
29a0ce48e7 Merge branch 'master' of https://github.com/86Box/86Box 2020-12-03 01:46:04 -03:00
RichardG867
a90d8d1e65 Implement VIA southbridge UDMA status bit, fixes UDMA on Windows 2020-12-02 21:58:01 -03: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
f86ab08395 The geometry is now obtained normally. 2020-11-21 16:19:08 +01:00
Miran Grča
8cb733383c Merge pull request #1111 from sards3/master
VHD: fix bug in multi-sector writes
2020-11-21 16:14:01 +01:00
sards3
68000092e2 VHD: fix bug in multi-sector writes 2020-11-21 03:48:40 -06:00
OBattler
77d7c0fb81 VHD fixes. 2020-11-20 23:59:04 +01:00
Stephen McKinney
21e555b63f Update to latest MiniVHD. 2020-11-19 01:23:27 -06:00
Stephen McKinney
617b44d54f Fix whitespace. 2020-11-18 21:10:33 -06:00
Stephen McKinney
d91056586e Add VHD support. 2020-11-17 23:31:38 -06:00
Stephen McKinney
3085b1579f Remove existing VHD code. 2020-11-17 00:42:52 -06:00
Stephen McKinney
18db2af1eb Add MiniVHD to 86Box. 2020-11-16 23:38:46 -06: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
OBattler
2c81a8decd Fixed IDE word 93. 2020-10-16 22:08:46 +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
RichardG867
124866baaa Upgrade IDE maximum to UDMA/100 and add IDENTIFY word 93 (80-conductor cable detection) 2020-10-13 19:20:14 -03:00
OBattler
70dd4ba3be Generic MO Device ID changes and implemented the VPCEXT instructions (on the Virtual PC 2007 VM only). 2020-07-25 05:14:06 +02:00
OBattler
2e35cb3df6 Switched MO to ftello64(). 2020-07-20 00:07:42 +02:00
OBattler
e663a4e41c More MO fixes. 2020-07-19 23:50:47 +02:00
OBattler
d1fca11137 Cleaned up the MO struct and some fixed to the new image dialpg. 2020-07-19 17:49:58 +02:00
David Hrdlička
07eded0225 Fix typos, closes #935 2020-07-19 17:45:15 +02:00
OBattler
9350ee01a5 More MO fixes. 2020-07-19 06:18:38 +02:00
driver1998
a6bb71ea7a Enable MO support 2020-07-16 14:28:06 +02:00
OBattler
72cfa4dcb8 Implemented the Intel 82091AA Super I/O chip and added the Packard Bell PB520R, closes #825. 2020-07-11 03:37:25 +02:00
OBattler
0d2e69142d Fixed an IDE log line and fixed a bug in the implementation of the STPC chipsets caused by an erratum in the STPC Atlas programming manual (corrected in the other STPC chipsets' programming manuals). 2020-07-11 00:42:38 +02:00
OBattler
f696dc69ad Added the CMD640 (but the associated PB520R is not yet properly done, needs the 82091AA, so it's disabled until I implement it), fixed initialization of the IDE registers on the SMSC southbridge, bumped up the number of emulated serial ports to 4 (was 2), and added the ability to properly have multiple W83977's on a single machine. 2020-07-08 04:24:25 +02:00
OBattler
39a46797d2 Fixed shadowing on the OPTi 82c5x7, OPTi 82c495 now has Port 92h, and implemented the OPTi 82c611/611A VLB IDE controlled required by the Excalibur. 2020-07-07 20:43:28 +02:00
David Hrdlička
23efba22f1 include: move version defines out to version.h 2020-06-26 13:28:10 +02:00
OBattler
bee3ceda8d Merge pull request #824 from richardg867/master
TaskDialog conversion
2020-06-19 12:04:30 +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
RichardG867
a3d6e4aa4e Improve MFM/RLL/ESDI CD-ROM error message 2020-06-18 21:23:34 -03:00
OBattler
8837d5d882 Implemented the National Semiconductors PC87307, PC87309, PC87332, and PC97307 Super I/O chips, fixed a number of bugs, and removed two machines from the Dev branch due to them now having the correct Super I/O chips. 2020-06-14 21:59:45 +02:00
OBattler
9c6f0d806e A slight reorganization of the source tree and fixed a warning in disk/mo.c. 2020-06-13 10:17:57 +02:00
TC1995
9932a5ee32 Minor fix to the fix. 2020-05-29 01:37:54 +02:00
TC1995
1c486904f7 Fixed format issue with the ESDI AT controller in DOS. 2020-05-29 01:30:06 +02:00
OBattler
b07807e9de Fixed ide_get_period() to correctly use shifted mode values, fixes IDE timings. 2020-05-26 05:24:55 +02:00
OBattler
59822c6c0e Overhauled DMA bus master reads and writes and cleaned up the AMD PCnet code a bit (network queue implementation is pending). 2020-04-28 01:01:39 +02:00
OBattler
e6ccbd2406 Bumped maximum UDMA mode from 2 (ATA 33) to 4 (ATA 66) so it can be used where supported. 2020-04-25 22:37:07 +02:00
OBattler
8b8ba3d5a7 IDE sector and sector count now return 0xFF (noise) on an unassigned IDE device, fixed TC430HX hanging with empty IDE channels. 2020-04-23 15:11:32 +02:00
OBattler
600bb09f17 Added PS/2 Intel AMI keyboard controller type that always returns bit 6 of the input port as 1, fixes Intel Advanced/EV and Advanced/ZP SMM errors (with high-low beeps), and also IDE not found error behavior to fix IDE with some i686 BIOS'es. 2020-04-18 18:03:02 +02:00
OBattler
44d3eb42de Slightly changed the fixes. 2020-04-17 01:45:24 +02:00