文件名称:tinix_os
介绍说明--下载内容均来自于网络,请自行研究使用
=== ====
关于本光盘
==========
\Tinix: 书中所附代码
其中很多目录中除了包含源代码(*.asm, *.inc, *.c, *.h)外,还有这样一些文件:
boot.bin 引导扇区(Boot Sector),可通过 FloppyWriter 写入软盘(或软盘映像)。
loader.bin LOADER,直接拷贝至软盘(或软盘映像)根目录。
kernel.bin 内核(Kernel),直接拷贝至软盘(或软盘映像)根目录。
bochsrc.bxrc Bochs 配置文件,如果系统中安装了 Bochs-2.1.1 可直接双击之运行。其它细节请见书第 2.7 节。
godbg.bat 调试时可使用此批处理文件。它假设 Bochs-2.1.1 安装在 D:\Program Files\Bochs-2.1.1\ 中。
TINIX.IMG 软盘映像。可直接通过 Bochs 或者 Virtual PC 运行。
*.com 可以在 DOS (必须为纯 DOS) 下运行的文件。
\Tools: 一些小工具 (在 VC6 下编译通过)
DescParser 描述符分析器,输入描述符的值,可以得出起基址、界限、属性等信息。
ELFParser ELF 文件分析器,可以列出一个 ELF 文件的 ELF Header、 Program Header、Section Header 等信息。
FloppyWriter 用以写引导扇区,支持软盘和软盘映像。
KrnlChecker 用以检查一个 Tinix 内核加载后位置是否正确。-err
关于本光盘
==========
\Tinix: 书中所附代码
其中很多目录中除了包含源代码(*.asm, *.inc, *.c, *.h)外,还有这样一些文件:
boot.bin 引导扇区(Boot Sector),可通过 FloppyWriter 写入软盘(或软盘映像)。
loader.bin LOADER,直接拷贝至软盘(或软盘映像)根目录。
kernel.bin 内核(Kernel),直接拷贝至软盘(或软盘映像)根目录。
bochsrc.bxrc Bochs 配置文件,如果系统中安装了 Bochs-2.1.1 可直接双击之运行。其它细节请见书第 2.7 节。
godbg.bat 调试时可使用此批处理文件。它假设 Bochs-2.1.1 安装在 D:\Program Files\Bochs-2.1.1\ 中。
TINIX.IMG 软盘映像。可直接通过 Bochs 或者 Virtual PC 运行。
*.com 可以在 DOS (必须为纯 DOS) 下运行的文件。
\Tools: 一些小工具 (在 VC6 下编译通过)
DescParser 描述符分析器,输入描述符的值,可以得出起基址、界限、属性等信息。
ELFParser ELF 文件分析器,可以列出一个 ELF 文件的 ELF Header、 Program Header、Section Header 等信息。
FloppyWriter 用以写引导扇区,支持软盘和软盘映像。
KrnlChecker 用以检查一个 Tinix 内核加载后位置是否正确。-err
(系统自动生成,下载前可以参看下载内容)
下载文件列表
自己动手写操作系统
..................\Readme.txt
..................\Tinix
..................\.....\chapter1
..................\.....\........\a
..................\.....\........\.\bochsout.txt
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\disboot.asm
..................\.....\........\.\godbg.bat
..................\.....\........\.\TINIX.IMG
..................\.....\........\b
..................\.....\........\.\bochsout.txt
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\Boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\TINIX.IMG
..................\.....\chapter2
..................\.....\........\linux
..................\.....\........\.....\bochsrc.bxrc
..................\.....\........\.....\run-tinix-in-linux
..................\.....\........\.....\tinix.img
..................\.....\........\win
..................\.....\........\...\bochsout.txt
..................\.....\........\...\bochsrc.bxrc
..................\.....\........\...\run.bat
..................\.....\........\...\TINIX.IMG
..................\.....\chapter3
..................\.....\........\a
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest1.asm
..................\.....\........\b
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest2.asm
..................\.....\........\c
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest3.asm
..................\.....\........\d
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest4.asm
..................\.....\........\e
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest5.asm
..................\.....\........\f
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest6.asm
..................\.....\........\g
..................\.....\........\.\lib.inc
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest7.asm
..................\.....\........\h
..................\.....\........\.\lib.inc
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest8.asm
..................\.....\........\i
..................\.....\........\.\lib.inc
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest9.asm
..................\.....\chapter4
..................\.....\........\a
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\TINIX.IMG
..................\.....\........\b
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\loader.asm
..................\.....\........\.\loader.bin
..................\.....\........\.\TINIX.IMG
..................\.....\........\c
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\loader.asm
..................\.....\........\.\loader.bin
..................\.....\........\.\TINIX.IMG
..................\.....\chapter5
..................\.....\........\a
..................\.....\........\.\hello
..................\.....\........\.\hello.asm
..................\.....\........\.\hello.o
..................\.....\........\b
..................\.....\........\.\bar.c
..................\.....\........\.\bar.o
..................\.....\........\.\foo.asm
..................\.....\........\.\foo.o
..................\.....\........\.\foobar
..................\.....\........\c
..................\
..................\Readme.txt
..................\Tinix
..................\.....\chapter1
..................\.....\........\a
..................\.....\........\.\bochsout.txt
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\disboot.asm
..................\.....\........\.\godbg.bat
..................\.....\........\.\TINIX.IMG
..................\.....\........\b
..................\.....\........\.\bochsout.txt
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\Boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\TINIX.IMG
..................\.....\chapter2
..................\.....\........\linux
..................\.....\........\.....\bochsrc.bxrc
..................\.....\........\.....\run-tinix-in-linux
..................\.....\........\.....\tinix.img
..................\.....\........\win
..................\.....\........\...\bochsout.txt
..................\.....\........\...\bochsrc.bxrc
..................\.....\........\...\run.bat
..................\.....\........\...\TINIX.IMG
..................\.....\chapter3
..................\.....\........\a
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest1.asm
..................\.....\........\b
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest2.asm
..................\.....\........\c
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest3.asm
..................\.....\........\d
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest4.asm
..................\.....\........\e
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest5.asm
..................\.....\........\f
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest6.asm
..................\.....\........\g
..................\.....\........\.\lib.inc
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest7.asm
..................\.....\........\h
..................\.....\........\.\lib.inc
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest8.asm
..................\.....\........\i
..................\.....\........\.\lib.inc
..................\.....\........\.\pm.inc
..................\.....\........\.\pmtest9.asm
..................\.....\chapter4
..................\.....\........\a
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\TINIX.IMG
..................\.....\........\b
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\loader.asm
..................\.....\........\.\loader.bin
..................\.....\........\.\TINIX.IMG
..................\.....\........\c
..................\.....\........\.\bochsrc.bxrc
..................\.....\........\.\boot.asm
..................\.....\........\.\boot.bin
..................\.....\........\.\godbg.bat
..................\.....\........\.\loader.asm
..................\.....\........\.\loader.bin
..................\.....\........\.\TINIX.IMG
..................\.....\chapter5
..................\.....\........\a
..................\.....\........\.\hello
..................\.....\........\.\hello.asm
..................\.....\........\.\hello.o
..................\.....\........\b
..................\.....\........\.\bar.c
..................\.....\........\.\bar.o
..................\.....\........\.\foo.asm
..................\.....\........\.\foo.o
..................\.....\........\.\foobar
..................\.....\........\c
..................\