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 #122 background imageLoading...
Page #122 background image
Chapter
1
I
System Calls
Duplicate a File Handle
Function Call
45H
Takes an already opened file handle and returns a new handle
that refers
to
the same file at the same position.
Entry Conditions:
AH
=
45H
BX
=
file handle to
duplicate
E
xi t Conditions
:
Carry set:
Carry not set:
Error Returns:
AX
=
6
AX
=
error
code
AX
=
new
file handle
Invalid Handle. The handle passed in
BX
is not cur-
rently open.
Too
many open files. There were no free handles
available in the current process or the internal system
tables were full.
AX
=
4
Example:
DUP equ
45H
mov
bx,
handle
mov
ah,
Dup
int
21
H
120

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