home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
PACKET
/
RLI120.ARK
/
BIOSDPB.INC
< prev
next >
Wrap
Text File
|
1986-08-12
|
2KB
|
85 lines
; BIOSDPB.INC - 3/9/86 - Disk parameter blocks,
; sector weave tables, disk parameter headers.
; Single density 5", 40 tracks
if dsize eq five
dpb0: dw spt ; sec/track
db 3 ; bls
db 7 ; blm
db 0 ; exm
dw 82 ; size-1
dw 31 ; dirmax
db 128 ; alloc0
db 0 ; alloc1
dw 8 ; check size
dw 3 ; offset
endif
; Single density 5", 80 tracks
if dsize eq bfive
dpb0: dw spt ; sec/track
db 3 ; bls
db 7 ; blm
db 0 ; exm
dw 179 ; size-1
dw 63 ; dirmax
db 192 ; alloc0
db 0 ; alloc1
dw 16 ; check size
dw 3 ; offset
endif
; Single density 8"
if dsize eq eight
dpb0: dw spt ; sec/track
db 3 ; bls
db 7 ; blm
db 0 ; exm
dw 242 ; size-1
dw 63 ; dirmax
db 192 ; alloc0
db 0 ; alloc1
dw 16 ; check size
dw 2 ; offset
endif
; Sector weave table for 5" single density.
if (dsize eq five) or (dsize eq bfive)
xlt0: db 1,6,11,16,3,8,13,18
db 5,10,15,2,7,12,17,4,9,14
endif
; Sector weave table for 8" single density.
if dsize eq eight
xlt0: db 1,7,13,19,25,5,11,17,23,3,9,15,21
db 2,8,14,20,26,6,12,18,24,4,10,16,22
endif
dpe0: dw xlt0,0
dw 0,0
dw dirbuf,dpb0
dw csv0,alv0
if mxdrv gt 1
dpe1: dw xlt0,0
dw 0,0
dw dirbuf,dpb0
dw csv1,alv1
endif
if mxdrv gt 2
dpe2: dw xlt0,0
dw 0,0
dw dirbuf,dpb0
dw csv2,alv2
endif
if mxdrv gt 3
dpe3: dw xlt0,0
dw 0,0
dw dirbuf,dpb0
dw csv3,alv3
endif