Commit Graph

1726 Commits

Author SHA1 Message Date
OBattler
c84146bb24 Fixed a compile-breaking bug in cdrom_null.c. 2017-10-08 05:16:27 +02:00
OBattler
ade6b6f7b1 Fixed the makefile to compile win_cdrom.ioctl.c instead of cdrom_ioctl.c. 2017-10-08 05:14:07 +02:00
OBattler
05e3dbbb48 Added three NCR5380-based SCSI controllers (in dev branch);
Two-phases SCSI disk write direction commands (needed for the NCR5380);
Renamed cdrom_ioctl.c/h to win_cdrom_ioctl.c/h and moved them to win/;
Moved some CD-ROM and floppy initialization blocks to the appropriate files.
2017-10-08 05:04:38 +02:00
waltje
ffa22a216c More general changes and cleanups, mostly in machine/ now. Also updated SCSI and Network device drivers to use new device init method. 2017-10-07 22:19:11 -04:00
OBattler
7f267bba8b The dummy status bar menu resource now has a dummy separator item - fixes the crash on loading the menu resource. 2017-10-08 00:38:17 +02:00
OBattler
15da0022bb Fixed a few warnings and the FluidSynth device stuff. 2017-10-07 16:45:54 +02:00
waltje
97ab6234d4 Split win_about, win_stbar, merged ddraw stuff, initial cleanup of win_cdrom. 2017-10-07 04:34:57 -04:00
waltje
2b37b7fbfb Major changes to NVR, system initialization (pc.c), and what goes on in the Windows startup (win.c.) Not fully done yet, but good enough for a first commit. 2017-10-07 00:49:53 -04:00
OBattler
95fe21b651 Merge pull request #196 from MoochMcGee/nvidia
PTIMER now fully works, I hope
2017-10-04 03:34:41 +02:00
waltje
9d2d7b1c32 Whoops. 2017-10-03 16:33:09 -04:00
waltje
633adc6b02 Another big change, this time to the NVR. It has been re-done, integrated with the RTC code, and is now ready to be used by other, non-AT-compatible systems, including an ISA card for PC/XT. 2017-10-03 16:28:26 -04:00
Melissa Goad
615a16fcb0 PTIMER now fully works, I hope 2017-10-03 10:49:19 -05:00
OBattler
a1b3c33054 Moved codegen_init() back to after mem_init() in pc.c:pc_init_modules(), fixes the emulator crashing on initialization with the recompiler enabled. 2017-10-03 05:33:31 +02:00
waltje
63c532d940 Even more cleanups. Also renamed hdd/ to disk/ as that makes more sense. Machines with an Internal HDC (usually IDE) can now also select an alternative one instead. 2017-10-02 02:21:38 -04:00
waltje
f6620a45d0 Moved the gameport and joysticks into subfolder. 2017-10-01 17:35:36 -04:00
waltje
a01eb7ef34 Removed USE_NETWORK selectivity. 2017-10-01 16:56:28 -04:00
waltje
2dbf5409c0 Changes to allow for auto- or selectable Internal HD controller, and some other minor changes. 2017-10-01 16:29:27 -04:00
OBattler
f21fc0ca44 Fixed some HDD image bugs. 2017-10-01 20:55:41 +02:00
OBattler
1af4ffc706 Attempt to fix ROM loading for non-motherboard ROM's loaded at segment:8000. 2017-10-01 18:39:20 +02:00
OBattler
5cb4114701 Added the DEV_BUILD variable to the makefile that automatically enables DEV_BRANCH and all the dev options. 2017-10-01 03:43:56 +02:00
waltje
e8899c30c1 Fixed black screens - have to only look at the lower 256K of a ROM's load address. 2017-09-30 19:56:13 -04:00
waltje
9d9f5fdd58 Separation of HDD (disks) and HDC (disk controllers) with major cleanup. IDE remains same until Kotori finishes that part. 2017-09-30 16:58:41 -04:00
waltje
c62e0b923c More ROM BIOS sizes fixed, thanks altheos! 2017-09-29 03:48:46 -04:00
waltje
dbe9001ccc Whoops, forgot this change. 2017-09-28 20:14:51 -04:00
waltje
f446c85076 Added EMABLE_KEYBOARD_LOGGING to the XT keyboards. 2017-09-28 20:10:53 -04:00
waltje
f58afc4801 Fixed IBM-PC/AT ROM BIOS image size. 2017-09-27 14:10:11 -04:00
waltje
7340039367 More cleanups in rom.ch, we now have one set of routines that actually process ROM image files. 2017-09-25 20:49:16 -04:00
waltje
0b50122be4 Updated Makefiles to be slightly faster, and also added automatic dependencies. See AUTODEP variable, and the new "make depends" target. 2017-09-25 20:47:29 -04:00
OBattler
778dbbd4f5 Merge pull request #194 from MoochMcGee/nvidia
Fix PTIMER some more
2017-09-25 19:45:46 +02:00
Melissa Goad
598ca24f9e Fixup 2017-09-25 12:21:50 -05:00
Melissa Goad
a05d17fc9c Fix PTIMER some more 2017-09-25 10:59:41 -05:00
waltje
43b055b5ee Another massive cleanup run. Ibm.h no longer includes system header files. ROM loading simplified, and moved from mem.c to rom.c. Fixes in Makefile. Corrected mamy wrong includes. Removed old junk from days long gone. First phase of new SCAT chipset driver - no longer gives errors in BIOS, but NOT DONE YET. 2017-09-25 04:33:16 -04:00
waltje
637ce66da2 First phase of cleaning up the use of pathnames internally. We now have the --vmpath (short: -P) commandline option to override the 'work dir' relative to which the program will try to find certain files and folders. 2017-09-23 21:12:37 -04:00
waltje
35c25cab74 Undo changes to Samsung machine config, its a problem with SCAT. 2017-09-23 21:09:53 -04:00
waltje
e477cc4026 Fixes to WD1003 (AT MFM controller) to operate correctly with Samsung BIOS and picky OSes. 2017-09-23 21:06:45 -04:00
waltje
ef677295f7 Finalized changing the 286-based systems to have an "internal ide" controller; these machines now have to select the desired HD controller from the menu. The Samsung 286 machine also needs its upper 384K remapped. Added machine_at_scat_remap() to implement thjs for SCAT-based boards. 2017-09-18 22:39:02 -04:00
waltje
aea3b1e34f Removed debug from JSON driver. Updated AT MFM (WD1003) driver to properly operate with Microport SysV/AT. Optionally remove the IDE controllers from teh 286's (#if WALTJE for now) as those machines did not really have IDE, but the WD1003 or an ESDI controller at best. 2017-09-18 03:58:52 -04:00
OBattler
8e68be8e47 Merge pull request #191 from MoochMcGee/nvidia
PTIMER works in the nVidia emulation.
2017-09-16 16:56:23 +02:00
Melissa Goad
d15adad28e PTIMER works 2017-09-16 00:13:11 -05:00
OBattler
c3cfc5abf6 Merge pull request #176 from MoochMcGee/master
Add the RIVA TNT2 models back to the dev branch
2017-09-16 03:16:17 +02:00
OBattler
3332e338c3 Increased hardcoded 256 MB memory limit in config.c from 256 MB to 1024 MB. 2017-09-16 02:54:36 +02:00
OBattler
6fa2d64f8e PS/2 mouse now correctly returns 0xFE on bad command;
The FDC now correctly turns off the drive icon's activity light on finishing the READ SECTOR ID command;
Pentium, i686, and some 486 machines now have realistic (per their documentations) minimum and maximum RAM sizes and RAM granularities.
2017-09-15 17:54:01 +02:00
OBattler
a3b7dc627c Merge branch 'master' of https://github.com/OBattler/86Box 2017-09-15 17:51:00 +02:00
OBattler
b834e12836 Updated ROM set link in README.md. 2017-09-15 17:48:55 +02:00
waltje
c430ea0b0f Adding PCjs's JSON diskette format. Read-only mode ONLY (for installation disks.) 2017-09-13 01:59:55 -04:00
OBattler
9923438508 Fixed the menu option to load a configuration file. 2017-09-11 05:33:06 +02:00
OBattler
576956fb66 Temporary fix for SLiRP - at least it now works, but waltje should look at this and possibly redo it when he feels like it;
The 12 MHz 286 is now correctly 12.5 MHz.
2017-09-08 16:35:14 +02:00
OBattler
40e7a0efab The WIN_DRIVE_DIAGNOSTICS command now behaves correctly (but I'm redoing the IDE emulation anyway);
The IBM PS/2 Model 486 now uses its own rom set ID;
The AHA-154x and Buslogic SCSI controllers no longer stop scanning for mailboxes when in aggressive round robin mode;
PIC interrupt processing fixes - no more IRQ-caused triple faults in Windows 98 SE.
2017-09-08 00:17:49 +02:00
OBattler
17d9c5c463 Fixed PS/2 mouse to PCI (PIIX) wiring, fixes recently introduced PS/2 mouse hangs;
The AT keyboard "write to mouse" command now returns 0xFF (error) when no PS/2 mouse is attached - fixes hangs on AOpen AP53, ASUS P/I-P55T2S, and Tyan Titan Pro/ATX when not using PS/2 mouse;
Fixed the emulation of the SMC FDC37C669 Super I/O chip - serial ports now work correctly on the AOpen AP53 and the ASUS P/I-P55T2S.
2017-09-07 01:52:36 +02:00
waltje
b41b4a0926 Multithreading fixes to avoid hanging of the SCSI controllers (as shown on older Linux.) 2017-09-06 02:13:03 -04:00