21.01.2015 Views

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INtime <strong>3.1</strong> <strong>Software</strong><br />

Loading a user application on an RT node at boot time<br />

To have one or more user applications load at boot time on an RT node, simply add<br />

them to the appropriate RtLoad file after the system applications. For example, to cause<br />

the application MyApp.rta to load with input parameters "base=0x760 irq=5" on an<br />

RT node set up to boot up with a UDP-based NTX interface to its Windows host,<br />

modify the RtLoad.sys file as follows:<br />

• After ntxproxy.rta, add this line:<br />

\myapp.rta "base=0x760 irq=5"<br />

• Set process-level parameters in RtLoad.sys following the switch setting<br />

information described in the next section.<br />

RtLoad.sys file format and switches<br />

First character<br />

The RtLoad.sys file is generated by the INtime Configuration utility, based on user<br />

input. As the RT image boots, it finds the RtLoad file specified in the RtConfig.sys<br />

configuration file and parses its contents to determine which applications to load, and<br />

in what order. Each line (terminated with a LF character) in the file can indicate the<br />

full pathname of an application to load as the RT system initializes. Applications load in<br />

the same order as they appear in the file. The load file has the following per-line format:<br />

Mode Description<br />

; Treat the entire line as a comment.<br />

# Print the rest of the line on the current STDOUT device and wait for a response from<br />

the STDIN device before proceeding to the next line. This is useful when booting from<br />

a floppy device and then pausing to insert the second (or nth) floppy of the set before<br />

proceeding. (Only supported if Logging Mode is set to “Stdout” and Printf/Scanf<br />

console is set to “Local” on the Loader page of the INtime Configuration utility’s<br />

Remote Client Settings tab.<br />

\ Indicates that the following characters before the next space represent an application<br />

program in the root directory of the boot device.<br />

^<br />

Processes the following character as a command to the Loader (Remote INtime Run-<br />

Time Application Loader). Supported command characters include:<br />

E Tells the loader to enlarge the code segment (same as Open Data Segment<br />

in the INtime Loader) for the next application listed for loading in the<br />

RTLOAD.SYS file.<br />

Other Any other character is assumed to be the first letter of the application program<br />

assumed to be in the root directory of the boot device.<br />

80

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!