Commit Graph

64 Commits

Author SHA1 Message Date
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
waltje
044e3ba8ea Removed resource.h from source files, its included through win.h now. 2017-05-29 22:22:12 -04:00
waltje
1ecf81ee65 Merge branch 'master' of https://github.com/OBattler/86Box 2017-05-29 22:02:54 -04:00
waltje
7ac99180e4 Moved ICONS/ to WIN/ICONS/, updated RC files. Renamed IDS_STRINGnnn to IDS_nnnn, renamed unnamed string IDs to IDS_nnnn, updated resource.h file. Win_settings.c used an unused 2047 string ID, now set to IDS_LANG_ENUS. 2017-05-29 22:01:51 -04:00
OBattler
84595f1c78 Added my name to all the emulator's files that I touched;
Unfinished JEGA emulation based on akm's DOSVAX (AX-emulating fork of DOSBox), not yet hooked into the reset of the emulator.
2017-05-30 03:38:38 +02:00
OBattler
761292e9f1 Added sanity checks to SCSI hard disk emulation and made changes to the dynamic SCSI data buffer allocation, fixes problems when less data is requested for the INQUIRY command than it would actually need. 2017-05-29 06:17:13 +02:00
OBattler
fc2a293536 CD-ROM images are now working correctly again;
Fixed all the reported bugs regarding the Settings dialog;
MIDI out device is now no longer reset to 0 after hard reset;
Removed all vestiges of the old disk activity flash;
The configuration file is no longer saved when it shouldn't be;
Redone the status bar icon updating so it is only done in win.c;
Made sure all variables in ibm.h are extern;
A lot of other bugfixes;
Added Mouse Systems Mouse emulation (patch from TheCollector1995);
Added IBM PS/1 Model 2133 (486) emulation (patch from TheCollector1995);
Tweaked the CPU dynamic recompiler cycle periods - 486SX 33 and 486DX 33 now work;
Increased compatibility with configuration files from before the previous commit.
2017-05-29 01:18:32 +02:00
OBattler
84480b7347 Changed gray monochrome monitor palettes per patch from Basic2004. 2017-05-27 04:47:18 +02:00