On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTTarget-32 Programming Manual
Introduction
Features of RTTarget-32
Terms and Definitions
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
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
|
Introduction
RTTarget-32 is an operating system for Intel 80386 and higher CPUs. Win32 console mode applications can run without Windows on virtually any hardware with a 32-bit Intel 386 compatible CPU. Cross debugging is available using a Win32 debugger.
Programs to run with RTTarget-32 are developed using standard 32-bit compilers that can produce native Win32 console mode applications (such as Borland C++, Borland Delphi, Microsoft Visual C++). Executable files built with these compilers are processed by RTTarget-32 to run on the target system.
RTTarget-32 consists of the following components:
- Target Boot Code
The boot code initializes the CPU and, possibly, other hardware. It locates and initializes the application program. Applications can be loaded from disk (hard disk, floppy, USB, CD-ROM, etc) or can run directly from ROM.
- BootDisk Utility
This program can be used to create bootable RTTarget-32 disks. All common disk formats (floppies, hard disks, EPROM disks, flash disks) with FAT-12/16/32 or exFAT file structure are supported. Program UefiDisk can prepare disks for UEFI booting.
- Locator
RTTarget-32's locator RTLoc assigns fixed addresses to the application (this process is called fixing up). RTLoc can place a program anywhere in the target computer's address space. Read/write and read-only regions of the program can be separated into different memory areas.
- Debug Monitor Resident on the Target
RTTarget-32's Debug Monitor can be installed on the target computer to handle program downloads and communication with the source-level debugger on the host.
- Source Level Cross Debugger
With RTTarget-32, you can use Borland's free TD32 debugger to debug programs running on the target. It supports programs compiled with Borland C++, Delphi, and the Microsoft Visual 6.0 C++ command line compilers. In addition, RTTarget-32 programs can be debugged using the Microsoft Visual Studio 6.0/.NET/2002/2003/2005/2008/2010/2012/2013/2015/2017/2019 and Borland Delphi version 5.0/6.0/7.0/2007 IDE integrated debuggers.
- Run Utility
As an alternative to starting programs from disk or EPROM, RTTarget-32's RTRun utility can be used to download and run programs over a serial, parallel, or Ethernet link.
- Win32 Emulation Library
RTTarget-32 includes a library providing a subset of the Win32 API. This subset supports the standard run-time systems of the supported compilers, making available functions like malloc or printf on the target computer.
- Native API Library
RTTarget-32's native API contains functions for serial (RS232) I/O, parallel (Centronics) I/O, general port I/O, interrupt handling, page-level memory management, PCI BIOS access, Plug-and-Play BIOS access, PCMCIA card management, run-time system support, System Management BIOS (SMBIOS) access, Advanced Programmable Interrupt Controller (APIC) programming, multiprocessor support, spinlocks, Advanced Configuration and Power Interface (ACPI) Tables access, and Intel's ACPI Component Architecture librray.
Features of RTTarget-32
Terms and Definitions
Running Win32 Programs without Win32
|