编译后可在x86上裸奔的ucosII!!!
编译脚本参见TEST.MAK c语言编译器是BC45,汇编语言编译器是tasm
连接后先生成的是test.exe。 参见MAKETEST.BAT
执行exe2bin test.exe后输入0800或8000,好像是输入0800,我记不清了。两个都可以试试。
loader.bin的作用是吧test.bin加载到内存地址0x8000处,其源码我没有了。可以参考软件Emu8086.v4.05里的一个汇编例子,它的名字大概就叫一个简单的操作系统-Can be compiled on the x86 streaker ucosII! ! ! See TEST.MAK c compiler scr ipt language compiler is BC45, assembly language compiler is tasm Mr connected into the test.exe. See MAKETEST.BAT Executive exe2bin test.exe enter 0800 or 8000, if the input 0800, I remember. Both can try. loader.bin role is now loaded into the memory address 0x8000 test.bin at its source I have not had. Can refer to a compilation of software Emu8086.v4.05 in the example, its name is probably a simple operating system called
(系统自动生成,下载前可以参看下载内容)
下载文件列表
myUCOS/INCLUDES.H
myUCOS/loader.bin
myUCOS/MAKETEST.BAT
myUCOS/os.img
myUCOS/OS_CFG.H
myUCOS/OS_CORE.C
myUCOS/OS_CPU.H
myUCOS/OS_CPU_A.ASM
myUCOS/OS_CPU_A.OBJ
myUCOS/OS_CPU_C.C
myUCOS/OS_CPU_C.OBJ
myUCOS/OS_FLAG.C
myUCOS/OS_MBOX.C
myUCOS/OS_MEM.C
myUCOS/OS_MUTEX.C
myUCOS/OS_Q.C
myUCOS/OS_SEM.C
myUCOS/OS_TASK.C
myUCOS/OS_TIME.C
myUCOS/start.asm
myUCOS/START.OBJ
myUCOS/TEST.BIN
myUCOS/TEST.C
myUCOS/TEST.EXE
myUCOS/test.lk
myUCOS/TEST.MAK
myUCOS/TEST.MAP
myUCOS/TEST.OBJ
myUCOS/uCOS_II.C
myUCOS/uCOS_II.H
myUCOS/UCOS_II.OBJ
myUCOS/命令提示符.lnk
myUCOS