comparison src/os9/level2/init.asm @ 57:2088fd998865

sbc09 directry clean up
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 23 Jul 2018 16:07:12 +0900
parents os9/level2/init.asm@51b437557f42
children
comparison
equal deleted inserted replaced
56:4fa2bdb0c457 57:2088fd998865
1 ********************************************************************
2 * Init - NitrOS-9 Configuration module
3 *
4 * $Id$
5 *
6 * Edt/Rev YYYY/MM/DD Modified by
7 * Comment
8 * ------------------------------------------------------------------
9 * 204 1998/10/12 Boisy G. Pitre
10 * Original OS-9 L2 Tandy distribution.
11 *
12 * 205 1998/10/20 Boisy G. Pitre
13 * Added CC3IO and Clock sections.
14 *
15 * 205r2 1998/10/20 Boisy G. Pitre
16 * Removed clock information from here.
17 *
18 * 1 2003/01/08 Boisy G. Pitre
19 * Restarted edition number back to 1, removed CMDS/cc3go reference and
20 * just have cc3go so that in certain cases, cc3go can be in the bootfile,
21 * and so that ROMmed systems don't have to have a special init module.
22 *
23 * 2003/11/05 Robert Gault
24 * Corrected CC3IO info regards mouse. Changed from fcb to fdb low res/ right
25 * Corrected OS9Defs to match.
26 *
27 * 2006/07/06 P.Harvey-Smith.
28 * Conditionally excluded port messages on Dragon Alpha, due to insufficient
29 * space !
30 *
31
32 nam Init
33 ttl NitrOS-9 Configuration module
34
35 ifp1
36 use defsfile
37 IFGT Level-1
38 use cocovtio.d
39 ENDC
40 endc
41
42 tylg set Systm+$00
43 atrv set ReEnt+rev
44 rev set $00
45 edition set 1
46
47 *
48 * Usually, the last two words here would be the module entry
49 * address and the dynamic data size requirement. Neither value is
50 * needed for this module so they are pressed into service to show
51 * MaxMem and PollCnt. For example:
52 * $0FE0,$0015 means
53 * MaxMem = $0FE000
54 * PollCnt = $0015
55 *
56 mod eom,name,tylg,atrv,$0FE0,$0015
57
58 ***** USER MODIFIABLE DEFINITIONS HERE *****
59
60 *
61 * refer to
62 * "Configuration Module Entry Offsets"
63 * in os9.d
64 *
65 start equ *
66 fcb $27 entries in device table
67 fdb DefProg offset to program to fork
68 fdb DefDev offset to default disk device
69 fdb DefCons offset to default console device
70 fdb DefBoot offset to boot module name
71 fcb $01 write protect flag (?)
72 fcb Level OS level
73 fcb NOS9VER OS version
74 fcb NOS9MAJ OS major revision
75 fcb NOS9MIN OS minor revision
76 IFNE H6309
77 fcb Proc6309+CRCOff feature byte #1
78 ELSE
79 fcb CRCOff feature byte #1
80 ENDC
81 fcb $00 feature byte #2
82 fdb OSStr
83 fdb InstStr
84 fcb 0,0,0,0 reserved
85
86 IFGT Level-1
87 * CC3IO section
88 fcb Monitor monitor type
89 fcb 0,1 mouse info, low res right mouse
90 fcb $1E key repeat start constant
91 fcb $03 key repeat delay constant
92 ENDC
93
94 name fcs "Init"
95 fcb edition
96
97 DefProg fcs "SysGo"
98 DefDev fcs "/V0"
99 DefCons fcs "/Term"
100 DefBoot fcs "Boot"
101
102 *
103 * The DragonAlpha is so pushed for boot track space, that we have to exclude these
104 * messages !
105 *
106
107 IFEQ dalpha
108 OSStr equ *
109 fcc "NitrOS-9/"
110 IFNE H6309
111 fcc /6309 /
112 ELSE
113 fcc /6809 /
114 ENDC
115 fcc /Level /
116 fcb '0+Level
117 fcc / V/
118 fcb '0+NOS9VER
119 fcc /./
120 fcb '0+NOS9MAJ
121 fcc /./
122 fcb '0+NOS9MIN
123 fcb 0
124
125 InstStr equ *
126 IFNE coco1
127 fcc "Radio Shack Color Computer"
128 ELSE
129 IFNE deluxe
130 fcc "Deluxe Color Computer"
131 ELSE
132 IFNE coco2
133 fcc "Radio Shack Color Computer 2"
134 ELSE
135 IFNE coco2b
136 fcc "Tandy Color Computer 2"
137 ELSE
138 IFNE coco3
139 fcc "Tandy Color Computer 3"
140 ELSE
141 IFNE tano
142 fcc "Tano Dragon (US)"
143 ELSE
144 IFNE d64
145 fcc "Dragon 64 (UK)"
146 ELSE
147 IFNE dalpha
148 fcc "Dragon Alpha"
149 ELSE
150 IFNE atari
151 fcc "Atari XL/XE"
152 ELSE
153 IFNE mc09
154 fcb $1B text in bright blue
155 fcc "[94mMulticomp09"
156 fcb $1B
157 fcc "[0m"
158 ELSE
159 IFNE coco3fpga
160 fcc "Gary Becker's Coco3FPGA"
161 ELSE
162 IFNE corsham
163 fcc "Corsham 6809"
164 ELSE
165 fcc "Unknown Machine"
166 ENDC match IFNE corsham
167 ENDC match IFNE coco3fpga
168 ENDC match IFNE mc09
169 ENDC match IFNE atari
170 ENDC match IFNE dalpha
171 ENDC match IFNE d64
172 ENDC match IFNE tano
173 ENDC match IFNE coco3
174 ENDC match IFNE coco2b
175 ENDC match IFNE coco2
176 ENDC match IFNE delux
177 ENDC match IFNE coco1
178 fcb 0 null-terminate the name string
179 ELSE
180 * DragonAlpha
181 OSStr equ *
182 InstStr equ *
183 fcb 0 null-length string
184 ENDC match IFEQ dalpha
185
186 emod
187 eom equ *
188 end