Files
RomWBW/Source/BPBIOS/dpb-8.lib
2015-03-23 01:50:45 +00:00

106 lines
3.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
;==========================================================================
; DPB-8.LIB
; This file contains Non-conflicting 8" Diskette formats for use in Auto-
; selecting disks during the logon sequence. The hardware MUST support the
; use of 8" (or so-called "Hi-Density") formats with the higher 500 kbps
; clock speeds with the exception of the IBM 3740 Single-Density format.
; Some computers such as the YASBEC and AMPRO Little Boards cannot operate
; at the 500 kbps rates and this file should not be included.
; See DPB.LIB for definitions of Format Type Bytes.
;.....
; IBM 3740 8-inch Single Density Disk Format
DEFB 'IBM 3740 ',' '+80H ; Id - 10 bytes
DEFB DSK8+SS+SD ; Format type byte 0
DEFB SPEED8+SEC128+ALC1K ; Format type byte 1
DEFB 6 ; Skew factor
DEFB 1 ; Starting sector number
DEFB 26 ; Physical sectors per track
DEFB 77 ; Physical tracks/side
DEFW 26 ; Sectors per track
DEFB 3 ; Block shift factor
DEFB 7 ; Block mask
DEFB 0 ; Extent mask
DEFW 242 ; Disk size-1
DEFW 63 ; Directory max
DEFB 0C0H, 0 ; Alloc 0,1
DEFW 16 ; Check size
DEFW 2 ; Track offset
IF NOT CALCSK
; NOTE: Sectors are Physical size, Not 128 Byte Record Size
; 00 01 02 03 04 05 06 07 ; Logical Sector
DEFB 01,07,13,19,25,05,11,17 ; Physical sector
; 08 09 10 11 12 13 14 15 ; Logical Sector
DEFB 23,03,09,15,21,02,08,14 ; Physical sector
; 16 17 18 19 20 21 22 23 ; Logical Sector
DEFB 20,26,06,12,18,24,04,10 ; Physical sector
; 24 25 ; Logical Sector
DEFB 16,22 ; Physical sector
ENDIF
;.....
; Bower 8" 1k-sctrs, SS/DD
DEFB 'Bower 1kS','S'+80H ; Id - 10 bytes
DEFB DSK8+SS+DD ; Format type byte 0
DEFB SPEED8+SEC1K+ALC2K ; Format type byte 1
DEFB -2 ; Skew factor
DEFB 1 ; Starting sector number
DEFB 9 ; Physical sectors per track
DEFB 77 ; Physical tracks/side
DEFW 72 ; Sectors per track
DEFB 4 ; Block shift factor
DEFB 15 ; Block mask
DEFB 0 ; Extent mask
DEFW 336 ; Disk size-1
DEFW 255 ; Directory max
DEFB 0F0H, 0 ; Alloc 0,1
DEFW 64 ; Check size
DEFW 2 ; Track offset
IF NOT CALCSK
; NOTE: Sectors are Physical size, Not 128 Byte Record Size
; 00 01 02 03 04 05 06 07 ; Logical Sector
DEFB 01,02,03,04,05,06,07,08 ; Physical sector
; 08 09 10 11 12 13 14 15 ; Logical Sector
DEFB 09,00,00,00,00,00,00,00 ; Physical sector
; 16 17 18 19 20 21 22 23 ; Logical Sector
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
; 24 25 ; Logical Sector
DEFB 00,00 ; Physical sector
ENDIF
;.....
; Bower 1024-byte sctrs, DS/DD
DEFB 'Bower DSD','D'+80H ; Id - 10 bytes
DEFB DSK8+TSBTL+DD ; Format type byte 0
DEFB SPEED8+SEC1K+ALC2K ; Format type byte 1
DEFB -2 ; Skew factor
DEFB 17 ; Starting sector number
DEFB 9 ; Physical sectors per track
DEFB 77 ; Physical tracks/side
DEFW 72 ; Sectors per track
DEFB 4 ; Block shift factor
DEFB 15 ; Block mask
DEFB 0 ; Extent mask
DEFW 683 ; Disk size-1
DEFW 255 ; Directory max
DEFB 0F0H, 0 ; Alloc 0,1
DEFW 64 ; Check size
DEFW 2 ; Track offset
IF NOT CALCSK
; NOTE: Sectors are Physical size, Not 128 Byte Record Size
; 00 01 02 03 04 05 06 07 ; Logical Sector
DEFB 17,18,19,20,21,22,23,24 ; Physical sector
; 08 09 10 11 12 13 14 15 ; Logical Sector
DEFB 25,00,00,00,00,00,00,00 ; Physical sector
; 16 17 18 19 20 21 22 23 ; Logical Sector
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
; 24 25 ; Logical Sector
DEFB 00,00 ; Physical sector
ENDIF
;======================= End of DPB-8.LIB ===========================