Hi! 2-Апр-2004 01:17 [EMAIL PROTECTED] (Aitor Santamarэa Merino) wrote to [EMAIL PROTECTED]:
ASM> Some time ago, it was mentioned that there is a bug in FreeCOM's ASM> implementation of LOADHIGH (or in LH), by which, in my understanding, no ASM> space was left in the commandline between the program name and the parameters. "program/opt" also remains no spaces before "/opt" in PSP. ASM> But my question is: in the commandline found on the PSP when loading ASM> high, if I don't have to assume that those spaces are there, what is the ASM> separating character? Same as if you load low: there may (or may not) be lead and trail spaces, midlle contents (should be) complete copy of orignal command line. ASM> or how am I suppose to find where the parameters ASM> start? You should assume, that parameters (may) start at begin of "command line" field. Without any "separators". ASM> As in my understanding what it's there is a fully qualified program name DOS doesn't places command name into PSP, only rest of command line. Command name (executable name and path) starting from DOS 3.x you may find after regular environment. ASM> (or perhaps exactly the way it was callled), then the ASM> length is variable, I hope it doesn't mean that I have to explicitely ASM> look for the "DISPLAY" pattern... PSP contain at the offser 80h byte with command line length (may be 0, may be 80h), and then following 80h-length field, where this command line is placed. There placed only command line _after_ program name, without program name itself. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel