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 #18 background imageLoading...
Page #18 background image
Chawter
1
I
Svstem
Calls
CONTROL-C
Exit
Address
Interrupt
23H
If
the
display
tor
in
user types
CONTROL-C
during keyboard input
or
output, control transfers
to
the Interrupt 23H vec-
the interrupt table. This address is copied into the
Program Segment Prefix from the Interrupt 23H vector
when the segment is created. You can set this address us-
ing Function Call 25H.
If the CONTROL-C routine saves all registers, it can end
with an IRET instruction (return from interrupt)
to
con-
tinue program execution. When the interrupt occurs, all
registers are set
to
the value they had when the original
call
to
MS-DOS was made. There are no restrictions on
what
a
CONTROL-C handler can do (including MS-DOS
function calls) as long as the registers are unchanged if
IRET is used.
If Function 09H
or
OAH (Display String or Buffered Key-
board Input) is interrupted by CONTROL-C, the
3
byte
sequence 03H-0DH-0AH (ETX-CR-LF) is sent
to
the dis-
play and the function resumes at the beginning
of
the
next line.
If the program creates a new segment and loads
a
second
program that changes the CONTROL-C address, termina-
tion of the second program restores the CONTROL-C ad-
dress
to
the value it had before execution of the second
program.
16

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