<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to configuration</title><link>https://sourceforge.net/p/digitalemulator/wiki/configuration/</link><description>Recent changes to configuration</description><atom:link href="https://sourceforge.net/p/digitalemulator/wiki/configuration/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 06 Jun 2012 20:36:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/digitalemulator/wiki/configuration/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage configuration modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/configuration/</link><description>&lt;pre&gt;--- v4
+++ v5
@@ -51,26 +51,25 @@
 
 Example
 -------
-&lt;pre&gt;
-; Busses (these are basically wires)
-bus red
-bus green
-bus blue
 
-; Plug in a PIC10 microcontroller and wire it up
-device pic10 ../devices/microcontrollers/microchip/pic10/pic10.so
+    ; Busses (these are basically wires)
+    bus red
+    bus green
+    bus blue
+    
+    ; Plug in a PIC10 microcontroller and wire it up
+    device pic10 ../devices/microcontrollers/microchip/pic10/pic10.so
         config pic10 flash test.hex
         config pic10 frequency 100000
         connect pic10 GPIO0 red out
         connect pic10 GPIO1 green out
         connect pic10 GPIO2 blue out
-
-; Wire in an RGB LED
-device led ../devices/support/led/led.so
+    
+    ; Wire in an RGB LED
+    device led ../devices/support/led/led.so
         connect led red red in
         connect led green green in
         connect led blue blue in
-
-; Run the system
-start pic10                  
-&lt;/pre&gt;
+    
+    ; Run the system
+    start pic10                  
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Wed, 06 Jun 2012 20:36:20 -0000</pubDate><guid>https://sourceforge.netf61963d668f879ff07cd65c97681b09419deb936</guid></item><item><title>WikiPage configuration modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/configuration/</link><description>&lt;pre&gt;--- v3
+++ v4
@@ -6,8 +6,6 @@
 The general format of the file is:
 
 ;a comment
-#another comment
-
 *command* *argument* *arguement...*
 
 Note that comments cannot (yet) occur on a line with a command.
@@ -50,3 +48,29 @@
 Format: set *bus* *value*
 
 Set the *bus* to the specified *value*.  Useful for setting a starting value on a bus, or raising a reset line to start a processor running at the end of the configuration.
+
+Example
+-------
+&lt;pre&gt;
+; Busses (these are basically wires)
+bus red
+bus green
+bus blue
+
+; Plug in a PIC10 microcontroller and wire it up
+device pic10 ../devices/microcontrollers/microchip/pic10/pic10.so
+        config pic10 flash test.hex
+        config pic10 frequency 100000
+        connect pic10 GPIO0 red out
+        connect pic10 GPIO1 green out
+        connect pic10 GPIO2 blue out
+
+; Wire in an RGB LED
+device led ../devices/support/led/led.so
+        connect led red red in
+        connect led green green in
+        connect led blue blue in
+
+; Run the system
+start pic10                  
+&lt;/pre&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Wed, 06 Jun 2012 20:35:08 -0000</pubDate><guid>https://sourceforge.netc812050a185b363d0c9bf175888b0dc8839bc2f7</guid></item><item><title>WikiPage configuration modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/configuration/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -5,9 +5,10 @@
 
 The general format of the file is:
 
-; a comment
-# another comment
-&lt;command&gt; &lt;argument&gt; &lt;arguement...&gt;
+;a comment
+#another comment
+
+*command* *argument* *arguement...*
 
 Note that comments cannot (yet) occur on a line with a command.
 
@@ -16,36 +17,36 @@
 
 * bus
 
-Format: bus &lt;name&gt;
+Format: bus *name*
 
-Create a new bus with the name &lt;name&gt;
+Create a new bus with the name *name*
 
 * device
 
-Format: device &lt;name&gt; &lt;module&gt;
+Format: device *name* *module*
 
-Create a new device with name &lt;name&gt; and load the module &lt;module&gt; for it.  If &lt;module&gt; does not exist then an error is raised and loading fails.
+Create a new device with name *name* and load the module *module* for it.  If *module* does not exist then an error is raised and loading fails.
 
 * config
 
-Format: config &lt;device&gt; &lt;key&gt; &lt;value&gt;
+Format: config *device* *key* *value*
 
 Configure a device.  The device is selected using the name provided when creating the device.  See the individual device pages for the available configuration keys and their values.
 
 * connect
 
-Format: connect &lt;device&gt; &lt;io port&gt; &lt;bus&gt; &lt;direction&gt;
+Format: connect *device* *io-port* *bus* *direction*
 
-Connect the &lt;io port&gt; on &lt;device&gt; to the bus specified by &lt;bus&gt;.  The &lt;direction&gt; is one of *in*, *out* or *inout*.
+Connect the *io-port* on *device* to the bus specified by *bus*.  The *direction* is one of *in*, *out* or *inout*.
 
 * start
 
-Format: start &lt;device&gt;
+Format: start *device*
 
-Start the core of &lt;device&gt; running.  Device has to be capable of running (not all are "active").  Typically used for things like microcontrollers and processors.
+Start the core of *device* running.  Device has to be capable of running (not all are "active").  Typically used for things like microcontrollers and processors.
 
 * set
 
-Format: set &lt;bus&gt; &lt;value&gt;
+Format: set *bus* *value*
 
-Set the &lt;bus&gt; to the specified &lt;value&gt;.  Useful for setting a starting value on a bus, or raising a reset line to start a processor running at the end of the configuration.
+Set the *bus* to the specified *value*.  Useful for setting a starting value on a bus, or raising a reset line to start a processor running at the end of the configuration.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Wed, 06 Jun 2012 20:33:17 -0000</pubDate><guid>https://sourceforge.net9f852858381647235c279384eb99f0bc3e297d1c</guid></item><item><title>WikiPage configuration modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/configuration/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -15,31 +15,37 @@
 --------
 
 * bus
+
 Format: bus &lt;name&gt;
 
 Create a new bus with the name &lt;name&gt;
 
-*device
+* device
+
 Format: device &lt;name&gt; &lt;module&gt;
 
 Create a new device with name &lt;name&gt; and load the module &lt;module&gt; for it.  If &lt;module&gt; does not exist then an error is raised and loading fails.
 
-*config
+* config
+
 Format: config &lt;device&gt; &lt;key&gt; &lt;value&gt;
 
 Configure a device.  The device is selected using the name provided when creating the device.  See the individual device pages for the available configuration keys and their values.
 
-*connect
+* connect
+
 Format: connect &lt;device&gt; &lt;io port&gt; &lt;bus&gt; &lt;direction&gt;
 
 Connect the &lt;io port&gt; on &lt;device&gt; to the bus specified by &lt;bus&gt;.  The &lt;direction&gt; is one of *in*, *out* or *inout*.
 
-*start
+* start
+
 Format: start &lt;device&gt;
 
 Start the core of &lt;device&gt; running.  Device has to be capable of running (not all are "active").  Typically used for things like microcontrollers and processors.
 
-*set
+* set
+
 Format: set &lt;bus&gt; &lt;value&gt;
 
 Set the &lt;bus&gt; to the specified &lt;value&gt;.  Useful for setting a starting value on a bus, or raising a reset line to start a processor running at the end of the configuration.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Wed, 06 Jun 2012 20:31:01 -0000</pubDate><guid>https://sourceforge.net442fdb69ba208147844ed4148e74ca15bbd31459</guid></item><item><title>WikiPage configuration modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/configuration/</link><description>Configuration File
==================

The configuration file is actually more akin to a script file.  The file is parsed line by line and actions are taken depending on what is found.

The general format of the file is:

; a comment
# another comment
&lt;command&gt; &lt;argument&gt; &lt;arguement...&gt;

Note that comments cannot (yet) occur on a line with a command.

Commands
--------

* bus
Format: bus &lt;name&gt;

Create a new bus with the name &lt;name&gt;

*device
Format: device &lt;name&gt; &lt;module&gt;

Create a new device with name &lt;name&gt; and load the module &lt;module&gt; for it.  If &lt;module&gt; does not exist then an error is raised and loading fails.

*config
Format: config &lt;device&gt; &lt;key&gt; &lt;value&gt;

Configure a device.  The device is selected using the name provided when creating the device.  See the individual device pages for the available configuration keys and their values.

*connect
Format: connect &lt;device&gt; &lt;io port&gt; &lt;bus&gt; &lt;direction&gt;

Connect the &lt;io port&gt; on &lt;device&gt; to the bus specified by &lt;bus&gt;.  The &lt;direction&gt; is one of *in*, *out* or *inout*.

*start
Format: start &lt;device&gt;

Start the core of &lt;device&gt; running.  Device has to be capable of running (not all are "active").  Typically used for things like microcontrollers and processors.

*set
Format: set &lt;bus&gt; &lt;value&gt;

Set the &lt;bus&gt; to the specified &lt;value&gt;.  Useful for setting a starting value on a bus, or raising a reset line to start a processor running at the end of the configuration.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Wed, 06 Jun 2012 20:30:28 -0000</pubDate><guid>https://sourceforge.net2de47b11320f9b30ff439d34ccf3dd83d8cdb962</guid></item></channel></rss>