Commit Graph

31 Commits

Author SHA1 Message Date
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
Jonathan Campbell
8c048d55e5 svn mainline:
------------------------------------------------------------------------
r3890 | qbix79 | 2015-01-09 07:00:18 -0800 (Fri, 09 Jan 2015) | 1 line

Initialise all fields when constructing, fixes unintentional value reuse
with Prop_multival.
------------------------------------------------------------------------
2015-01-25 22:00:00 -08:00
Jonathan Campbell
01ebbbeea9 resurrect the "add double" method of the setup code 2014-08-30 13:40:16 -07:00
Jonathan Campbell
95f524b928 multivalue properties verify section pointer before freeing.
AUTOEXEC section now deletes autoexec object on shutdown, fixing another
memory leak.
2014-04-29 23:40:08 -07:00
Jonathan Campbell
6534e27817 more fiddling. there's this persistent memory leak from a std::string in
the Section_line object I'm trying to get rid of.
2014-04-22 21:38:57 -07:00
Jonathan Campbell
596ddebb5d hm, make destructors virtual 2014-04-22 20:59:21 -07:00
Jonathan Campbell
6445feb63d change dosbox property object to store help strings itself instead of
through MSG_Add/MSG_Get (what were they thinking?). convert redundant
IDE section code to a loop.
2013-11-02 12:57:16 -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