Commit Graph

58 Commits

Author SHA1 Message Date
Allofich
0d8216741e Remove unused #define statements 2021-08-22 15:25:54 +09:00
Allofich
67ebe980a7 Remove unneeded includes 2021-06-06 04:39:54 +09:00
Allofich
14cb20b266 Remove unnecessary if statements
Deleting a null pointer has no effect
2021-05-30 11:44:00 +09:00
Allofich
9294d450ec SVN r4412
Update copyright.
2021-03-06 21:18:08 +09:00
Allofich
4dc8281873 SVN r4332
Make value operator== const, add some limit checks in PrintConfigfile
and related functions. Unify style a bit more.
2021-02-15 18:44:41 +09:00
Wengier
4879105b7a enhanced serial ports 2020-12-17 05:07:43 -05:00
Wengier
93d15b6872 improve config 2020-10-26 16:55:20 -04:00
Wengier
c01df312fe improve saving config file 2020-10-24 23:32:46 -04:00
Wengier
8ae9e721e6 fix 2020-09-10 12:05:28 -04:00
Wengier
5e7941a708 add show advanced options checkbox in Config UI 2020-09-09 22:52:34 -04:00
rderooy
608a657b50 Update copyright year for dosbox and dosbox-x assets and update FSF address 2020-06-25 08:42:32 +02:00
Jonathan Campbell
7eed242f72 Remove first save state code, correct compiler warning 2020-06-04 13:11:15 -07:00
Wengier
063c5c3883 add new variables 2020-05-23 19:28:04 -04:00
Allofich
b055174d88 Fix useInitializationList warnings 2019-11-20 01:07:38 +09:00
Allofich
038566362e Fix Cppcheck funcArgNamesDifferent warnings 2019-10-21 22:08:39 +09:00
Allofich
62fed560b4 Fix uninitialized variable warnings
Also fix a NULL dereference warning
2019-06-14 22:40:22 +09:00
Allofich
7ed16d6ced SVN r4203
We use the old-style headers in other places and use the functions/types
without std::

Should help compilaion on FreeBSD.
2019-06-08 17:48:26 +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
Allofich
cb0f3b4718 SVN r4079
(Original commit partially already in DOSBox-X. Remaining part added)

Remove some trailing spaces and add some spaces for readability.
2019-05-24 00:16:02 +09:00
Allofich
fd9bf774e8 SVN r3996
Clip to boundaries when there are no suggested values for Prop_int.
2019-05-15 21:44:37 +09:00
Allofich
67850115e9 SVN r3950
Fix being unable to handle double-quoted values in dosbox.conf files.

Extend the fix to include single quoted values.
Fix a common typo: Seperator => Separator
2019-05-11 20:41:40 +09:00
Jonathan Campbell
3a7874a898 config: Allow retrieving property by name 2018-11-23 20:51:35 -08:00
Jonathan Campbell
be16390d18 Add save/load state VM event 2018-07-12 12:15:41 -07:00
Aybe
87a0c61421 Added minimum and maximum to prop_double 2018-06-14 18:07:39 +02:00
Jonathan Campbell
b505f8eed8 VS2017 cancel some pragma warning disable statements 2018-06-06 13:42:16 -07:00
Jonathan Campbell
5437214746 Remove throw clauses to setup.h functions, C++11 has deprecated that and C++17 is said to remove them 2018-05-22 14:37:49 -07:00
Jonathan Campbell
c9ce561bcc Remove PC-98 VM event, no longer needed 2018-02-15 17:56:55 -08:00
Jonathan Campbell
488f8f58b1 Deprecate and invalidate the PC-98 entry VM events, and prepare hardware emulation to set up in PC-98 mode rather than setup in IBM PC mode only to restart in PC-98 mode 2018-02-15 17:40:43 -08:00
Jonathan Campbell
96d070ed24 PC-98 switchover needs two events: begin and end (phase 1 and phase 2).
It turns out the 8254 I/O reregistration needs the CMOS emulation to
shutdown and unregister first before registering at 0x71-0x77/odd to
resolve overlapping I/O ports.
2017-11-13 13:38:41 -08:00
Jonathan Campbell
af92f7d1e2 GOTOPC98 now triggers VM event that future device emulation will use to
jump into PC-98 configuration.
2017-11-12 18:43:12 -08:00
Jonathan Campbell
cad58145db vm event work, updates to properly handle JMP FFFF:0000 "reset" method. 2017-04-01 14:09:51 -07:00
Jonathan Campbell
06cf9094b8 add VM events regarding DOS kernel shutdown by reboot. fix code to
uninitialize DOS kernel properly if you trigger a system reset from
within the DOS system provided by DOSBox-X.
2017-04-01 13:07:54 -07:00
Jonathan Campbell
4139ba2822 configuration section callback when config changes occur.
CPU section now reruns CPU::config_change() when you run config -set
Runtime CPU cycle changes this way is now possible.
2016-04-04 01:14:35 -07:00
Jonathan Campbell
d3377dacb3 BIOS init event (to distinguish between reset and when the BIOS begins
to initalize the system vs CMOS reset vector)
2015-10-20 15:48:38 +00:00
Jonathan Campbell
d5393b33b4 VM event work 2015-10-20 15:04:40 +00:00
Jonathan Campbell
64f0628c1c event pair function, and announce 2015-10-16 09:04:17 +00:00
Jonathan Campbell
eda09bb03c remove non-name addexit function 2015-10-16 08:53:31 +00:00
Jonathan Campbell
d2892fd6cd AddExitFunction useful pairing macro. 2015-10-16 08:03:09 +00:00
Jonathan Campbell
0549c3d259 typedef fix, fix XMS destructor 2015-10-16 07:54:10 +00:00
Jonathan Campbell
1b5a3c1957 remove per-section init/destroy callback function support. 2015-10-16 07:25:43 +00:00
Jonathan Campbell
62fcf17477 more debug, and naming of VM events 2015-10-14 07:14:22 +00:00
Jonathan Campbell
474a70affa update events. fire events. add commentary. 2015-08-21 05:07:02 -07:00
Jonathan Campbell
2b5907c8d6 modify events 2015-08-21 04:34:15 -07:00
Jonathan Campbell
d88dd23e86 vm events 2015-08-19 11:09:35 -07:00
Jonathan Campbell
60948e34f9 Add Exit callback system. Functions are added first-in-last-out order. 2015-08-19 03:07:56 -07:00
Jonathan Campbell
ec7aec4d98 run the source code through dos2unix. it seems to help with applying
patches.
2015-08-16 02:00:24 -07:00
Jonathan Campbell
b9a69b29e1 bugfix/hack: multiple-choice options now initialize as not-modified
despite being initialized by SetValue().
2015-03-30 04:08:38 -07:00
Jonathan Campbell
e142cda74f add code and functionality to print "everything" to the configuration
file.
2015-03-30 03:29:03 -07:00
Jonathan Campbell
d288cff4dc don't automatically write user-config file, but still load it as before.
Section/property values now track if modified in any way. If changed,
they are written to the config file. If not changed, they are not
written. Sections are not written if nothing changed inside them.
2015-03-30 03:21:20 -07:00