Commit Graph

9 Commits

Author SHA1 Message Date
Jonathan Campbell
4185755d9c Update command line parser for non-switch access, to enable the next
step.
2017-12-25 10:26:28 -08:00
Jonathan Campbell
75ab7debed getopt update: support gnu getopt parsing method with --switch or -abcde
=> -a -b -c -d -e type parsing.
2015-08-23 17:40:13 -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
8002d7c8ef built-in program modification: new exe block clears AL, runs the
callback, then only modifies AH to exit to DOS. meanwhile the Program
object now contains an exit status and a function to write the exit
status to the AL register. This means the builtin DOSBox programs are
now capable of exiting to DOS with a nonzero exit code. All that needs
to be done now is to have the shell and DOS programs built into DOSBox
return proper error codes when things go wrong. Added code to test this
new mechanism by typing "config -errtest" which should return error code
1.
2015-04-09 08:28:32 -07:00
Jonathan Campbell
14334e9f66 debug: if not enough room in environment block, show what's there. 2015-02-15 18:45:14 -08:00
Jonathan Campbell
88b1b44cb4 new "getopt" style parsing (but as a "get argv" type loop). 2015-01-18 02:16:32 -08:00
Jonathan Campbell
ac0927da87 pedantic NULL checking 2014-05-19 02:38:07 -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