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 #50 background imageLoading...
Page #50 background image
Chapter
1
I
System Calls
SelectDisk
Select
Disk
Function
Call
OEH
Selects the specified drive
as
the default drive.
Entry Conditions:
AH
=
0EH
DL
=
new
default drive number
('0
=
A,
1
=
B,
etc.)
E
xi t Conditions
:
AL
=
number
of
logical drives
Macro
Definition:
select-disk macro disk
mav dl,dlsk[-641
mov ah,0EH
int
21
H
endm
Example:
The following program selects the drive not currently se-
lected in
a
2-drive system.
func-0EH: current-disk
;see
Function
19H
cmp al,00H ;drive
A
selected?
le select-
b
;yes,
select
B
select-disk
"R"
;THIS
FUNCTION
Imp continue
select-
b:
select-disk
"E"
;THIS
FUNCTION
continue:
48

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