annotate level1/modules/init.asm @ 2059:46aa4db8204e

More changes
author boisy
date Mon, 24 Apr 2006 18:02:14 +0000
parents beba50d7ac3e
children b17559c279fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 ********************************************************************
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
2 * Init - NitrOS-9 Configuration module
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 * $Id$
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 *
1499
6cd590fc076f Fixed comments
boisy
parents: 1363
diff changeset
6 * Edt/Rev YYYY/MM/DD Modified by
6cd590fc076f Fixed comments
boisy
parents: 1363
diff changeset
7 * Comment
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 * ------------------------------------------------------------------
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
9 * 204 1998/10/12 Boisy G. Pitre
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
10 * Original OS-9 L2 Tandy distribution.
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
11 *
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
12 * 205 1998/10/20 Boisy G. Pitre
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
13 * Added CC3IO and Clock sections.
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
14 *
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
15 * 205r2 1998/10/20 Boisy G. Pitre
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
16 * Removed clock information from here.
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
17 *
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
18 * 1 2003/01/08 Boisy G. Pitre
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
19 * Restarted edition number back to 1, removed CMDS/cc3go reference and
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
20 * just have cc3go so that in certain cases, cc3go can be in the bootfile,
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
21 * and so that ROMmed systems don't have to have a special init module.
1792
5ff0761dda12 co80.io and term80.dt are no longer in the makefile
boisy
parents: 1787
diff changeset
22 *
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
23 * 2003/11/05 Robert Gault
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
24 * Corrected CC3IO info regards mouse. Changed from fcb to fdb low res/ right
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
25 * Corrected OS9Defs to match.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 nam Init
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
28 ttl NitrOS-9 Configuration module
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
30 ifp1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 use defsfile
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
32 endc
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 tylg set Systm+$00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 atrv set ReEnt+rev
1287
10957d54bf16 Made all modules rev 0
boisy
parents: 317
diff changeset
36 rev set $00
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
37 edition set 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
39 mod eom,name,tylg,atrv,$0FE0,$0015
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
40
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
41 ***** USER MODIFIABLE DEFINITIONS HERE *****
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 * Init table
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 start equ *
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
45 fcb $27 number of IRQ polling entires
306
c863af5b4ea1 init.asm: extended (see os9defs(
boisy
parents: 201
diff changeset
46 fdb DefProg offset to program to fork
c863af5b4ea1 init.asm: extended (see os9defs(
boisy
parents: 201
diff changeset
47 fdb DefDev offset to default disk device
c863af5b4ea1 init.asm: extended (see os9defs(
boisy
parents: 201
diff changeset
48 fdb DefCons offset to default console device
c863af5b4ea1 init.asm: extended (see os9defs(
boisy
parents: 201
diff changeset
49 fdb DefBoot offset to boot module name
c863af5b4ea1 init.asm: extended (see os9defs(
boisy
parents: 201
diff changeset
50 fcb $01 write protect flag (?)
c863af5b4ea1 init.asm: extended (see os9defs(
boisy
parents: 201
diff changeset
51 fcb Level OS level
1805
beba50d7ac3e Cleaned up environment var references
boisy
parents: 1792
diff changeset
52 fcb NOS9VER OS version
beba50d7ac3e Cleaned up environment var references
boisy
parents: 1792
diff changeset
53 fcb NOS9MAJ OS major revision
beba50d7ac3e Cleaned up environment var references
boisy
parents: 1792
diff changeset
54 fcb NOS9MIN OS minor revision
2059
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
55 IFNE H6309
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
56 fcb Proc6309+CRCOff feature byte #1
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
57 ELSE
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
58 fcb CRCOff feature byte #1
2059
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
59 ENDC
317
e6dcf1ac92b2 Modified ccio.asm for better comments, init.asm simplified
boisy
parents: 308
diff changeset
60 fcb $00 feature byte #2
2059
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
61 fdb OSStr
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
62 fdb MachStr
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
63 fcb 0,0,0,0 reserved
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
64
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
65 IFGT Level-1
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
66 * CC3IO section
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
67 fcb Monitor monitor type
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
68 fcb 0,1 mouse info, low res right mouse
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
69 fcb $1E key repeat start constant
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
70 fcb $03 key repeat delay constant
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
71 ENDC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 name fcs "Init"
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
74 fcb edition
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 DefProg fcs "SysGo"
201
668388823050 Fixed headers to be consistent
boisy
parents: 0
diff changeset
77 DefDev fcs "/DD"
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 DefCons fcs "/Term"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 DefBoot fcs "Boot"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80
2059
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
81 OSStr equ *
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
82 fcc "NitrOS-9/"
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
83 IFNE H6309
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
84 fcc /6309 /
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
85 ELSE
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
86 fcc /6809 /
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
87 ENDC
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
88 fcc /Level /
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
89 fcb '0+Level
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
90 fcc / V0/
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
91 fcb '0+NOS9VER
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
92 fcc /.0/
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
93 fcb '0+NOS9MAJ
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
94 fcc /.0/
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
95 fcb '0+NOS9MIN
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
96 fcb C$CR
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
97
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
98 MachStr equ *
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
99 IFNE coco
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
100 fcc "Radio Shack Color Computer"
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
101 ELSE
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
102 IFNE coco3
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
103 fcc "Tandy Color Computer 3"
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
104 ELSE
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
105 IFNE tano
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
106 fcc "Tano Dragon (US)"
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
107 ELSE
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
108 IFNE d64
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
109 fcc "Dragon 64 (UK)"
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
110 ELSE
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
111 IFNE dalpha
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
112 fcc "Dragon Alpha"
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
113 ELSE
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
114 fcc "Unknown Machine"
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
115 ENDC
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
116 ENDC
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
117 ENDC
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
118 ENDC
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
119 ENDC
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
120 fcb C$CR
46aa4db8204e More changes
boisy
parents: 1805
diff changeset
121
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
122 emod
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
123 eom equ *
1722
34bf8b64353a Integrated level 2 init with level 1 init
boisy
parents: 1499
diff changeset
124 end