Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/iniz.refentry @ 3140:03b580a02945
Allow CoCo3FPGA-specific build of superdesc.asm
Added new conditional CC3FPGA and code to "level1/modules/superdesc.asm"
to reflect changes needed to build the new SD card descriptors for the
Coco3FPGA.
author | Bill Pierce <merlinious999@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 11:06:26 +0100 |
parents | b00cf13c9f61 |
children |
rev | line source |
---|---|
152 | 1 <refentry id="iniz"> |
2 <refnamediv> | |
3 <refname>INIZ</refname> | |
4 <refpurpose>Initialize a device.</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
1093 | 9 <command>iniz</command> |
152 | 10 <arg choice="opt"> |
11 <option>devicename [...]</option> | |
12 </arg> | |
13 </cmdsynopsis> | |
14 </refsynopsisdiv> | |
15 | |
158 | 16 <refsect1> |
17 <title>Description</title> | |
152 | 18 <para> |
1500 | 19 Links the specified device to NitrOS-9, places the device addres in a new device |
152 | 20 table entry, allocates the memory needed by the device driver, and calls |
21 the device driver initialization routine. If the device is already | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
158
diff
changeset
|
22 installed, <command>iniz</command> does not reinitialize it. |
152 | 23 </para> |
158 | 24 <refsect2> |
25 <title>Options:</title> | |
26 <variablelist> | |
27 <varlistentry> | |
28 <term>devicename</term> | |
29 <listitem> | |
152 | 30 <para> |
158 | 31 is the name of the device drivere you want to |
32 initialize. Specify as many device drivers as you | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
158
diff
changeset
|
33 wish with one <command>iniz</command> command. |
152 | 34 </para> |
158 | 35 </listitem> |
36 </varlistentry> | |
37 </variablelist> | |
38 </refsect2> | |
39 <refsect2> | |
40 <title>Notes:</title> | |
152 | 41 <para> |
42 You can use Iniz in the startup file or at the system startup to initialize | |
43 devices and allocate their static storage at the top of memory (to reduce | |
44 memory fragmentation). | |
45 </para> | |
158 | 46 </refsect2> |
47 </refsect1> | |
48 <refsect1> | |
49 <title>Example:</title> | |
50 <literallayout> | |
1500 | 51 iniz p t2 [ENTER] |
158 | 52 </literallayout> |
152 | 53 <para> |
1500 | 54 initializes the p (printer) and t2 (terminal 2) devices. |
152 | 55 </para> |
56 </refsect1> | |
57 </refentry> |