📄 hello.cfg
字号:
/**************************************************************************//* *//* File: DEMO.CFG Copyright (c) 1996,2000 *//* Version: 3.0 On Time Informatik GmbH *//* *//* *//* On Time /////////////----- *//* Informatik GmbH ///////////// *//* --------------------------------------------------///////////// *//* Real-Time and System Software *//* *//**************************************************************************/// Configuration file for the On Time RTOS-32 demo programs and Borland C/C++.//// This configuration file can be used for most On Time RTOS-32 demos.// It supports booting from disk or running under the Debug Monitor.//// If symbol BOOT is not defined, the program is built to run under the// control of the Debug Monitor.//// This file does not define any hardware. Regions should be defined using a// separate configuration file.//// Example://// RTLoc -DBOOT Hello demopc.cfg demo.cfg#ifsection .text // redefine some section names for BCB #define CODE .text #define DATA .data#endif#ifndef BOOT Reserve Monitor // leave room for the Debug Monitor#endifVirtual VMem 1G // the program goes hereFillRAM VMem // remap unused RAMLocate PageTable PageTable HighMem // enable pageingLocate Header Header HighMem // application headerLocate NTSection CODE VMem->HighMem // code sectionLocate NTSection DATA VMem->HighMem // data section#ifsection .tls // the following sections are not generated by all linker versions Locate NTSection .tls VMem->HighMem // TLS data section Locate NTSection .rdata VMem->HighMem // TLS directory#endifLocate Stack Stack VMem 16k // 16k stackLocate Heap Heap VMem // and the rest for the heapLocate DecompCode Expand HighMem // include decompression code and dataLocate DecompData ExBuffer HighMemLocate Copy PageTable HighMem // compress everythingLocate Copy CODE HighMem // dittoLocate Copy DATA HighMem // ditto
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -