Tandy 600 Programmer's Reference Manual page 40

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

FUNCTION
43h
-
Get/Set
File
Attributes
AX:
XXXXXXXX
XXXXXXXX
Entry
BX
CX
DX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
IP:
FLG
CS
DS
SS
ES
AH
=
43h
(function
code)
AL =
Operation
to
perform
CX
=
File
attribute to set
(if
AL
DS:DX =
File
name
=
1)
SP:
BP:
SI:
Exit
Dl:
AX
=
Status
code
CX
=
Current
file
attribute
(if
AL =
0)
XXXXXXXXXXXXXXXXXXX
Function
43h
allows
an
application
to
read
or
change
the
attributes
of
a
file.
On
entry,
AL
specifies
the operation
to
perform.
AL =
causes
the
current
attributes to
be
returned
in
CX.
AL
=
1
causes
the
attributes
in
CX
to
be
assigned
to
the
file.
DX
specifies the
offset
(from the
segment
in
DS)
of
an
ASCIIZ
string
which
gives the
name
of
the
file.
On
return,
if
the carry
flag
is
reset
the operation
succeeded,
if
the carry
flag
is
set,
the
operation
failed
and
the
status
code
is
in
AX.
Error
Returns:
35

Advertisement

Table of Contents
loading

Table of Contents