OBattler
c63a41bed0
Moved mouse_emu_init(); to after serial_init(); again, should fix serial mice.
2017-11-10 20:33:15 +01:00
waltje
354b49d354
Re-integrated the Amstrad machines.
2017-11-08 16:30:13 -05:00
waltje
7c67e867c8
Major commit, cleaning a lot of old stuff.
...
IBM.H is gone, video stuff re-organized. Keyboard stuff reorganized.
Machines that have their own video, mouse and/or keyboard now have all this in their machine file.
Fixed and other cleanups here and there.
2017-11-05 02:00:50 -05:00
waltje
f5d4436672
Fixing some warnings (that may have caused bugs in s3_virge and voodoo) and other fixes. Removed Mingw64 makefile.
2017-11-03 03:16:11 -05:00
waltje
b40ea14027
Cleanup, moving stuff out of ibm.h and such. Moved more configuration variables into main. Minor changes for multiplatform.
2017-11-02 02:39:30 -05:00
waltje
0565bf76af
More cleanups. Lowercased all BIOS ROM filenames. Added ISA Cirrus-Logic to the video card table.
2017-11-01 01:51:55 -05:00
waltje
bfe038ded9
Cleanup, mostly network threading madness. Statusbar is now created at hard reset, IF the configuration has changed. Other minor things.
2017-10-29 04:20:59 -05:00
waltje
15538f1441
More portability changes, and some bugfixes found through that.
2017-10-27 20:54:53 -04:00
waltje
4eba751cb0
Interim cleanup with several small (but, as it turned out, fatal) bugs fixed. This commit mostly cleans the mouse code, but a second commit will finalize those changes.
2017-10-26 04:55:00 -04:00
waltje
fd432b8eb1
Minor cleanups dealing with plat, keyboard and mouse.
2017-10-25 05:30:41 -04:00
waltje
5abd25ba58
Cleaning up the "keyboard" module. Also general fixups here and there, and cleanups of earlier cleanups.
2017-10-24 22:10:30 -04:00
OBattler
659e07221d
Commented out excess set_screen_size() logging in pc.c again.
2017-10-25 02:46:56 +02:00
OBattler
45204350b4
IDE hard disks and ATAPI CD-ROMS with DMA support now report as supporting UDMA modes, for the sake of future-proofing things;
...
Changed the CD-ROM capabilities MODE SENSE page a bit;
Applied the S3 Trio and SVGA changes from PCem;
Fixed saving of the video renderer settings;
Fixed DirectDraw full screen;
Fixed crashes on soft reset in full screen.
2017-10-25 02:17:27 +02:00
OBattler
1efbf0463a
Merge branch 'master' of https://github.com/OBattler/86Box
2017-10-24 04:15:32 +02:00
OBattler
2f2785c1c9
Fixed ATAPI PIO multi-phased transfers - fixes the catalog read error in Windows 2000;
...
Fixed the last remaining ATAPI DMA bugs;
Fixed IDE hard disk DMA;
Fixed PIIX bus master DMA read and write;
The Settings dialog now accepts more than 16 heads for IDE hard disks;
Added the IDE READ DMA ALT and WRITE DMA ALT commands;
Reenabled current CHS translation reporting, with bugfixes, hopefully the bugfixes will prevent certain larger hard disks from being detected as 250 MB.
2017-10-24 04:15:05 +02:00
waltje
cfb944e281
Cleaned up the mouse interface, added mouse support to VNC, and split off the VNC keymap to vnc_keymap.c with more documenting comments in that file so we can update it as we learn.
2017-10-23 05:20:30 -04:00
waltje
8890281b58
Minor cleanups. Logfile now has a header. We no longer log the entire config file, use -C (--dumpcfg) to enable that.
2017-10-21 20:29:18 -04:00
OBattler
2be1c21c8a
Fixed the window resizes function in win_video.c, fixes window resizes with non-resizable window (ie. the main window is no longer stuck in 640x480);
...
Fixed the Force 4:3, Enable EGA/(S)VGA overscan, and Scale options;
Fixed a bug regarding register 0 of the SMC FDC37C665 Super I/O chip;
Commented out some excess logging.
2017-10-20 07:00:48 +02:00
waltje
0659f5fe6a
Whoops, and moved the config variables to pc.c.
2017-10-19 21:26:09 -04:00
waltje
1d60a99ea3
Another major change round. VNC moved to top level. More cleanups of global data, all VM processing now handled in pc.c (out of the platforms, yay!), and some video cleanups. This build MAY have issues with window sizes, resizing, and fullscreen will not work until the next build- sorry.
2017-10-19 04:28:59 -04:00
waltje
7f24ba9fe9
Another cleanup run.
2017-10-17 02:01:03 -04:00
waltje
fbd95451d2
Fixes (missed a few spots) for DYNAREC and propagated to Linux.
2017-10-14 22:51:49 -04:00
OBattler
1cfa8e2c4d
The emulator can now be compiled without the recompiler by using the DYNAREC=n parameter with make;
...
The BIOS address is now selectable for the BusLogic ISA SCSI controllers.
2017-10-15 02:43:13 +02:00
waltje
c1abfe2362
Another cleanup. VNC now has fixed blitters, so 8bit cards (vga,mda,herc et al) work. More cleanups with the %ls stuff, cleanup of threads modules, and MOVED THE MAKEFILE to win/.
2017-10-14 20:04:42 -04:00
waltje
3453a66f16
Video (API) cleanup and minor stuff. Oh, and the VNC files :P
2017-10-14 13:38:05 -04:00
OBattler
7581474aab
The AHA/BusLogic reset controllers' BIOS commands now return 0x80 (no device present error) for CD-ROM drives if the device is market as not supporting CD-ROM boot, fixes sending of WRITE (10) to CD-ROM drives followed by hang;
...
The CD-ROM and SCSI disk REQUEST SENSE commands no longer incorrectly set the phase to status;
REQUEST SENSE with non-data direction control byte is now treated as a request to send sense bytes from the command directly to the sense buffer;
SCSI and SLiRP threads now terminate themselves again when out of the while loop;
SCSI and SLiRP mutexes are now closed when the threads terminate themselves;
Fixed a bug causing the "Press F12+F8 or middle mouse button to release" string on the title bar to get corrupt.
2017-10-14 18:52:25 +02:00
OBattler
1d3aa976ec
Fixed the SLiRP and SCSI mutexes.
2017-10-14 08:34:47 +02:00
OBattler
2792da5432
Refactored AHA-154x and BusLogic emulation and made them use a common core;
...
Fixed AHA-154x scatter/gather transfers;
Two-phased SCSI read-direction commands;
Made scsi_bus.c use a dynamically malloc'd buffer instead of a giant fixed-size buffer;
The AHA-154x/BusLogic thread now uses mutexes;
The BusLogic BT-545C is now the BT-545S;
Added the BusLogic BT-542BH;
The AHA-1542CF now again uses the v2.11 BIOS as the CD booting now works;
Applied PCem commit that adds NMI support to the recompiler;
Applied PCem commit that adds the IBM XT 286;
Applied PCem commits that have to do with sound, including the ES1371;
Fixed the NCR5380 output data register;
Moved the SLiRP mutex stuff from win.c to the appropriate network files;
Added sanity checks to everything in win_thread.c.
2017-10-14 07:03:19 +02:00
waltje
e9bd160ad1
More general cleanups and bugfixes.
2017-10-13 02:45:04 -04:00
waltje
724e5c44df
More cleanups to separate main code from platform support and UI support, plus a few bugfixes.
2017-10-12 14:26:28 -04:00
waltje
aa7e85d0d7
Added -? as commandline option.
2017-10-11 18:07:00 -04:00
waltje
c4fa87595d
Commandline options cleanup. Specifying a config file no longer needs the -C.
2017-10-11 17:46:08 -04:00
waltje
c7cb446684
Another round of cleanups - the main code no longer refers to, let alone uses, anything in the platform folder - completely separated!
2017-10-11 05:43:09 -04:00
waltje
5be5a38db6
ROM loading typos fixed, MIDI typo fixed, some warnings fixed. Still messing with the ROM on some PS/2 models not working.
2017-10-10 18:49:34 -04:00
waltje
bd89e66b7b
Separated main code from UI and PLATform support code, plus other generally small fixes here and there.
2017-10-10 03:16:59 -04:00
waltje
efc129eb22
Fixed come crashes (AHA1542, general with SB tips) etc.
2017-10-09 03:19:10 -04:00
waltje
c902d553f1
More cleanups, integrating win.c and multilanguage support, initial UI API cleanup.
2017-10-08 19:15:31 -04:00
OBattler
460d66a058
Readded the call to serial_init() on hard reset, it's needed to initialize the serial ports' timers.
2017-10-08 22:51:43 +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
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
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
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
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
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
73ef17be9e
Another major cleanup - folders for cdrom and floppy, renamed disc to floppy, renamed SuperIO stuff, others as needed.
2017-09-04 01:55:59 -04:00