Commit Graph

51 Commits

Author SHA1 Message Date
Allofich
038566362e Fix Cppcheck funcArgNamesDifferent warnings 2019-10-21 22:08:39 +09:00
Jonathan Campbell
15145bbbe1 Same user-defined literals, as functions for variable conversion 2019-07-28 14:21:51 -07:00
Jonathan Campbell
baa9ce9269 Add a few more 2019-07-28 10:54:15 -07:00
Jonathan Campbell
2ed178b4da Make use of C++11 user defined literals to help with byte units in development going forward 2019-07-28 10:35:42 -07:00
Jonathan Campbell
022c58d14d FM Towns: The previous code is not clean, redo it better. machine=fm_towns should start as if machine=vgaonly and switch to MCH_FM_TOWNS on BOOT, so prepare for that 2019-07-27 01:49:33 -07:00
Jonathan Campbell
ebb804da4b Fill out FM Towns stub by tying it into VGA emulation for now, with reminder to self that it is a hack/stub to be removed later 2019-07-26 12:23:50 -07:00
Allofich
8598f90386 Remove undefined function declarations 2019-06-15 20:13:21 +09:00
Allofich
d84a812743 SVN r4183 (second half)
Update year
2019-06-03 23:01:41 +09:00
Allofich
05619dd023 SVN r4183 (first half)
Update address of FSF
2019-06-03 22:54:46 +09:00
Jonathan Campbell
7109f86ad7 argh, fine 2019-04-09 18:34:34 -07:00
Jonathan Campbell
4e403719fc 'cleanup' 2019-04-09 18:19:11 -07:00
Jonathan Campbell
d1390406d7 bring in iconv header 2019-04-09 17:29:47 -07:00
Jonathan Campbell
bd078b8a0e iconv work 2019-04-09 17:24:23 -07:00
Jonathan Campbell
e2defeaf9e Cool idea: "boothax" modes for the BOOT command. --boothax msdos tells CPU core INT emulation to intercept specific INT 21h calls to track the guest MS-DOS OS list of lists and MCB chain locations so the debugger can allow the DOS MCBS command to enumerate MCB blocks of the guest OS 2019-04-04 07:40:29 -07:00
Jonathan Campbell
6c80d61a38 I was wrong, ARMv7 hardware does not have 80-bit long double. Long double == double 2019-02-04 15:07:14 -08:00
Jonathan Campbell
ed262d3db1 Mac OS X SDL2: Ignore touchscreen events on OS X. SDL2 sees the touchpad on Macbooks as a touchscreen, which makes the UI of DOSBox-X unusable when SDL2 is sending both touchpad touch events AND mouse events at the same time 2018-12-22 21:20:22 -08:00
Jonathan Campbell
1feabf932c Add sanity check to dosbox.h to #error out if C_HEAVY_DEBUG is set without C_DEBUG 2018-11-30 10:21:02 -08:00
Jonathan Campbell
253a94ec95 add machine=mda, so far an alias of machine=hercules 2018-08-29 17:33:04 -07:00
Jonathan Campbell
f73b8cb4d3 Revert "Begin MCGA setup, using MCH_CGA as a jumpoff point"
This reverts commit e7da585fee.
2018-08-23 23:01:35 -07:00
Jonathan Campbell
c22fcd094f Revert "Fix IS_MCGA_ARCH, update INT 10h AH=1Ah to report DCC MCGA if machine=mcga"
This reverts commit 60d8fcbaf4.
2018-08-23 23:01:18 -07:00
Jonathan Campbell
60d8fcbaf4 Fix IS_MCGA_ARCH, update INT 10h AH=1Ah to report DCC MCGA if machine=mcga 2018-08-23 17:17:27 -07:00
Jonathan Campbell
e7da585fee Begin MCGA setup, using MCH_CGA as a jumpoff point 2018-08-23 16:59:54 -07:00
Jonathan Campbell
b5790648f5 add machine=mcga, though at this point, is not functional 2018-08-23 15:31:02 -07:00
Jonathan Campbell
703ddc34f1 remove 8254 PIT clock domain, unused 2018-06-21 07:46:24 -07:00
Jonathan Campbell
ed2175716b remove unused 8250 UART clock domain 2018-06-21 07:42:53 -07:00
Jonathan Campbell
a8fea61b6a add GCC deprecated macro, and deprecate some variables 2018-06-21 06:29:32 -07:00
Jonathan Campbell
f00bf2726e CPU cycles count typedef 2018-05-25 19:09:15 -07:00
Jonathan Campbell
a7e9dae979 Stub for FM Towns (for external branches to build on): machine type, video mode, machine=fm_towns configuration option 2018-05-22 09:25:09 -07:00
Jonathan Campbell
d3c4633783 Move build_timestamp.h out of a globally visible header. Include it only where it is needed, to reduce the number of CPP files to recompile whenever it is updated 2018-05-03 18:35:54 -07: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
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