📄 readme
字号:
This demo contains a simple application dispatcher, for runningapplications that have been linked using tmcc/tmld option -btype app,as in [59] tmcc -btype boot hello.c -o a.out[60] tmcc -btype app hello.c -o a.appAs the following tmsize output shows, such an a.app is considerably smallerthan a regular a.out, because the runtime system is not included in the.app. Instead, this runtime system should be part of the dynboot executablethat loads the .app.Also, exactly because all host specific (IO-) libraries are part ofthe dynboot executable, the .app can be kept host independent.This implies that, given the proper dynboot executable, the .app can be executed on any host (MacOS, tmsim, Win95).[61] tmsize a.outtext data data1 bss dec hex 65408 868 648 2708 69632 0x11000 [62] tmsize a.apptext data data1 bss __mdesc__ $String$DynLoad$ $Ext_Mod$DynLoad$ dec hex 384 0 21 0 100 10 24 539 0x21B appshell.out is such a dynboot executable. It takes as argumentsthe name of an application file, plus the arguments that should be passed to it.An appshell should be made for each different host/each endianness,and by these, an app should be runnable on any platform.examples:tmsim appshell_tmsim.app hello.app 1 2 3 4 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -