Download Print this page

Commodore Amiga A500 Technical Reference Manual page 143

Hide thumbs Also See for Amiga A500:

Advertisement

LABEL
Syscall68-SIZEOF
S68COM-DOCALL
EQU 0
;
normal case
-
jsr t o speci-
fied Program cntr
S68COM-REMPROC
EQU 1
;
kill process
S68COM-CRPROC
EQU 2
;
create the process, but do
not call anything
;
Disk request structure for raw amiga access to 8086's disk
;
goes directly to
PC BlOS
(via
PC
int
1 3
scheduler):
STRUCTURE DskAbsReq.0
UWORD
dar-FktCode
UWORD
dar-Count
UWORD
dar-Track
UWORD
dar-Sector
UWORD
dar-Drive
UWORD
dar-Head
UWORD
dar-Offset
UWORD
dar-Status
LABEL
DskAbsReqSlZEOF
;
bios function code
(see ibm tech ref)
;
sector count
;
cylinder
#
;
sector
#
;
drive
;
head
;
offset of buffer in
MEMF-BUFFER memory
;
return status
;
Definition o f an
AMlGA
disk partition. returned
by
info function:
STRUCTURE DskPartition,O
UWORD
dp-Next
UWORD
dp-BaseCyl
UWORD
dp-EndCyl
UWORD
dp-DrvNum
UWORD
dp-NumHeads
UWORD
dp-NumSecs
;
8088 ptr t o next part.
0
-> end of list
;
cyl
#
where partition
starts
;
last cyclinder
#
of this
partition
;
DOS drive number (80H.
8 1 H.
...)
;
number of heads for this
drive
;
number of sectors per
track for this drive
LABEL
DskPartitio~SIZEOF
;
Disk request structure for higher level Amiga disk request to 8086:
STRUCTURE AmigaDskReq.0
UWORD
adr-Fndn
;
function code (see below)
UWORD
adr-Part
;
partition number ( 0
is
first partition)
ULONG
adr-Offset
;
byte offset into partition
ULONG
adr-Count
;number of bytes t o
transfer

Advertisement

loading

This manual is also suitable for:

Amiga a2000