You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

146 lines
5.4 KiB

;==========================================================================
; DPB-H.LIB
; This file contains Non-conflicting 3.5" and 5.25" Diskette formats for
; use in Auto-selecting disks during the logon sequence. The hardware MUST
; support the use of these so-called "Hi-Density" formats with a higher 500
; kbps (same as used on 8" double-density disks) clock speeds. Some
; computers such as the YASBEC and AMPRO Little Boards cannot operate with
; these rates without hardware modifications and this file should not be
; included. See DPB.LIB for definitions of Format Type Bytes.
;.....
; Retro-Brew Board with RomWBW HBIOS (IBM/MS-DOS Compatible) 3.5" HD Disk
; This format is: 18-512 byte Sectors/Track, Skew=2, 500 kbps, 300 rpm.
DEFB 'RetroB 3.','5'+80H ; Id - 10 bytes
DEFB DSK3+DD+TSBTL ; Format type byte 0
DEFB SPEED8+SEC512+ALC2K ; Format type byte 1
DEFB -2 ; Skew factor
DEFB 1 ; Starting sector number
DEFB 18 ; Physical sectors per track
DEFB 80 ; Physical tracks/side
DEFW 72 ; Sectors per track
DEFB 4 ; Block shift factor
DEFB 15 ; Block mask
DEFB 0 ; Extent mask
DEFW 714 ; Disk size-1
DEFW 127 ; Directory max
DEFB 0C0H, 0 ; Alloc 0, 1
DEFW 32 ; Check size
DEFW 1 ; 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,10,11,12,13,14,15,16 ; Physical sector
; 16 17 18 19 20 21 22 23 ; Logical Sector
DEFB 17,18,00,00,00,00,00,00 ; Physical sector
; 24 25 ; Logical Sector
DEFB 00,00 ; Physical sector
ENDIF
;--- The following are NOT included in Boot Disk Images to save space.---
IF NOT MOVCPM
;.....
; HD Bower/Cotrill 3.5" Format
; The format is: 11-1k Sectors/Track, Skew of 2 (linear R/W), 500kbps, 300rpm.
; A Sector offset of 64 (40H) is used to differentiate from other formats.
; NOTE: Parenthetical Numbers are for 1.60MB format.
DEFB 'BP 3.5" H','D'+80H ; Id - 10 bytes
DEFB DSK3+DD+TSBTL ; Format type byte 0
DEFB SPEED8+SEC1K+ALC2K ; Format type byte 1
DEFB -2 ; Skew factor
DEFB 65 ; Starting sector number
DEFB 11 ; Physical sectors per track (10)
DEFB 80 ; Physical tracks/side
DEFW 88 ; Sectors per track (80)
DEFB 4 ; Block shift factor
DEFB 15 ; Block mask
DEFB 0 ; Extent mask
DEFW 873 ; Disk size-1 (794)
DEFW 255 ; Directory max
DEFB 0F0H, 0 ; Alloc 0, 1
DEFW 64 ; Check size
DEFW 1 ; 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 65,70,66,71,67,72,68,73 ; Physical sector
; 08 09 10 11 12 13 14 15 ; Logical Sector
DEFB 69,74,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/Cotrill 5.25" High-Density Format
; The format is: 9-1k Sectors/Track, Skew of 2 (linear R/W), 500kbps, 360rpm.
; A Sector offset of 48 (30H) is used to differentiate from other formats.
DEFB 'BP 5.25"H','D'+80H ; Id - 10 bytes
DEFB DSK5+DD+TSBTL ; Format type byte 0
DEFB SPEED8+SEC1K+ALC2K ; Format type byte 1
DEFB -2 ; Skew factor
DEFB 49 ; Starting sector number
DEFB 9 ; Physical sectors per track
DEFB 80 ; Physical tracks/side
DEFW 72 ; Sectors per track
DEFB 4 ; Block shift factor
DEFB 15 ; Block mask
DEFB 0 ; Extent mask
DEFW 710 ; 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 49,54,50,55,51,56,52,57 ; Physical sector
; 08 09 10 11 12 13 14 15 ; Logical Sector
DEFB 53,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
;.....
; IBM/MS-DOS Formatted 5.25" HD Disks
; This format is: 15-512 byte Sectors/Track, No Skew, 500 kbps, 360 rpm.
DEFB 'IBM-HD 5"',' '+80H ; Id - 10 bytes
DEFB DSK5+DD+TSBTL ; Format type byte 0
DEFB SPEED8+SEC512+ALC2K ; Format type byte 1
DEFB -1 ; Skew factor
DEFB 1 ; Starting sector number
DEFB 15 ; Physical sectors per track
DEFB 80 ; Physical tracks/side
DEFW 60 ; Sectors per track
DEFB 4 ; Block shift factor
DEFB 15 ; Block mask
DEFB 0 ; Extent mask
DEFW 599 ; Disk size-1
DEFW 255 ; Directory max
DEFB 0F0H, 0 ; Alloc 0, 1
DEFW 64 ; Check size
DEFW 0 ; 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,10,11,12,13,14,15,16 ; Physical sector
; 16 17 18 19 20 21 22 23 ; Logical Sector
DEFB 17,18,00,00,00,00,00,00 ; Physical sector
; 24 25 ; Logical Sector
DEFB 00,00 ; Physical sector
ENDIF
ENDIF ;~Movcpm
;======================= End of DPB-H.LIB ===========================