![]() |
Home |
|
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.
|