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 #124 background imageLoading...
Page #124 background image
Chapter
1
I
System
Calls
CurrentDir
Return Text
of
Current Directory
Function Call
47H
Returns the current directory for
a
particular drive. The direc-
tory
is
root-relative and does not contain the drive specifier or
leading path separator.
Entry Conditions:
AH
=
47H
DS:SI
=
pointer
to
64-byte
memory
area
to
receive directory
DL
=
drive
(0
=
default,
1
=
A,
2
=
B,
etc.)
Exit Conditions:
Carry set:
Carry not set:
Error Returns:
AX
=
15
AX
=
error code
DS:DI
=
pointer to 64-byte area containing directory
Invalid drive. The drive specified in DL was invalid.
Example:
CurrentDir
equ
47H
Ids
51,
area
mov
dl,
drive
mow
ah,
CurrentDir
int
21
H
122

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