Tandy 600 Programmer's Reference Manual page 165

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

Advertisement

INT
57h,
Function 4
-
Write
Sector(s)
Entry:
AH
=
4
(function
code)
AL
=
drive
number
(starting
with
0)
BL=
Media
descriptor byte
CX
=
number
of
sectors
to
write
DX
=
starling logical
sector
number
DS:SI
=
starting
memory
address
FLAGS.C-
verify flag
-
no
verify
t
-
verify after
write
Exit:
AL=
Standard
BIOS
error
code
(See
function
2
for
pertinent error
codes)
INT
57h,
Function
5
-
Get Format
Table Size
Entry:
AH
=
5
(function
code)
Exit:
DX
=
Size
of
format
table
Many
disk controllers require
a
data
table
which
contains formatting
information,
(such
as
sector ID
fields).
This
call
should
return
the
size
of
the
buffer
needed
to
build
this table.
The
specified
amount
of
memory
will
be
allocated,
and
the
address
of this
table
passed
to
the
Format
Disk
function.
INT
57h,
Function 6
-
Initialize
Disk Formatting
Entry:
AH =
6
(function
code)
AL=
Drive
Number
(starting
with 0)
DS:SI
=
Sector
size scratch
buffer
ES:DI
=
Pointer
to
format
parameter
string
Exit:
AL=
Standard
BIOS
error
code
BL=FAT
ID byte
BH
=
Change
disk
flag
=
don't
change
disk
0FFh
=
change
disk
DS:SI
=
Pointer
to
BPB
160

Advertisement

Table of Contents
loading

Table of Contents