annotate level2/modules/r0.asm @ 1487:97b3df00ef37

nil now part of vrn
author boisy
date Mon, 22 Dec 2003 21:59:00 +0000
parents 8e804211cb25
children 5a916a52f415
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
732
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
1 ********************************************************************
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
2 * R0 - RAMMER Device Descriptor
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
3 *
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
4 * $Id$
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
5 *
1348
8e804211cb25 Fixed sources to have new style change logs at top
boisy
parents: 1289
diff changeset
6 * Edt/Rev YYYY/MM/DD Modified by
8e804211cb25 Fixed sources to have new style change logs at top
boisy
parents: 1289
diff changeset
7 * Comment
732
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
8 * ------------------------------------------------------------------
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
9
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
10 nam R0
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
11 ttl RAMMER Device Descriptor
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
12
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
13 ifp1
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
14 use defsfile
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
15 endc
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
16
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
17 tylg set Devic+Objct
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
18 atrv set ReEnt+rev
1289
d13864ef3317 Changed to rev 0
boisy
parents: 732
diff changeset
19 rev set $00
732
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
20
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
21 RAMSize set 128
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
22 SAS set 4
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
23
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
24 mod eom,name,tylg,atrv,mgrnam,drvnam
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
25
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
26 fcb DIR.+SHARE.+PREAD.+PWRIT.+PEXEC.+READ.+WRITE.+EXEC. mode byte
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
27 fcb HW.Page extended controller address
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
28 fdb $FFE0 physical controller address
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
29 fcb initsize-*-1 initilization table size
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
30 fcb DT.RBF device type:0=scf,1=rbf,2=pipe,3=scf
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
31 fcb $00 drive number
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
32 fcb $00 step rate
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
33 fcb $20 drive device type
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
34 fcb $01 media density:0=single,1=double
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
35 fdb RAMSize
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
36 fcb $01 number of sides
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
37 fcb $01 verify disk writes:0=on
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
38 fdb 4 # of sectors per track
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
39 fdb 4 # of sectors per track (track 0)
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
40 fcb $01 sector interleave factor
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
41 fcb SAS minimum size of sector allocation
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
42 initsize equ *
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
43
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
44 IFNE DD
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
45 name fcs /DD/
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
46 ELSE
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
47 name fcs /R0/
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
48 ENDC
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
49 mgrnam fcs /RBF/
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
50 drvnam fcs /Rammer/
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
51
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
52 emod
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
53 eom equ *
339845ea3507 Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
diff changeset
54 end