Description: If you are running this example, will the PC emulation window, the first 1,2,3-line display some information, at random locations show ' 1 ' ~ ' 5' . Keil c51 as the default does not support the re-entry function, which re- into the function of the weight stack instead of using the simulation using the system stack, while the Small RTOS 51 not been re-stack management, and so TaskA ~ TaskE though its similar, but not combined. (2) compile-time there will be five warnings, One of them is because there is no cause to use a system function OSSendSignal, it can be ignored. The other four are prohibited between the variables covered analyze the task to be ignored. thank User John X. Liu, in this case, I used his written simulation ( dllPc51Emu.dll), the dll was originally for his transplant Ucos-ii for keil c51 examples of the preparation.
File list (Check if you may need any files):
P89V51
......\h
......\.\CONFIG.H
......\.\OS_CFG.H
......\.\OS_CPU.H
......\KEILC51
......\.......\OS_CPU_A.ASM
......\.......\OS_CPU_C.C
......\OS
......\..\OS.H
......\..\OS_CORE.C
......\..\OS_MEM.C
......\..\OS_MEM.H
......\..\OS_Q.C
......\..\OS_Q.H
......\..\OS_SEM.C
......\..\OS_SEM.H
......\reentrant
......\.........\CONFIG.H
......\.........\EXT1.C
......\.........\OS_CFG.H
......\.........\OS_CPU.H
......\.........\README.TXT
......\.........\test.C
......\.........\test.Opt
......\.........\TEST.PLG
......\.........\test.Uv2
......\SerialIn
......\........\CONFIG.H
......\........\OS_CFG.H
......\........\OS_CPU.H
......\........\README.TXT
......\........\SERIAL.C
......\........\TEST.INI
......\........\test.Opt
......\........\test.Uv2
......\SerialOut
......\.........\CONFIG.H
......\.........\OS_CFG.H
......\.........\OS_CPU.H
......\.........\README.TXT
......\.........\SERIAL.C
......\.........\test.Opt
......\.........\test.Uv2
......\TaskDel
......\.......\CONFIG.H
......\.......\DISPLAY.C
......\.......\DISPLAY.H
......\.......\EXT2.C
......\.......\OS_CFG.H
......\.......\OS_CPU.H
......\.......\README.TXT
......\.......\test.Opt
......\.......\test.Uv2
......\UserTask
......\........\CONFIG.H
......\........\led.h
......\........\OS_CFG.H
......\........\Os_core.obj
......\........\OS_CPU.H
......\........\Os_cpu_a.obj
......\........\Os_cpu_c.obj
......\........\Os_q.obj
......\........\Os_sem.obj
......\........\P89V51.C
......\........\P89V51.OBJ
......\........\P89V51_SMALL_RTOS
......\........\P89V51_SMALL_RTOS.hex
......\........\P89V51_SMALL_RTOS.lnp
......\........\P89V51_SMALL_RTOS.Opt
......\........\P89V51_SMALL_RTOS.plg
......\........\P89V51_SMALL_RTOS.Uv2
......\........\P89V51_SMALL_RTOS_Opt.Bak
......\........\P89V51_SMALL_RTOS_Uv2.Bak
......\........\README.TXT