;Extended CP/M 3 drive table for use with ;DRIVE.COM, a CP/M 3 dynamic drive re-assignment utility. ; ;Originally written by Jim Lopushinsky, Edmonton Alberta public @dtbl extrn sd0,sd1,sd2,sd3 extrn sd4,sd5,sd6,sd7 extrn cf0,cf1,cf2,cf3 cseg ;table is in common memory @dtbl dw sd0,sd1,sd2,sd3 ; drives A-D dw sd4,sd5,sd6,sd7 ; drives E-H dw cf0,cf1,cf2,cf3 ; drives I-L dw 0,0,0,0 ; drives M-P - not defined ;Following is a table of existing drives. This table can be used ;to dynamically assign CP/M drives (A:, etc) to different physical ;units. Use BIOS function 22 (return address of drive table), and ;add 32 to point to this table: dw sd0 ;address of DPH for drive 0 db 'DSK0 ' ;6 char unit name dw sd1 db 'DSK1 ' dw sd2 db 'DSK2 ' dw sd3 db 'DSK3 ' dw sd4 db 'DSK4 ' dw sd5 db 'DSK5 ' dw sd6 db 'DSK6 ' dw sd7 db 'DSK7 ' dw cf0 db 'SIDE0 ' dw cf1 db 'SIDE1 ' dw cf2 db 'SIDE2 ' dw cf3 db 'SIDE3 ' dw 0 db ' ' dw 0 db ' ' dw 0 db ' ' dw 0 db ' ' end