Tandy 1000 MS-DOS Reference Manual page 301

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

r -
I
L!
~
I
,_
I
I
'
I
,
n
I
'
..---.,
,
:
I
'
L~
i :
i
I
I
I
n
I
'
~
;
Chapter 13 / The DEBUG Utility
Notes
• Four areas of memory can be affected by the Name command:
DS:5C
File Control Block for filel
DS:6C
File Control Block for file2
DS:80
Count of characters
DS:81
All characters typed
• A File Control Block (FCB) for the first filespec parameter
given to the Name command is set up at DS:5C.
If
you include
filespec2, an FCB is set up for it at DS:6C. DS:80 contains the
number of characters typed after the letter N in the Name
command line. All characters typed after the N are stored
beginning at DS:81.
Examples
N f i 1e 1 . ex e
I
ENTER
I
L
I
ENTER
I
N flle2.dat flle3.dat
I
ENTER
I
G
I
ENTER
I
The Name command sets Filel.exe as the filespec for the Load
command that follows. After Filel.exe is loaded into memory, the
Name command is used again this time to specify the parame-
ters to be used by Filel.exe. When the Go command is executed,
Filel.exe is executed as if
file1 file2.dat fl1e3.dat
had
been entered at the MS-DOS command level.
DEBUG
prog.com [ENTER
I
N param1 param2/c
t
ENTER
I
G
I
ENTER
I
The Go command executes the file in memory as if
PRO G
param1 param2/C
had been typed at the MS-DOS command
level.
281

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents