0
|
1 * RGB Computer Systems
|
|
2 * OS-9 Level 2 Hard Disk
|
|
3 * Device Descripter Module
|
|
4 * Copyright (C) 1989 by RGB Computer Systems
|
|
5 * All rights reserved
|
|
6
|
|
7 nam h0 or h1
|
|
8 ttl Hard Disk Device Descripter
|
|
9
|
|
10 ifp1
|
|
11 use defsfile
|
|
12 use rbfdefs
|
|
13 endc
|
|
14
|
|
15 * Change the following equates for your hard drive type:
|
|
16
|
|
17 drive equ 0 set to /h0
|
|
18 numcyl equ 000 set to your number of cylinders
|
|
19 heads equ 0 set to your number of r/w heads
|
|
20 numsec equ 32 number of sectors/track (some may be 33)
|
|
21
|
|
22 * Set the next equate for the type of Hard Disk
|
|
23 * Interface you are using. Use the following values:
|
|
24 * For LR-TECH, OWL, KEN-TON and RGB, use $FF74
|
|
25 * For DISTO SUPER CONTROLLER, use $FF50
|
|
26 * For DISTO 4-IN-1 BOARD, use $FF58
|
|
27
|
|
28 PORT equ $ff74 set for LR-TECH
|
|
29
|
|
30 ********** Make no changes below this line **********
|
|
31
|
|
32 rev set 1 rev number
|
|
33 type equ devic+objct
|
|
34
|
|
35 mod end,name,type,reent+rev,mgr,dvr
|
|
36 fcb $ff all modes
|
|
37 fcb $7 device extended address
|
|
38 fdb PORT port address
|
|
39 fcb name-*-1 option byte count
|
|
40 fcb DT.RBF rbf device type
|
|
41 fcb drive drive number
|
|
42 fcb 0 step rate (reserved 0)
|
|
43 fcb $80 disk type (hard disk)
|
|
44 fcb 1 density (unused)
|
|
45 fdb numcyl number of cylinders
|
|
46 fcb heads number of surfaces
|
|
47 fcb 1 verify (unused)
|
|
48 fdb numsec default sectors/track
|
|
49 fdb numsec default sectors/track tk00
|
|
50 fcb 0 interleave (unused)
|
|
51 fcb 32 sector allocation size <- 32 is good for a HD
|
|
52
|
|
53
|
|
54 name fcc /h/
|
|
55 fcb '0+$80+drive
|
|
56 fcb 1 edition
|
|
57 mgr fcs /rbf/
|
|
58 dvr fcs /hdisk/
|
|
59 emod
|
|
60 end equ *
|
|
61 end
|