EasyManuals Logo

Tandy 1000 Programmer's Reference Guide

Default Icon
251 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #129 background imageLoading...
Page #129 background image
Chapter
1
I
System
Calls
Note that all open files of a process are duplicated in the
child process after an Exec call. This is extremely power-
ful; the parent process has control over the meanings of
stdin, stdout, stderr, stdaux, and stdprn. The parent could,
for example, write
a
series of records to
a
file, open the
file as standard input, open
a
listing file as standard out-
put, and then Exec
a
sort program that takes its input
from stdin and writes to stdout.
Also inherited (or passed from the parent) is an “environ-
ment.” This is a block
of
text strings (less than
32K
bytes total) that convey various configuration parameters.
The format of the environment
is
as follows:
(paragraph boundary)
BYTE ASCIIZ string
2
I
...
BYTE ASCIIZ string n
BYTE of zero
Typically the environment strings have the form:
parameter
=
value
For example, COMMAND.COM might pass
its
execution
search path
as:
PATH
=
A: B1N;B: BASIC LIB
A zero value of the environment address causes the child
process to inherit a copy of the parent’s environment
unchanged.
Entry Conditions:
AH
=
4BH
DS:DX
=
pointer to
ASCIIZ
pathname
ES:BX
=
pointer to parameter
block
AL
=
function
code
OOH
=
load and execute program
03H
=
load program
~
127

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals