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 #138 background imageLoading...
Page #138 background image
Chapter
1
I
System
Calls
FileTimes
Get
or
Set a File’s Date
and Time
Function Call
57H
Returns
or
sets the date and time
of
last
write
for
a
file
handle. The date and time are not recorded until the file
is closed.
Entry Conditions:
AH
=
57H
AL
=
function
code
QQH
=
get date and time
Q1H
=
set date and time
BX
=
file handle
CX
=
time
to
be set (if
AL
=
01H)
DX
=
date to be set (if
AL
=
01H)
E
xi t Conditions:
Carry set:
Carry not set:
AX
=
error
code
If
AL
=
00
H
on entry:
CX
=
time
of
last write
DX
=
date of last write
Error
Returns:
AX
=
1
AX
=
6
Invalid function. The function passed in
AL
was not
0
or
1.
Invalid handle. The handle passed in
BX
was not currently
open.
Example:
FileTimes
equ
57H
mov
al,
function
mov
mov
cx, time
mov
dx,
date
mov
ah, FileTimes
int 21
H
bx,handle ifal
=
1
thenthenext2are
;mandatory
136

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