Commit Graph

22 Commits

Author SHA1 Message Date
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
aa64ff7387 whoops, GetHWND() wasnt a Win32 API function after all. sdl_gui.cpp already provides that function. Never mind 2018-01-29 18:18:11 -08:00
Jonathan Campbell
8998027f34 Windows builds: Add function to retrieve the HWND of the SDL screen window. Using GetHWND() to obtain it is error prone because it is unwise to assume the SDL screen window is the currently active window 2018-01-29 17:59:44 -08:00
Jonathan Campbell
69feebdb00 move update timestamp to its own header 2018-01-28 22:54:11 -08:00
Jonathan Campbell
bd33db0dd7 EGA-only test macro 2018-01-07 02:36:00 -08:00
Jonathan Campbell
2fb7bc7b5c Update the version date, with reminder to keep it up to date 2017-12-28 12:10:53 -08:00
Jonathan Campbell
b0ff107a6d Pull in some UTF-8/UTF-16 code I've written elsewhere. 2017-11-28 15:03:24 -08:00
Jonathan Campbell
32a5f720c3 so many changes are required for PC-9801 emulation it may be better to
begin implementation by first "switching into" the emulation from the
IBM PC emulation DOSBox-X is so good at now. We can work from there.
Eventually instead of checking a flag we can begin using MCH_PC98 and
video mode M_PC98.
2017-09-16 21:41:49 -07:00
Jonathan Campbell
f8e1602f4b long double detect, and some conditional code. 2016-06-12 01:09:57 -07:00
Jonathan Campbell
8ef06dfd2b bugfix: VS 2015 C runtime functions open/lseek/stat
now enforce refusal to handle 2GB or larger files (in
the same way Linux has already been doing for a long
time). It turns out the inability to IMGMOUNT large files
is tied to the use of stat() at one point. Using a #define
to mask stat vs stat64 vs _stati64 and the stat struct
resolves the issue.

bugfix: IMGMOUNT sizes[] array is pre-initialized to zero
now instead of letting random stack garbage determine disk
geometry in cases where -sizes is not given and DOSBox is
unable to autodetect geometry. Added code to fill in the
missing geometry with a reasonable guess. The guess is
reasonable enough to get Windows 98 SE to boot from an 8GB
disk image, at least.
2015-08-25 15:09:52 -07:00
Jonathan Campbell
3232582e8e sorry. LFN patch completely breaks file I/O in DOSBox. reverting. 2015-08-16 03:33:59 -07:00
Jonathan Campbell
41bd80c3bf LFN (Long File Name) support patch
[https://github.com/joncampbell123/dosbox-x/issues/105]
2015-08-16 02:02:30 -07:00
Jonathan Campbell
2047d6ff2d add machine selection for future PC-98 emulation (which will setup the
BIOS to act like PC-98 and the video to act like NEC µPD7220 display
controller). does not work at this time, but is there as a reminder of
future development work on DOSBox-X to widen the base of DOS-based
platforms it can emulate.
2015-08-10 02:54:30 -07:00
Jonathan Campbell
ec382ea9ff add date, update intro text. add code to auto-patch VS2008 config.h. 2015-04-09 03:22:41 -07:00
Jonathan Campbell
5ca6e85053 remove clockdomain code, master clock. add functions that other parts
can start to use to read back a clock value when they need it.
2015-02-04 10:18:20 -08:00
Jonathan Campbell
845c216098 clockdom: add "in progress flag" when executing callbacks. throw an
E_Exit() if someone attempts to delete an event while the event is
executing (which is far better than GLIBC crashing DOSBox with a
double-free error!). Certain demos like PANIC! seem to trigger that
from something else within DOSBox.
2015-02-03 09:51:25 -08:00
Jonathan Campbell
ba3b83b53e more clock domain work, including selection of master clock 2015-02-02 14:03:58 -08:00
Jonathan Campbell
ffbad0b2b3 svn mainline r3878:
Year update.
2015-01-25 21:13:25 -08:00
Jonathan Campbell
f9a5bf9715 cleanup 2014-06-10 18:28:44 -07:00
Jonathan Campbell
810dec9214 more header cleanup 2014-03-28 23:30:14 -07:00
Jonathan Campbell
21614b8c3f toss out my copy, integrate tawoongs's daum branch code into mine,
remove what won't compile, begin work.
2013-10-14 05:07:26 -07:00
root
f331824031 port from svn 2013-07-07 20:39:49 -07:00