Date : Tue, 27 Aug 1985 21:47:00-EDT
From : ABN.ISCAMS@USC-ISID.ARPA
Subject: Re: Prgrmr nds HELP!
Hi,
Most of the programs I've seen DID in fact use the FCB down in low memory,
and it appears NOT to be hardware-specific : that's a sacred part of the
CP/M organization and seldom is perverted (except for Turbo Pascal, which
eats all after the 31st byte or so).
Starting beyond the program (e.g. X5 FOOBAR.TXT) is NOT so terrible -
heck, your program knows what its name is, doesn't it? Simpler, just gobble
chars until you hit a space.
But as I recall, if you just grab everything starting at 080H for 128 bytes,
that should be the full "command tail". Starts with command tail length,
maybe a space or two, the command tail itself (consider it a string),
and terminated (as I recall) with a 0.
Look at any of a number of .ASM programs that type, list, display, squeeze,
.. almost anything, and grab that command tail chunk of code.
Regards,
David Kirschbaum
Toad Hall
abn.iscams@usc-isid