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 #189 background imageLoading...
Page #189 background image
Chapter
5
I
Device Drivers
The
CLOCK
Device
To
allow for a real time clock board to be integrated into the
system for TIME and DATE, there
is
a special device (deter-
mined by the attribute word) called the CLOCK device. The
CLOCK device defines and performs functions like any other
character device. Most functions will be: “set done bit, reset er-
ror bit, return.”
When
a
read or write to this device occurs, exactly
6
bytes are
transferred. The
first
two bytes are a word, which is the count of
days since 1-1-80. The third byte is minutes, the fourth hours,
the fifth 1/100 seconds, and the sixth seconds. Reading the
CLOCK device gets the date and time; writing to it sets the
date and time.
187

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