]> cloudbase.mooo.com Git - z180-stamp-cpm3.git/blob - cbios/drvtbl.180
Extended drive table for use with DRIVE.COM, a dynamic drive re-assignment utility.
[z180-stamp-cpm3.git] / cbios / drvtbl.180
1 ;Extended CP/M 3 drive table for use with
2 ;DRIVE.COM, a CP/M 3 dynamic drive re-assignment utility.
3 ;
4 ;Originally written by Jim Lopushinsky, Edmonton Alberta
5
6
7 public @dtbl
8 extrn sd0,sd1,sd2,sd3
9 extrn sd4,sd5,sd6,sd7
10 extrn cf0,cf1,cf2,cf3
11
12 cseg ;table is in common memory
13
14 @dtbl dw sd0,sd1,sd2,sd3 ; drives A-D
15 dw sd4,sd5,sd6,sd7 ; drives E-H
16 dw cf0,cf1,cf2,cf3 ; drives I-L
17 dw 0,0,0,0 ; drives M-P - not defined
18
19 ;Following is a table of existing drives. This table can be used
20 ;to dynamically assign CP/M drives (A:, etc) to different physical
21 ;units. Use BIOS function 22 (return address of drive table), and
22 ;add 32 to point to this table:
23
24 dw sd0 ;address of DPH for drive 0
25 db 'DSK0 ' ;6 char unit name
26 dw sd1
27 db 'DSK1 '
28 dw sd2
29 db 'DSK2 '
30 dw sd3
31 db 'DSK3 '
32 dw sd4
33 db 'DSK4 '
34 dw sd5
35 db 'DSK5 '
36 dw sd6
37 db 'DSK6 '
38 dw sd7
39 db 'DSK7 '
40 dw cf0
41 db 'SIDE0 '
42 dw cf1
43 db 'SIDE1 '
44 dw cf2
45 db 'SIDE2 '
46 dw cf3
47 db 'SIDE3 '
48 dw 0
49 db ' '
50 dw 0
51 db ' '
52 dw 0
53 db ' '
54 dw 0
55 db ' '
56
57 end