'DSKDRIVE foreign disk driver - using RSX (85/02/02)' 3 Feb 85 08:30 Z80ASM 1.10 Page 12 'default IBM CPM86 DSDD on Kaypro 4' 875 ; *** This area is accessed/altered by support programs *** 04B3' 876 info: 877 ; The "info" area has been organized to fit into exactly 128 bytes 878 ; for convenience in auxiliary programs that reconfigure this. 879 ; 880 ; The CPM standard Disk Parameter Block, extended 881 ; Modification to this structure changes the driver 882 ; 04B3' 883 dpblk: ; Different values for: KPRO4 KPRO2 HP125 TVTS802 884 ; CPM sectors/physical track 04B3' 0020 885 cpmspt: dw 32; 40 40 32 36 886 ; log2(sectors/cpmallocation block) 04B5' 04 887 bsh: db 4; 4 3 3 4 888 ; blm, exm calculated from bsh 04B6' 0F 01 889 db 0FH,01H; 0Fh,1 0Fh,1 7,0 0Fh,0 890 ; total blocks on drive 04B8' 009D 891 dsm: dw 157; 196 192 251 170 892 ; directory entries - 1 04BA' 003F 893 drm: dw 63; 63 63 127 63 894 ; directory/other blocks pre-allocated 04BC' 80 00 895 db 80H,00H; 0C0h,0 0F0h,0 0F0h,0 080h,0 896 ; cks=(drm+1)/4 (or 0 for fixed) 04BE' 0010 897 cks: dw 16; 16 16 32 16 898 ; reserved tracks 04C0' 0001 899 off: dw 1; 1 1 3 4 900 ; Non-CPM. 1,2,4,8 sectors/phys record 04C2' 04 901 hstblk: db 4; 4 4 2 2 902 ; 903 ; The sector skew translation table. Room for 10k/track 04C3' 00 01 02 03 904 sxltbl: db 0, 1, 2, 3, 4, 5, 6, 7 04CB' 08 09 0A 0B 905 db 8, 9,10,11,12,13,14,15 04D3' 10 11 12 13 906 db 16,17,18,19,20,21,22,23 04DB' 18 19 1A 1B 907 db 24,25,26,27,28,29,30,31 04E3' 20 21 22 23 908 db 32,33,34,35,36,37,38,39 04EB' 28 29 2A 2B 909 db 40,41,42,43,44,45,46,47 04F3' 30 31 32 33 910 db 48,49,50,51,52,53,54,55 04FB' 38 39 3A 3B 911 db 56,57,58,59,60,61,62,63 0503' 40 41 42 43 912 db 64,65,66,67,68,69,70,71 050B' 48 49 4A 4B 913 db 72,73,74,75,76,77,78,79 914 ; 915 ; Customization tables for system 916 ; log2(hstblk) 0513' 02 917 secshf: db 2; 2 2 1 1 918 ; Physical ID of 1st sector on track 0514' 01 919 sec1st: db 1; 0 0 1 1 920 ; Strategy in computing physical addresses 0515' 04 921 config: db 4; 2 0 2 2 922 ; = 0: 1 sided, phys adr = hst adr 923 ; 1: sec>offsec side1, adrsec=off-sec 924 ; 2: odd trks on side 1, trkadr=hstrk/2 925 ; 3: side1 is ntrks up 926 ; 4: side1 is ntrks up, count backward 0004 927 maxcase equ 4 928 ; Number of tracks on physical disk 0516' 28 929 ntrks: db 40; 40 40 40 40 930 ; Correction to side 1 sector adr. 0517' 00 931 nsecs: db 0; 10 0 0 0 932 ; 933 ; This portion of "actmsg" is used as ID by altdrive. 0518' 49 42 4D 20 934 altid: db 'IBM PC (CP/M-86 DSDD)$$$$$$' 935 ; At least one terminal "$" must be left in above message 936 ; DO NOT CHANGE LENGTH OF MESSAGE 0080 937 infosz equ $-info