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
Cross Debugging
Using an IDE
The RTTarget-32 API
Demo Programs
Running Demos with Command Line Tools
Running Demos in Microsoft Visual Studio
Running Demos in the Borland Delphi IDE
Using a Standard PC as a Target
Using a Standard PC as a Target for GUI Demos
Using the AMD Élan SC400 Evaluation Board
Using the AMD Élan SC520 Evaluation Board
Using the RTOS32Win Virtual Target
Using the Real-Time Hypervisor Target
Program Hello
Program Hello2
Program SerInt
Program SerDemo
Program EmuDemo
Program DLLDemo
Program DLLDemo2
Program DLLDemo3
Program SysDemo
Program FTPLoader
Program BIOSDemo
Program PCCard
Program PCCardMT
Program VMemDemo
Program FMapDemo
Program ExLED
Program HelloSc400
Program HelloSc520
Program NSHello
Program TVDemo
Program MetWorld
Program HelloGUI
Program HelloDelphi
Program BenchDelphi
Program MPDiag
Program Hellovmf
Program Vmftcp
Program Hellorth
Program Rthtcp
Program Msvccrt
Program ACPICADemo
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
|
Running Demos with Command Line Tools
On Time RTOS-32 host program DLaunch.exe can be used to generate a command line and to open a command prompt for each demo. The command line will define all required environment variables (PATH and RTTARGET) and set the current directory to the respective demo's directory. To build the demo, follow these steps:
- Invoke the MAKE utility that came with your compiler (MAKE for Borland, NMAKE for Microsoft). The makefile for each demo contains all commands to compile, link, and relocate each demo and a Debug Monitor.
- Install the Debug Monitor on the target (see below, depends on the target type).
- Reboot the target.
- Invoke RTRun to download and execute the demo or call RTD32 to debug the program.
All demos are built to run under the Debug Monitor. To build a demo to be self-booting, relocate it using RTLoc's command line option -DBOOT.
Example:
RTLoc -DBOOT Hello Demopc.cfg Hello.cfg
BootDisk Hello A:
All bootable demos intended to run on a standard PC can also be started from DOS with:
Rttboot Hello.rtb
Demo Programs
Running Demos in Microsoft Visual Studio
|