From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Tue, 3 Jul 2001 00:52:38 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: v2loadimage doc changes Message-ID: <3B411756.24820.68FBE9@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com Aloha, My go at revised v2loadimage docs: Index: debug.txh =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/debug.txh,v retrieving revision 1.5 diff -c -p -r1.5 debug.txh *** debug.txh 2001/02/27 05:17:23 1.5 --- debug.txh 2001/07/03 04:51:16 *************** the @code{PATH} and does @strong{not} tr *** 430,446 **** drive, directory, and file-name extension; otherwise the call will fail. @var{cmdline} should point to the command-line arguments to be passed to ! the program. The format of the command line should be exactly like the ! command tail DOS passes to programs: the first byte gives the length of ! the command tail, the tail itself begins with the second byte, and the ! tail is terminated by a CR character (decimal code 13); the length byte ! does not include the CR. The command-line arguments should look as if ! they were to be passed to the library function @code{system}. In ! particular, all special characters like wildcards and whitespace should ! be quoted as if they were typed at the DOS prompt. ! ! Note that currently, this function doesn't support command lines longer ! than the DOS 126-character limit. After the function loads the image and sets up the necessary memory segments for it to be able to run, it sets @var{load_state} so that it --- 430,446 ---- drive, directory, and file-name extension; otherwise the call will fail. @var{cmdline} should point to the command-line arguments to be passed to ! the program. A command line up to 126 characters long can be formatted ! exactly like the command tail DOS passes to programs: the first byte gives ! the length of the command tail, the tail itself begins with the second byte, ! and the tail is terminated by a CR character (decimal code 13); the length ! byte does not include the CR. Longer command lines require a different ! format: the first byte is 255, the command-line starting with the second byte ! which is terminated by a NUL character (decimal code 0). Regardless of the ! method used, the command-line arguments should look as if they were to be ! passed to the library function @code{system}. In particular, all special ! characters like wildcards and whitespace should be quoted as if they were ! typed at the DOS prompt. After the function loads the image and sets up the necessary memory segments for it to be able to run, it sets @var{load_state} so that it