annotate 3rdparty/drivers/sdisk/d3_35s.asm @ 3109:118cd9951d24

Small fixups in level 3 boot script And add it and the boot list to the coco3 build.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 28 Feb 2016 22:48:32 +0100
parents 2ecb9f08c113
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
311
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
1 ********************************************************************
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
2 * D3 - Disk device descriptor for SDisk
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
3 *
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
4 * $Id$
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
5 *
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
7 * ------------------------------------------------------------------
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
8 * Created
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
9
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
10 nam D3
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
11 ttl Disk device descriptor for SDisk
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
12
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
13 ifp1
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
14 use defsfile
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
15 endc
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
16
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
17 Type set Devic+Objct
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
18 Revs set Reent+1
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
19
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
20 * MODULE HEADER AND FIXED INFORMATION
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
21 mod DescEnd,DescName,Type,Revs,DscMgr,DscDrv
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
22
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
23 fcb DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC.
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
24
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
25 fcb HW.Page port bank
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
26 fdb DPort port address
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
27
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
28 * USER CHANGEABLE SETTINGS
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
29 Drive set 3 drive number (0-3)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
30 DrvTyp set TYP.5+TYP.CCF+TYP.FLP 5" floppy (double density on track 0)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
31 StpRat set STP.6ms drive stepping rate code
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
32 Cyls set 35 number of cylinders (tracks per side)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
33 SecTrk set 18 number of sectors per track
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
34 SecTr0 set SecTrk number of sectors per track (track 0, side 0)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
35 Density set DNS.MFM+DNS.STD 48 tpi, MFM
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
36 Sides set 1 number of sides (1 or 2)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
37
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
38 * OPTION TABLE
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
39 fcb OptEnd-*-1 number of bytes in option section below
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
40 fcb DT.RBF device type = RBF
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
41 fcb Drive drive number
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
42 fcb StpRat step rate code
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
43 fcb DrvTyp
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
44 fcb Density
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
45 fdb Cyls number of cylinders
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
46 fcb Sides
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
47 fcb 0 verify turned on
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
48 fdb SecTrk
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
49 fdb SecTr0
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
50 fcb 3 sector interleave offset factor
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
51 fcb 8 minimum sector allocation size
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
52 fcb 0 (reserved)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
53 fdb 0 (reserved)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
54 fcb $10 sector/track offset (CoCo OS-9 disk format)
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
55 OptEnd equ *
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
56
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
57 * NAME STRINGS
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
58 DescName fcb 'D,'0+Drive+$80
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
59 DscMgr fcs 'RBF'
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
60 DscDrv fcs 'SDisk'
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
61
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
62 emod
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
63 DescEnd equ *
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents:
diff changeset
64 end