f7b9249b54
RIVA TNT support
Melissa Goad
2016-10-06 13:42:13 -05:00
63b3f07372
Fixed the FDC DUMP REGISTERS command to dump all registers (it was dumping two foo few); The FDC is now initialized with the correct FIFO parameters.
OBattler
2016-10-06 01:59:28 +02:00
809c0bb5ee
FDC FIFO now ignored completely when FIFO length is 1 byte.
OBattler
2016-10-06 01:40:23 +02:00
f27a2732fb
Commend out an excess logging line from disc_86f.c.
OBattler
2016-10-05 17:05:11 +02:00
6da629d2a8
Reverted the disc_imd.c changes as it turns out they were not needed at all and only messed up reads.
OBattler
2016-10-05 16:54:01 +02:00
ecd4c8934d
Uncompressed sectors from an IMD image now get their actual image buffer passed rather than the temporary buffer, fixes writing to IMD images; SVGA memory address is now latched with the mask divided by 2 in text mode, fixes OS/2 1.1 crashing the emulator.
OBattler
2016-10-05 15:41:51 +02:00
d8c9b7ab76
Fixed 86F read state detection, should make 86F as well as any floppy image formats proxied to the 86F handler read again.
OBattler
2016-10-05 15:06:26 +02:00
e1da051f44
Added the FDC SCAN EQUAL, SCAN LOW OR EQUAL, and SCAN HIGH OR EQUAL commands.
OBattler
2016-10-05 05:37:07 +02:00
8c439a1bec
Fixed a mistake with the three new FDC commands.
OBattler
2016-10-05 01:42:11 +02:00
d4f682d142
Raw floppy images with BIN and HDM extensions are now supported.
OBattler
2016-10-05 00:59:04 +02:00
64d9cdc665
TD0 and IMD images of DMF media are now loaded with the correct sector interleave; Fixed several bugs in TD0 and IMD loading; Added FDC READ DELETED DATA, WRITE DELETED DATA, and VERIFY commands; Mismatching data address marks are now handled correctly.
OBattler
2016-10-05 00:47:50 +02:00
8f9bbb3679
Fixed two compile-breaking errors.
OBattler
2016-10-04 18:02:15 +02:00
6ac2526dbb
The 86F handler now reads and writes .86F images correctly again; Improved TeleDisk support; Added support for ImageDisk (IMD) images; Added MSR registers 186 and 570 for the Intel i686 CPU's; Applied both mainline PCem commits.
OBattler
2016-10-04 17:25:16 +02:00
1371be8b45
Fixed a vulnerability and a buffer overflow in the TD0 loading code; Fixed side flags when loading of double density TD0's created using a high density 5.25" drive; GAP3 length for TD0 teacks is now calculated rather then fixed when it can not be reliably determined from data rate, sector size, and sectors per track.
OBattler
2016-09-30 02:16:27 +02:00
200c966733
Attempt to fix the hard disk size display problem.
OBattler
2016-09-29 23:34:38 +02:00
d3d26999f6
Added support for TD0 (Teledisk) floppy images; Fixed support for Japanese HDI hard disk images; Attempt to mix DOS 4.x DOSSHELL mouse issues.
OBattler
2016-09-29 21:54:34 +02:00
7461fbfdfd
Fixed the definition of nvr_path in ibm.h.
OBattler
2016-09-28 23:05:01 +02:00
59370a57a8
Maximum length of nvr_path is now 992 bytes instead of 228.
OBattler
2016-09-28 22:58:57 +02:00
42ed2920e2
Fixed handling of 86F version 1.50 track offset table reads and writes; Added handlers for formatting and reading/writting 86F mode 2 and 3 images that rely on sync bytes and address marks like a real FDC would.
OBattler
2016-09-28 22:56:19 +02:00
a3e6c4eeb3
FDC DOR handler now does a sanity check when setting drive select, fixes OS/2 Setup fataling the emulator when reading Disk 2; FDC SEEK command now no longer incorrectly times out when seeking to the track the FDC thinks it's already at, fixes floppies in NT 3.1; Emulator now correctly saves configuration changes to the configuration files it was loaded with rather than always the default; Default path for NVR's can now be overridden by adding the nvr_path option to the cfg file.
OBattler
2016-09-27 21:38:29 +02:00
af57860340
Fixed a compile-breaking error.
OBattler
2016-09-27 03:32:56 +02:00
d695922a77
Removed support for all 86F versions other than 1.50 and the emulator-internal 0.99.
OBattler
2016-09-27 03:16:57 +02:00
c627cf42ec
86F version 1.50 encoded format is now handled correctly.
OBattler
2016-09-27 00:45:14 +02:00
fce6d9aa48
Fixed a very stupid compile-breaking error.
OBattler
2016-09-26 21:20:39 +02:00
11fae15897
Fixed more compile-breaking errors.
OBattler
2016-09-26 21:15:32 +02:00
73dabc25f6
Fixed several compile-breaking errors.
OBattler
2016-09-26 21:03:23 +02:00
50f65e1ec0
Added support for 86F version 1.32 images; Forced reseek on disk change is now its own function and is always performed, fixes disk changes on some machines.
OBattler
2016-09-26 20:43:09 +02:00
74aa7e486d
Resetting the FDC via the DOR now correctly resets each drive's HDSEL to 0, fixes booting from OS/2 Warp 3.0 install floppies.
OBattler
2016-09-26 18:43:25 +02:00
bde171e81b
Hard disk parameters dialog boxes now allow you to specify size in MB or select a predefined type from a combo box; Japanese HDI hard disk images are now supproted; FDC FORMAT command now CRC's the correct data, fixes formatting inserted IMG's; FDC SEEK command now no longer incorrectly reports invalid status when HDSEL (head select) is 1, fixes booting from inserted floppies of any format on boards other than ASUS P/I-P55TVP4.
OBattler
2016-09-25 21:39:21 +02:00
807d132312
Fixed a few errors that broke compiling; Fixed limit functionality in d86f_memset() and d86f_memcopy().
OBattler
2016-09-23 01:15:29 +02:00
b25b614e6e
Removed debug fatal on data CRC error from the 86F handler; Prepare sector function can ignore rather than wrap around if so told; Format now tells prepare sector to not wrap around.
OBattler
2016-09-23 01:06:05 +02:00
4368256f41
Fixed the RPM slow down accounting for 86F version 1.21 images in d86f_get_raw_size(); Properly fixed serial port IRQ assignment with the National Semiconductors PC87306 Super I/O chip - DOS mouse drivers now work if mouse is set to serial.
OBattler
2016-09-22 22:48:31 +02:00
b956c5f6f5
Added missing variable declarations in pc87306.c; Both PIIX IDE bus masters now initialize with IRQ set to 14 rather than not set.
OBattler
2016-09-22 21:33:14 +02:00
6318e2bb17
Rewritten parts of the 86F handler to minimize false CRC errors and misidentification of sectors; Replaced IMG handler with one that now proxies to the 86F handler; Applies the remaining Mainline PCem speedup commit; Fixed the National Semiconductors PC87306 Super I/O Chip's serial port IRQ assignment; DMF images are now loaded with the correct sector interleave, improving read/write speed; XDF images are now loaded in a way that emulates the real order of the sectors on the track, improving read/write speed; Added 16-bit physical memory read/write routines (mem_phys_readw, mem_phys_writew) and modified the 16-bit DMA code to use them instead of two 8-bit reads/writes.
OBattler
2016-09-22 21:22:56 +02:00
0ae428b5f5
Fixed handling of DMF IMG images; Fixed 3.5" 2ED XDF structure; Applied mainline PCem big recompiler speedup (up to 20% seen) commit; Added support for floppy drive swapping with the Winbond W3877F Super I/O chip.
OBattler
2016-09-17 20:22:02 +02:00
7be9a3c9c4
Disabled more stuff in case "No joystick" is selected.
OBattler
2016-09-16 03:04:05 +02:00
ecd425a9c6
Do not initialize the gameport at all if the "No joystick" option is selected.
OBattler
2016-09-16 02:46:25 +02:00
4b5eb91e6e
Fixed a compile-breaking typo in gameport.c .
OBattler
2016-09-16 02:37:04 +02:00
bd2641a033
Added a "No joystick" option.
OBattler
2016-09-16 02:32:25 +02:00
a0f6257c36
The CD-ROM now correctly identifies as supporting DMA.
OBattler
2016-09-15 14:32:26 +02:00
4896dfcfb4
86F write handler now correctly only writes 1 GAP3 byte and just pulses through the rest.
OBattler
2016-09-15 03:59:49 +02:00
cdfba37ea9
Applied all mainline PCem commits; Fixed behavior of the FDC RECALIBRATE command for FDC's on certain Super I/O chips; Several 86F-related fixes; Added the Intel Advanced/ML (430HX, Socket 7, currently with non-working Flash) and Intel Advanced/ATX (430FX, Socket 7, works perfectly) motherboards; Fixed handling of DENSEL when the FDC is in National Semiconductors PC87306 mode; Brought 440FX initialization PCI parameters in line with Bochs; Brought PIIX3 initialization PCI parameters in line with QEMU.
OBattler
2016-09-14 23:18:14 +02:00
264859a574
86F format handler now sets per-side flags also for 86F version 1.20.
OBattler
2016-09-08 00:04:04 +02:00
65d18aac26
Changed all dword and UINT4 data types in disc_random.c to uint32_t.
OBattler
2016-09-07 21:09:45 +02:00
2982681247
Fixed calls to d86f_poll_data() with too few parameters.
OBattler
2016-09-07 21:05:19 +02:00
abd77b0001
Added index_hole_pos to the 86F struct.
OBattler
2016-09-07 21:03:46 +02:00
c6c6fe8e2d
Added support for version 1.20 of the 86F format; Hopefully made the 86F handler for the FDC READ TRACK command work correctly.
OBattler
2016-09-07 20:59:08 +02:00
a43004aebe
86F and IMG handler now account for possible floppy drive swap when getting the drive's current RPM; The RWC setting is now ignored when the FDC is not in enhanced mode.
OBattler
2016-09-07 03:00:52 +02:00
5a2ba3b53b
Sector ID check is now only processed if the bitcell period matches.
OBattler
2016-09-07 01:02:21 +02:00
2104195b13
Fixed a bug in the 86F poller when reading the sector ID.
OBattler
2016-09-07 01:00:18 +02:00
0ada60b242
d86f_get_array_size() now actually returns the size according to the hole field, should fix handling of 86F version 1.10 files; Temporary sector ID field in 86F poller now set to invalid after transferring the value to the last found sector field.
OBattler
2016-09-07 00:40:29 +02:00
b90c7d2a68
More FDC commands now correctly set FDC head; Fixed a big in 86F read/write find sector state handler.
OBattler
2016-09-06 23:52:08 +02:00
ad9966f27f
86F handler now only expected one side parameter byte per track for single-sided images; FDC FORMAT command now sets drive head.
OBattler
2016-09-06 02:17:05 +02:00
f5e096aa12
The side_flags array is now part of the 86F struct.
OBattler
2016-09-05 22:10:04 +02:00
c192c015a5
Version now part of the 86F struct, should fix compile.
OBattler
2016-09-05 22:03:33 +02:00
23325e16a1
Added support for version 1.10 of the .86F format; Floppy drive head now set to 0 on drive eject/load; FDC result phase now returns head from HDSEL.
OBattler
2016-09-05 21:58:28 +02:00
0b1c2c3a6a
Fixed a compile-breaking error in disc_fdi.c.
OBattler
2016-09-05 20:58:30 +02:00
21d813cc34
The side processed by poller is now correctly selected by the FDC's HDSEL parameter rather than the H field of the requested sector ID.
OBattler
2016-09-05 20:53:46 +02:00
9eb7ac74bc
Floppy disk loader now only sets the disk changed flag after the seek.
OBattler
2016-09-05 20:43:12 +02:00
652a602967
Attempt to fix the floppy disk change fix.
OBattler
2016-09-05 20:34:10 +02:00
c081716668
Applied mainline PCem commit: Force re-seek on disc loading - fixes issues with disc change not seen on some models.
OBattler
2016-09-04 23:28:17 +02:00
b7f65469b3
86F track flags handler now gets correct floppy drive type flags.
OBattler
2016-09-04 22:20:32 +02:00
04287af0ee
86F handler now correctly refuses to format at a rate not valid for the disk's hole; 250kbps/300rpm and 300kbps/360rpm 86F images are really treated as equivalent.
OBattler
2016-09-04 19:37:08 +02:00
c74889b219
Removed debug switch from the 32-bit makefile.
OBattler
2016-09-04 16:14:32 +02:00
2c12ba685e
Both .86F and .IMG handlers now handle 40-track media correctly on 80-track drives with double stepping.
OBattler
2016-09-04 03:50:06 +02:00
8ae932fe80
Cleaned up disc_86f.c a bit.
OBattler
2016-09-01 21:50:27 +02:00
ac3efec163
Increased maximum floppy tracks to 43/86.
OBattler
2016-09-01 20:01:34 +02:00
88379ee845
.86F floppy image handler can now format tracks not present in the file by adding them to the file.
OBattler
2016-09-01 18:52:23 +02:00
1ddad56c8c
Added support for the D86F floppy image format I invented that allows things not possible with IMG images; Applied all mainline PCem commits; Settings dialog now says 86Box instead of PCem; Manifest renamed from PCem to 86Box.
OBattler
2016-08-31 22:49:56 +02:00
d860ea79ed
Timer enable switches are 64-bit; Floppy reads/writes now correctly finish at gaps; Sector-based reads/writes no longer cause a delay when signaling finish.
OBattler
2016-08-21 03:42:24 +02:00
a924f37f43
Rewrote the disc sector poller again for simplified code and more accuracy; Floppy formats are now accurately timed and also more accurately implemented; Applied all mainline PCem commits.
OBattler
2016-08-20 03:40:12 +02:00
9b5f030af7
Fixed some compile-breaking errors.
OBattler
2016-08-15 23:40:02 +02:00
e9c97afb0b
Increased the remaining sound timer counters and latches to 64-bit; Applied mainline PCem commit; Intel Flash fixes.
OBattler
2016-08-15 23:33:51 +02:00
3b00a90f28
PIT latches are now 64-bit; Pro Audio Spectrum 16 PIT latches are now 64-bit; Pro Audio Spectrum now works better, patch from TheCollector1995; AD1848 timer counter and latch are now 64-bit.
OBattler
2016-08-15 20:17:30 +02:00
e741f3cbd8
More title-related fixes.
OBattler
2016-08-15 07:15:41 +02:00
83687000a4
Fixed minor bug with the title in win.c.
OBattler
2016-08-15 06:50:44 +02:00