Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Running a Program on the Target 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 Hello2 Compiling and Linking with On Time RTOS-32 |
Program Hello2Hello2 performs the same task as Hello. However, the program does not rely on the run-time system. Instead, low-level RTTarget-32 functions are used to display a string on the screen. Since Hello2 uses no run-time system functions (such as screen or file I/O, the heap, etc.), Hello2 is linked without the run-time system and RTTarget-32's simplified startup code C0rtt.obj is used. The make file contains the complete command lines to compile and link Hello2. Note that although Hello and Hello2 do the same thing, Hello2 requires much less memory. The Delphi version of Hello2 does not actually eliminate the run-time system. Rather, the program shows how to access RTTarget-32's native API from a Pascal program.
|