readme
来自「用于TM1300/PNX1300系列DSP(主要用于视频处理)的动态下载程序源码」· 代码 · 共 35 行
TXT
35 行
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 + =
减小字号Ctrl + -
显示快捷键?