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.
 
 
 
 
 
 

41 lines
1.9 KiB

;=========== RAM Disk Parameter Block =============************************
; - D-X Designs Pty Ltd P112 - ** Hardware Dependent **
; ************************
; 1.1 - 28 Aug 01 - Cleaned up for GPL release. HFB
; 1.0 - 10 Jun 96 - Initial Release for P112 derived from YASBEC. HFB
;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
; The B/P BIOS DPB's contain prefix information that provide data on the
; logical format. This table contains only DPB Data on a RAM Disk.
; Format Type Bytes 0 and 1 are configured in the same way as Hard Disks.
; See DPBHD-xx.LIB and DPB.LIB files for descriptions of these two bytes.
; NOTE: No Skew Table needed since RAM Disk Format is locked and not needed
;.....
; P112 RAM Disk Format assuming 32k for a single System bank
DEFB 'D-X Desig','n'+80H ; Id - 10 bytes
DEFB FIXDSK ; Format type byte 0
DEFB SPEED8+SEC128+ALC2K ; Format type byte 1
DEFB -1 ; Skew factor (== Only the +/- sign used)
DEFB 0 ; Starting sector number
DEFB 32 ; Physical # sectors/trk (32=4k per 'track')
DEFB 0 ; Physical tracks/side (No Meaning in HD)
MSIZ EQU 176 ; # of blocks in Drive (by Memory/Block size)
; 2x128k = 80 (160k) - 64 (128k) w/User Bank
; 1x512k = 192 (384k) - 176 (352k) w/User Bank
; 2x512k = 448 (896k) - 432 (864k) w/User Bank
DPBRAM: DEFW 32 ; Sectors/Track
DEFB 4 ; Block Shift Factor (2k per block)
DEFB 0FH ; Block Mask
DEFB 0 ; Extent Mask
DEFW MSIZ-1 ; Disk Size-1 256 kB 512 kB 1024 kB
DEFW 128 ; Dir Max -or- 64 128 256
DEFB 0C0H, 00 ; Alloc 0, 1 80H,0 0C0H,0 0F0H,0
DEFW 0000 ; Check Size
DEFW 0000 ; Trk Offset from beginning of Ram Bank base
;==================== End of RAM Disk DPB ====================