Commit Graph

8 Commits

Author SHA1 Message Date
Jonathan Campbell
9abaaaa195 Shell: When reading command from input keep track of EOF condition. If
EOF while reading, use Idle callback to consume some CPU time and keep
the emulation going. This fixes a known issue where 'CTTY NUL', changing
the console to NUL, causes DOSBox-X to hang and become unresponsive.
While the shell itself is hung still, the emulation continues and the
user can safely exit or restart the emulator without having to use their
OS's facilities to force DOSBox-X to exit. Removed debug messages from
NUL device.
2017-12-25 10:00:02 -08:00
Jonathan Campbell
b1ec45f927 CTTY command 2015-09-20 07:17:15 +00:00
Jonathan Campbell
ffbad0b2b3 svn mainline r3878:
Year update.
2015-01-25 21:13:25 -08:00
Jonathan Campbell
220d306011 SHELL_Run() updated to free the shell object even when an exception is
being thrown. DOS_Shell given a destructor so it can free the batch file
object on shutdown. Both fix about 4-5 reported memory leaks reported by
Valgrind.
2014-05-19 04:32:03 -07:00
Jonathan Campbell
5a569758d7 Added shell INT2FDBG command. Command, when given the /I switch, hooks
INT 2Fh at the head of the call chain. This way, the DOS kernel can see
the Windows init broadcast at the bottom of the chain (before anyone
modifies registers) and the hook can see the resulting chain just before
it's returned back to WIN.COM.
2014-04-25 09:58:58 -07:00
Jonathan Campbell
106c3608f5 whoops, forgot shell.h 2014-04-21 14:54:13 -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