自己写操作系统--两个进程分别输出A和B

时间:2013-06-05 04:43:45
【文件属性】:
文件名称:自己写操作系统--两个进程分别输出A和B
文件大小:104KB
文件格式:ZIP
更新时间:2013-06-05 04:43:45
操作系统 分时任务调度 bochs 学习操作系统原理最好的一个例子,里面只有两个任务,分时占用CPU资源,在屏幕上输出A和B,另外一个键盘中断,在linux下可以编译,直接运行,前提是你安装好bochs模拟器。如何使用bochs可以参考网上文档。
【文件预览】:
LEARN
----system(13KB)
----boot()
--------head.s(1KB)
--------head_linux.s(5KB)
--------boot(264B)
--------head.o(5KB)
--------boot.o(1KB)
--------boot.s(2KB)
--------boot_linux.s(8KB)
--------Makefile(336B)
----Emu()
--------bochsrc(208B)
--------snapshot.txt(2KB)
--------zsky.img(1.41MB)
--------bochsout.txt(6KB)
----include()
--------type.h(674B)
--------system.h(1KB)
--------screen.h(846B)
--------task.h(1KB)
----kernel()
--------task.c(4KB)
--------system_c.o(2KB)
--------screen.c(977B)
--------system.o(1KB)
--------system.s(2KB)
--------system_c.c(2KB)
--------task.o(3KB)
--------kernel.o(5KB)
--------Makefile(393B)
--------screen.o(1KB)
----init()
--------main.c(677B)
--------main.o(820B)
----system.s(189KB)
----tools()
--------ndisasm(81KB)
--------build.c(2KB)
--------build(5KB)
----Makefile(1KB)
----drives()
--------exception.s(245B)
--------exception.o(510B)
--------drives.o(1KB)
--------keyboard.s(331B)
--------time.s(420B)
--------Makefile(367B)
--------time.o(660B)
--------keyboard.o(944B)

网友评论