On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTTarget-32 Programming Manual
Introduction
Running Win32 Programs without Win32
The i386 Microprocessor
RTLoc: Locating a Program
Running a Program on the Target
Booting from Disk
Booting from a BIOS Extension
Booting from the CPU Reset Vector
Downloading
Booting from MS-DOS
Program Rttboot
UEFI Booting
Cross Debugging
Using an IDE
The RTTarget-32 API
Demo Programs
Advanced Topics
Compiling and Linking with On Time RTOS-32
Redistributable Components of RTTarget-32
RTLoc Error Messages
RTTarget-32 Reference Manual
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
|
Program Rttboot
Rttboot loads and starts an RTTarget-32 program from DOS:
Rttboot [Options] RTBFileName ["Commandline"]
The following options are available:
-a- | Disable A20 control. With this option, Rttboot will not attempt to enable A20, and it will not check whether A20 is enabled. Use this option only on systems which do not have any extended memory or which always have A20 enabled. A20 control requires BIOS int 15h support as well as a keyboard controller. If you need to use this option, RTLoc command BOOTFLAGS=BF_NO_A20 will also be required. |
-f- | Disable floppy motor control. This option instructs Rttboot not to attempt to turn off the diskette motor(s). Floppy motor control requires a BIOS with floppy disk support. |
-x- | Disable XMS memory overlap check. This option prevents Rttboot from checking whether any extended memory area needed by the application being loaded is currently in use. The XMS memory overlap check requires BIOS int 15h support. |
-m- | Disable DOS memory overlap check. This option prevents Rttboot from checking whether any conventional memory area needed by the application being loaded is currently in use. The DOS memory overlap check requires BIOS int 12h support. |
-r- | Disable real-mode execution check. This option will prevent Rttboot from executing instruction SMSW to detect the current CPU mode. |
-p | Specify Debug Monitor port parameters. This option must be followed by a string with no space after the "-p" in the form Port[,Baud[,IRQ[,IOBase]]] Parameter Port may be 1..4 for COM1..COM4 and 5..7 for LPT1..LPT3 and 8..11 for Ethernet1..Ethernet4. |
-g | Specify a list of graphics modes to set. This option must be followed by a string with no space after the "-g" in the form GMode[,GMode...]. Up to 15 modes can be specified (see the GMode command for details). GModes can be specified in hex if prefixed with '0x'. |
Parameter RTBFileName must be the file name (with file name extension) of the .RTB file to load.
Optional parameter "Commandline" may be used to overwrite the command line set with the Commandline directive in the program's configuration file. Note that Rttboot cannot allocate additional space for the command line. Thus, the command line passed by Rttboot cannot be longer than the one given in the configuration file. Rttboot truncates the command line, if required.
Examples:
Rttboot -p2,115200 -g0x105,0x103,0x101,0x102,0x12 Monitor.rtb
Rttboot Hello.rtb "C:\Test\Hello.exe Hello World"
Booting from MS-DOS
|