EasyManua.ls Logo

Commodore Amiga A500 - Page 143

Commodore Amiga A500
283 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LABEL Syscall68-SIZEOF
S68COM-DOCALL EQU
0
;
normal case
-
jsr to 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
13
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 of 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 to next part.
0
->
end of list
;
cyl
#
where partition
starts
;
last cyclinder
#
of this
partition
;
DOS drive number (80H.
81 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 to
transfer

Related product manuals