3180 Commits

Author SHA1 Message Date
Jonathan Campbell
daf15bb9b6 DOS execute: Save SS:SP into the new PSP segment on load (borrow from SVN) 2018-02-11 01:36:54 -08:00
Jonathan Campbell
666dd62ecb DOS EXE loader: If the EXE header specifies a minimum memory size greater than maximum memory size, use the minimum memory size. This fixes Putrefaction!, where the initial SS:IP would otherwise cause DOSBox-X to exit with an error (out of range) 2018-02-11 01:09:49 -08:00
Jonathan Campbell
df3a230b6b VGA DAC: Take a cue from DOSBox-SVN and set read index = write index - 1 on write to port 3C8h. Fixes VGA palette issues with XMAS 92 by The Phony Coders 2018-02-10 15:08:49 -08:00
Jonathan Campbell
e1df6f97c4 INT 10h: VGA DAC read index, too 2018-02-10 12:42:56 -08:00
Jonathan Campbell
b9f7577f88 INT 10h: Make sure VGA DAC currenet index is reset to 0 after modeset (fixes color palette errors in Second Reality) 2018-02-10 12:36:39 -08:00
Jonathan Campbell
cf142387b7 MOUNT option for local folders, to disable caching (if you would rather not run RESCAN every time the host filesystem changes behind DOSBox-X) dosbox-x-windows-20180208-0137 2018-02-08 00:47:27 -08:00
Jonathan Campbell
0d1beebfd1 add mount -ro option, to mount a local folder readonly, update DOS kernel to support returning "write protect" error code 2018-02-08 00:29:25 -08:00
Jonathan Campbell
1668afca41 Fluidsynth MIDI: Closing the MIDI device should include removing the MIXER channel and initializing object pointers to NULL. The Synth mixer callback should check against NULL every call. This fixes segfault if using CONFIG.COM to switch to and from mididevice=synth 2018-02-07 22:33:39 -08:00
Jonathan Campbell
575c6134e7 MPU401 and MIDI: Respond to configuration changes via CONFIG.COM 2018-02-07 22:26:10 -08:00
Jonathan Campbell
d36ea86be0 reminder 2018-02-07 13:25:11 -08:00
Jonathan Campbell
90145df804 Just tested the code against DOSLIB2 FCB functions, now its tested 2018-02-07 12:53:04 -08:00
Jonathan Campbell
3a79e9a9f3 Apply SHIFT-JIS fix to FCB directory enumeration as well 2018-02-07 12:50:59 -08:00
Jonathan Campbell
97aae79a04 Fix local drive and drive cache to maintain ASCII uppercase behavior but not to mangle Shift-JIS in PC-98 mode 2018-02-07 09:14:48 -08:00
Jonathan Campbell
a079479b6d DOS_MakeName: Dont mangle Shift-JIS trailing bytes in PC-98 mode 2018-02-07 08:31:14 -08:00
Jonathan Campbell
42dcc3bc98 replace some toupper() calls with a simplified internal version, to avoid problems with C libraries that obey the host locale and might convert some extended ASCII bytes unexpectedly 2018-02-07 08:07:56 -08:00
Jonathan Campbell
185a7d62bb Windows SDL: Keep menu state updated after WM_COMMAND handling. "Always on top" should mark state now with checkbox. 2018-02-06 08:58:55 -08:00
Jonathan Campbell
fc1167249e Remove dead MSG_Loop() function 2018-02-06 08:47:47 -08:00
Jonathan Campbell
51eb90db66 WM_DROPFILES is broken, remove handling. Keep function. I don't think the drop handle is valid after SDL's message pump has handled it. 2018-02-06 08:45:40 -08:00
Jonathan Campbell
4fb0380526 Merge branch 'develop' of http://github.com/joncampbell123/dosbox-x into develop 2018-02-06 08:39:42 -08:00
Jonathan Campbell
45f76cab00 Windows SDL 1.x: Modify window proc to queue SDLWMSYSEVENT events only for specific Win32 messages that are relevant to DOSBox-X. I suspect user complaints about non-functional menu bar commands may be caused by too much Win32 message chatter in Windows since SDL only has so much queue to hold it. 2018-02-06 08:38:14 -08:00
Jonathan Campbell
f9bb0bcb2e Reminder to self about PC-98 display plane (page flipping) in case I try to "fix" it again 2018-02-06 00:02:26 -08:00
Jonathan Campbell
e9d407990a bump build date and ref dosbox-x-windows-20180205-2339 2018-02-05 23:02:01 -08:00
Jonathan Campbell
0207ed78a5 bump build date and ref 2018-02-05 23:01:50 -08:00
Jonathan Campbell
0d41df1714 GetHWND() does not exist in SDL 2.x builds 2018-02-05 22:56:54 -08:00
Jonathan Campbell
65f3cea2b8 Windows SDL 1.x: Instead of fighting with SDL's message pump for WM_COMMAND, use SDL's SYSWMEVENT messages to handle it. 2018-02-05 22:30:15 -08:00
Jonathan Campbell
497fd9d1b8 The dosbox.conf reference file needs to have MS-DOS line endings, for Windows users 2018-02-05 22:00:38 -08:00
Jonathan Campbell
de91f8b5dc more 2018-02-05 21:56:47 -08:00
Jonathan Campbell
92363dd3b2 more 2018-02-05 21:42:00 -08:00
Jonathan Campbell
07be002ed9 Merge branch 'develop' of https://github.com/joncampbell123/dosbox-x into develop 2018-02-05 21:40:33 -08:00
Jonathan Campbell
d8ead3f102 PC-98: Wait for vsync for page flip is NOT default behavior (as far as I can tell) 2018-02-05 21:40:22 -08:00
Jonathan Campbell
a29606a195 Windows SDL 1.x: In case anything from the initial modeset, on to the end of 3Dfx OpenGL modeset changes it, make sure the OpenGL shade model is GL_SMOOTH. Argh. 2018-02-05 17:33:39 -08:00
Jonathan Campbell
c71e06e419 Replace redundant SetMenu() with a call to DOSBox_SetMenu() 2018-02-05 17:22:00 -08:00
Jonathan Campbell
655eae73aa Windows SDL 1.x: Add dosbox.conf option to control whether the menu appears in the window by default or not. 2018-02-05 17:14:01 -08:00
Jonathan Campbell
be8ad076ef 3Dfx Voodoo OpenGL: OGL width/height report functions need to check to make sure the Voodoo C++ object is initialized. 2018-02-05 17:13:27 -08:00
Jonathan Campbell
873bcbe5cb Cleanup title selection, remove excess crap, and work in the titlebar change to fit it in 2018-02-05 16:28:38 -08:00
Jonathan Campbell
869bc41d38 menu.cpp menu.startup exists so why hide it from Linux? 2018-02-05 16:15:59 -08:00
emendelson
eacb9f8672 Remove needless line from titlebar patch
One line got left over from an earlier version of this patch; it's gone
now.
2018-02-05 16:07:20 -08:00
emendelson
e6f2437dbf Simpler titlebar option from conf file
If conf file has [SDL] item "titlebar=String" then titlebar displays
only "DOSBox-X : String"
2018-02-05 16:07:20 -08:00
Jonathan Campbell
dff6a2dbef Windows: E_Exit() prints to stderr and exits. Most users tend to run DOSBox-X without the command line. Therefore, E_Exit() should display the error message in a message box where the graphical desktop can see it, so the user can understand better what went wrong. 2018-02-05 15:19:39 -08:00
Jonathan Campbell
1a2ec91e34 Windows SDL 1.x: Minimizing the window can screw up 3Dfx OpenGL emulation. Remove minimize button from Windows style if 3Dfx OpenGL emulation is active. 2018-02-05 14:45:24 -08:00
Jonathan Campbell
88292336c7 Windows SDL 1.x: Make SURE to ignore video resize events in 3Dfx OpenGL mode 2018-02-05 14:38:47 -08:00
Jonathan Campbell
18c7a3efeb Windows SDL 1.x: I think that's all the menu items. 2018-02-05 14:33:10 -08:00
Jonathan Campbell
2a41f558a2 Merge branch 'develop' of https://github.com/joncampbell123/dosbox-x into develop 2018-02-05 14:22:23 -08:00
Jonathan Campbell
436c314a16 Windows SDL 1.x: More menu items. 2018-02-05 14:22:16 -08:00
Jonathan Campbell
13400c2b26 Windows SDL 1.x: Entering/leaving 3Dfx OpenGL mode should disable (gray out) menu items so the user knows they are not enabled. 2018-02-05 14:15:28 -08:00
Jonathan Campbell
980cbac2d6 PC-98 GDC: Lets assume the hardware buffers the display plane bit and applies it at vsync, to fix tearline issues in some games 2018-02-05 12:24:03 -08:00
Jonathan Campbell
e15d7a6aa1 Fix PC-98 ascending and descending bit shift. Touhou Project "screen shake" is now rendered correctly 2018-02-05 08:29:45 -08:00
Jonathan Campbell
e18d63545e more 2018-02-05 08:12:58 -08:00
Jonathan Campbell
dcd75df3db better... not quite 2018-02-05 01:50:30 -08:00
Jonathan Campbell
94b6d29bc4 Try to fix EGC problems with TH04, which does resolve at least a little bit of the issue 2018-02-05 01:41:04 -08:00