Commit Graph

42 Commits

Author SHA1 Message Date
basic2004
ccea4a189a Added VGA grayscale and choose screen type
VGA render can transform to grayscale and applying color.
Green, amber and white.
2017-07-17 23:04:50 +09:00
TC1995
9dd40982d4 Acculogic XT-IDE adapter is no longer specific to PS/2.
Small long time S3 Trio64 fixes.
Added Ctrl-Alt-Esc shortcut, makes it easier to enter CMOS setup in some machines.
2017-07-16 22:07:06 +02:00
OBattler
cc63eafce0 Different approach to CM-32L emulation, fixes it and MT-32. 2017-07-15 20:07:38 +02:00
OBattler
0feb1c33bf Fixed some compile-breaking errors. 2017-07-15 18:45:30 +02:00
basic2004
1ffa327572 Fixed change fullscreen with monochrome monitor
Fixed 'force changed RGB color monitor' with monochrome monitor mode when changing to fullscreen and leaving,
and fixed this problem when changing renderer to Direct3D too.
2017-07-12 16:46:51 +09: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
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
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
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
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
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
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
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
a36720f174 Large changes to configuration files again (the old ones might break, be careful);
Applied the mainline PCem slight CPU emulation speedup commit;
Added emulation of removable SCSI hard disks;
CD-ROM image handler now uses C FILE's (with the 64-bit size calls) instead of C++ iostreams, ISO images bigger than 2 GB should work properly again;
Split RLL/ESDI and XT IDE disks to their own bus types;
Turned status bar pane meaning and hard disks and CD-ROM BUS numbers to #define's;
Other miscellaneous cleanups.
2017-05-27 03:53:32 +02:00
waltje
77430348fc Another network cleaning (MAC address madness, BIOS stuff), WIN platform cleanup, Makefile[.local] cleanup. 2017-05-24 00:32:08 -04:00
OBattler
e8d047d0d0 The icons and status bar handling code for the SCSI removable hard disks is now there. 2017-05-21 03:52:18 +02:00
OBattler
c669a05662 Fixed Host MIDI Out Device ID saving;
Did the UI-related preparations for adding removable hard disks.
2017-05-18 21:51:11 +02:00
OBattler
69292b62ae More such WindowLong fixes in win.c;
Fixed CD-ROM Bus setting in Settings.
2017-05-18 21:15:37 +02:00
OBattler
8d1ef28e86 Changed GetWindowLong and SetWindowLong to GetWindowLongPtr and SetWindowLongPtr, this should allow the emulator to compile for Win64 again. 2017-05-18 21:07:45 +02:00
waltje
a4a69f71eb The, uhh, missing stufff......... 2017-05-18 14:07:53 -04:00