Commit Graph

71 Commits

Author SHA1 Message Date
OBattler
21b3b6d51d Moved sound buffer reallocation to resetpchard_init(). 2017-06-22 18:32:53 +02:00
waltje
0170d594e3 Added mouse=none, fixed serial mice, reverted serial driver (again). 2017-06-21 00:42:06 -04:00
OBattler
307c5bf485 Fixed the Settings MIDI mess. 2017-06-20 23:19:00 +02:00
OBattler
4ecbd686b3 Fixed the remove hard disk button graying. 2017-06-20 06:50:11 +02:00
OBattler
7d67f85a1d Fixed the operation of the WIN_DRIVE_DIAGNOSTICS command for ATAPI CD-ROM (it's almost never used but eh);
Properly fixed the CPU manufacturer/type selection bug after changing machine;
The Samspung SPC-4200 now has a PS/2 port.
2017-06-20 06:23:05 +02:00
OBattler
43aaf7dc74 When selecting an AT-class machine with less than 1 MB memory size granularity, memory size is no longer incorrectly multiplied by 1024, fixes the crashes with those machines;
The NEAT, SCAT, and Headland chipsets no longer remap the top 384 kB.
2017-06-19 18:33:36 +02:00
OBattler
1e7668f1db Applied the recent mainline PCem commits (and fixed the Pentium machines);
Ported the Roland MT-32 emulation (using MUNT) from bit's MT32 emulation branch of PCem;
Sanitized the OpenAL give buffer code in openal.c a bit;
NVR path is now specifiable in the Settings dialog;
Added Logitech 3-button serial mouse per protocol description by waltje;
The RTL8029AS and the BT-958D now actually use the PCI IRQ routing;
Fixed BT-958D PCI device initialization on the bus;
PCI IRQ routing now respects the edge/level setting set on ports 4D0/4D1.
2017-06-19 06:46:08 +02:00
waltje
ce09beb9c8 Rest of serial driver - WORK IN PROGRESS - MIGHT BREAK - DONT CHANGE ! 2017-06-16 16:34:39 -04:00
waltje
d2465dd5b3 More changes (stdarg.h in ide.c and name cleanups and %ws to %S in pc.c) 2017-06-16 14:09:57 -04:00
OBattler
843236a28e Merge branch 'master' of https://github.com/OBattler/86Box 2017-06-16 06:44:34 +02:00
OBattler
8061db66fe A lot of cleanaps, got rid of all warnings with -Wall;
The makefile now uses -Wall.
2017-06-16 06:44:11 +02:00
waltje
477491ca00 Resources postfix. 2017-06-15 22:40:59 -04:00
OBattler
464b1a624f Fixed the hard disk controls in the Settings dialog. 2017-06-16 04:14:50 +02:00
OBattler
657f633edb Fixed the bus location controls in the Settings and Add Hard Disk dialogs. 2017-06-16 03:40:18 +02:00
OBattler
e4c08cf594 Network code and pc.c are more platform-independent now. 2017-06-15 06:34:08 +02:00
OBattler
62dea57270 Added the ability to set sound to use STEREO16 format instead of STEREO_FLOAT32 (defaults to STEREO_FLOAT32);
Moved network-related files to their own subdirectory.
2017-06-14 07:21:01 +02:00
waltje
eb02faea83 Merge branch 'master' of https://github.com/OBattler/86Box 2017-06-13 14:06:30 -04:00
waltje
7db0c897a5 Fix for CUE/BIN crash on bad filename, fix for crash-on-exit because of the bad sb_parts count (12 i/o sb_parts.) 2017-06-13 13:45:14 -04:00
OBattler
fdb24c330f find_status_bar_part() now uses the sb_parts variable rather than the hardcoded number 12 for the number of array elements to search. 2017-06-13 16:16:36 +02:00
OBattler
f56bfa5e62 The WM_SIZE handler now forces winsizey to a minimum value of 0. 2017-06-11 23:53:01 +02:00
OBattler
5088f5f123 Fixed Direct3D renderer. 2017-06-11 21:10:11 +02:00
OBattler
cd4eb393f1 Properly reverted all the win.c changes now. 2017-06-11 20:57:34 +02:00
OBattler
6588797139 The Direct3D 9 render is now actually identical to mainline PCem's;
Reverted the win.c changes of earlier today.
2017-06-11 20:49:53 +02:00
OBattler
9caaa19daf More tweaks to window resize handling. 2017-06-11 20:02:40 +02:00
OBattler
c4a6f8dbf4 DirectDraw now attempts fall back to system buffers if initialization has failed, patch from mainline PCem;
The WM_SIZE handler no longer resizes the window if the window is not set to resizable.
2017-06-11 19:21:41 +02:00
OBattler
7b1a96302e If win_doresize is set to 1, the WM_SIZE message handler only handles the status bar's size and does not resize the window again, reduces excess window resizes. 2017-06-11 18:58:36 +02:00
OBattler
c445d970be The emulation is now paused when the window is being resized or when the renderer is changed or when switching to/from full screen. 2017-06-11 18:16:02 +02:00
OBattler
d7917f91ec Moved the endblit();'s around a bit in win.c, hopefully that will stabilize Direct3D 9 a bit. 2017-06-11 18:07:03 +02:00
waltje
eda2a004fd meh 2017-06-08 23:49:08 -04:00
OBattler
cdd855d258 Floppies and CD-ROM's are now reloaded on new config load. 2017-06-08 20:58:32 +02:00
OBattler
c1b7fe015d Flash and NVR file names are now generated from the model's internal name;
NVR masks are now stored in the model struct;
More AX JEGA work, still not hooked anywhere;
Fixed a stray wsprintf() in win.c to the correct _swprintf() instead;
Loading a configuration file from the menu now causes the status bar to be updated.
2017-06-08 00:58:47 +02:00
waltje
b2e2e2f4cc Updated serial port code to be multi-threaded. Interrupts still get lost, gotta dig more. 2017-06-05 05:00:43 -04:00
waltje
e5acdbbeab Forgot one.. 2017-06-05 01:33:23 -04:00
waltje
2ed2e09650 Textual updates, moved thread.h to win/plat_thread.h (and thread.c to new lnx/ folder) to clean that up. 2017-06-05 01:28:34 -04:00
waltje
175019550c Remove all old Win UI stuff no longer used, rename constants for consistency, renumber most of them (see resource.h comments) and move Screenshot to the Action menu. 2017-06-04 22:19:05 -04:00
OBattler
c7f3359010 The MIDI OUT device selection box is now enabled when standalone MPU-401 is enabled in Settings. 2017-06-04 17:34:29 +02:00
OBattler
8ca0565864 The standalone MPU-401 checkbox in Settings is now actually set if standalone MPU-401 is enabled. 2017-06-04 16:22:21 +02:00
OBattler
9c79acd3c8 Fixed the settings dialog, now it shows again. 2017-06-04 15:08:10 +02:00
waltje
cbfa682cb7 Changes, updates and fixes to fixes. Check the new warnings re timer_add(). Using stricter prototypes receiled more stuff.. 2017-06-04 02:19:54 -04:00
OBattler
3c1b0da73f Fixed detection of whether or not standalone MPU-401 should be allowed. 2017-06-04 02:41:16 +02:00
OBattler
bbe2e485a8 The two S3 Virge 375 variants now call the correct initialization procedure;
Fixed the bug that caused only one floppy drive to be listed in Settings.
2017-06-04 02:34:44 +02:00
OBattler
fa174b79b2 Fixed a compile-breaking error;
Added the ability to set each floppy drive to turbo speed which will make it opperate at an effective 8000 kbps @ 300 rpm, for those who want faster but less accurate floppy timings.
2017-06-04 02:14:27 +02:00
OBattler
224368b791 Added a second S3 ViRGE/DX card, this one with VBE 2.0 BIOS;
Added the ability to use a standalone MPU-401 if the selected sound card is not SB16 or AWE32.
2017-06-03 20:32:58 +02:00
OBattler
31a9b25465 The sbTips array is now set to all 0's on initialization so that the functions to create tips no longer mistakenly think the pointers are non-null due to unpredictable data, should get rid of the start/setting changes crashes. 2017-06-03 02:11:36 +02:00
OBattler
ec732312c3 Implemented PCI interrupt controller ports 4D0 and 4D1;
Applied more mainline PCem commits;
Repplied the CPU optimization commit alongside the fix commit.
2017-06-03 00:45:12 +02:00
OBattler
b805a994b9 Fixed the ATi Mach64 and S3 Virge graphics cards;
HDD controller initializer now ignores non-IDE controllers if the specified model has IDE;
The RTL8029AS NIC and BusLogic BT-958D SCSI controller are now APIC-aware.
2017-06-02 02:22:38 +02:00
OBattler
84f53bc3d0 Added the monochrome monitor constrast change option, patch from basic2004. 2017-06-01 17:52:39 +02:00
OBattler
e6adf90e29 Fixed several CD-ROM-related status bar icon bugs;
CD-ROM set to host drive no longer gets reset to empty;
The CD audio thread initializer now ignores the mute status of the drives;
CD-ROM IOCTL audio handler is now more thread-safe;
Fixed CD-ROM image audio;
Added more sanity checks to memory read/write code in 808x.c;
Initial settings are now sane again.
2017-06-01 01:47:54 +02:00
David Hrdlička
872f06657a Disabled multiselect in Settings 2017-05-31 12:00:37 +02:00
David Hrdlička
d90abaa4a9 Fix mouse cursor leaving the rendering area when captured 2017-05-31 09:05:53 +02:00