文件名称:OS3
-
所属分类:
- 标签属性:
- 上传时间:2016-05-23
-
文件大小:98.56kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
参考《Orange’s》,在之前搭建的 nasm + bochs 实验平台上完成一个接受键盘输入,回显到屏幕上的程序,具体要求如下:
• 从屏幕左上角开始,显示键盘输入的字符。可以输入并显示 a-z 和 0-9 字 符。
• 支持大小写,包括 Shift 组合键以及大写锁定两种方式。
• 支持回车键换行。
• 支持删除退格,退格如果退回上一行,必须退回该行编辑的最后一个字符 处。
• 支持空格键和 Tab 键,其中对于 Tab 键如果实现其作为制表符(即使用 了 Tab 的位置输入退格时会退四格),将会得到加分。
• 每隔 20 秒左右, 清空屏幕。输入的字符重新从屏幕左上角开始显示。
• 若按下 F1 到 F5, 分别切换到不同颜色进行输出。
• 要求有光标显示, 固定光标或者闪烁光标均可, 但一定要跟随输入字符的 位置变化。
• 要求支持一种特殊的组合键,规则为当同时按下 Shift 和 Tab 键的情况 下,输入键盘上的 Q, A, Z, W, S, X 键时,显示的内容是其右边一个键的 内容,即对应显示 W, S, X, E, D, C。对其他键不做要求。
-Reference Orange s , in the previous nasm+ bochs built a complete experimental platform to accept keyboard input echo to the program on the screen, the specific requirements are as follows:
• From the upper left corner of the screen to display the character keyboard. You can enter and display a-z, and 0-9 characters.
• support case, including the key combination Shift and Caps Lock in two ways.
• Support the Enter key line feed.
• supported the deletion backspace, backspace if the return on the line must be returned at the last character of the line editing.
• Support Spacebar, and Tab key, wherein if the Tab key to achieve it as a tab character (ie, when using the Tab position input backspace backspace four-frame), you will get extra points.
• Every 20 seconds, clear the screen. Character input display re-start the top left corner of the screen.
• If you press F1 to F5, respectively, switching to a different color output.
• req
• 从屏幕左上角开始,显示键盘输入的字符。可以输入并显示 a-z 和 0-9 字 符。
• 支持大小写,包括 Shift 组合键以及大写锁定两种方式。
• 支持回车键换行。
• 支持删除退格,退格如果退回上一行,必须退回该行编辑的最后一个字符 处。
• 支持空格键和 Tab 键,其中对于 Tab 键如果实现其作为制表符(即使用 了 Tab 的位置输入退格时会退四格),将会得到加分。
• 每隔 20 秒左右, 清空屏幕。输入的字符重新从屏幕左上角开始显示。
• 若按下 F1 到 F5, 分别切换到不同颜色进行输出。
• 要求有光标显示, 固定光标或者闪烁光标均可, 但一定要跟随输入字符的 位置变化。
• 要求支持一种特殊的组合键,规则为当同时按下 Shift 和 Tab 键的情况 下,输入键盘上的 Q, A, Z, W, S, X 键时,显示的内容是其右边一个键的 内容,即对应显示 W, S, X, E, D, C。对其他键不做要求。
-Reference Orange s , in the previous nasm+ bochs built a complete experimental platform to accept keyboard input echo to the program on the screen, the specific requirements are as follows:
• From the upper left corner of the screen to display the character keyboard. You can enter and display a-z, and 0-9 characters.
• support case, including the key combination Shift and Caps Lock in two ways.
• Support the Enter key line feed.
• supported the deletion backspace, backspace if the return on the line must be returned at the last character of the line editing.
• Support Spacebar, and Tab key, wherein if the Tab key to achieve it as a tab character (ie, when using the Tab position input backspace backspace four-frame), you will get extra points.
• Every 20 seconds, clear the screen. Character input display re-start the top left corner of the screen.
• If you press F1 to F5, respectively, switching to a different color output.
• req
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验三code/
实验三code/.DS_Store
__MACOSX/
__MACOSX/实验三code/
__MACOSX/实验三code/._.DS_Store
实验三code/a.img
__MACOSX/实验三code/._a.img
实验三code/bochsrc
__MACOSX/实验三code/._bochsrc
实验三code/boot/
实验三code/boot/boot.asm
__MACOSX/实验三code/boot/
__MACOSX/实验三code/boot/._boot.asm
实验三code/boot/boot.bin
__MACOSX/实验三code/boot/._boot.bin
实验三code/boot/include/
实验三code/boot/include/fat12hdr.inc
__MACOSX/实验三code/boot/include/
__MACOSX/实验三code/boot/include/._fat12hdr.inc
实验三code/boot/include/load.inc
__MACOSX/实验三code/boot/include/._load.inc
实验三code/boot/include/pm.inc
__MACOSX/实验三code/boot/include/._pm.inc
__MACOSX/实验三code/boot/._include
实验三code/boot/loader.asm
__MACOSX/实验三code/boot/._loader.asm
实验三code/boot/loader.bin
__MACOSX/实验三code/boot/._loader.bin
__MACOSX/实验三code/._boot
实验三code/include/
实验三code/include/console.h
__MACOSX/实验三code/include/
__MACOSX/实验三code/include/._console.h
实验三code/include/const.h
__MACOSX/实验三code/include/._const.h
实验三code/include/global.h
__MACOSX/实验三code/include/._global.h
实验三code/include/keyboard.h
__MACOSX/实验三code/include/._keyboard.h
实验三code/include/keymap.h
__MACOSX/实验三code/include/._keymap.h
实验三code/include/proc.h
__MACOSX/实验三code/include/._proc.h
实验三code/include/protect.h
__MACOSX/实验三code/include/._protect.h
实验三code/include/proto.h
__MACOSX/实验三code/include/._proto.h
实验三code/include/sconst.inc
__MACOSX/实验三code/include/._sconst.inc
实验三code/include/string.h
__MACOSX/实验三code/include/._string.h
实验三code/include/tty.h
__MACOSX/实验三code/include/._tty.h
实验三code/include/type.h
__MACOSX/实验三code/include/._type.h
__MACOSX/实验三code/._include
实验三code/kernel/
实验三code/kernel/clock.c
__MACOSX/实验三code/kernel/
__MACOSX/实验三code/kernel/._clock.c
实验三code/kernel/console.c
__MACOSX/实验三code/kernel/._console.c
实验三code/kernel/global.c
__MACOSX/实验三code/kernel/._global.c
实验三code/kernel/i8259.c
__MACOSX/实验三code/kernel/._i8259.c
实验三code/kernel/kernel.asm
__MACOSX/实验三code/kernel/._kernel.asm
实验三code/kernel/keyboard.c
__MACOSX/实验三code/kernel/._keyboard.c
实验三code/kernel/main.c
__MACOSX/实验三code/kernel/._main.c
实验三code/kernel/proc.c
__MACOSX/实验三code/kernel/._proc.c
实验三code/kernel/protect.c
__MACOSX/实验三code/kernel/._protect.c
实验三code/kernel/start.c
__MACOSX/实验三code/kernel/._start.c
实验三code/kernel/syscall.asm
__MACOSX/实验三code/kernel/._syscall.asm
实验三code/kernel/tty.c
__MACOSX/实验三code/kernel/._tty.c
__MACOSX/实验三code/._kernel
实验三code/kernel.bin
__MACOSX/实验三code/._kernel.bin
实验三code/lib/
实验三code/lib/klib.c
__MACOSX/实验三code/lib/
__MACOSX/实验三code/lib/._klib.c
实验三code/lib/kliba.asm
__MACOSX/实验三code/lib/._kliba.asm
实验三code/lib/string.asm
__MACOSX/实验三code/lib/._string.asm
__MACOSX/实验三code/._lib
实验三code/Makefile
__MACOSX/实验三code/._Makefile
实验三code/截图.png
__MACOSX/实验三code/._截图.png
__MACOSX/._实验三code
实验三code/.DS_Store
__MACOSX/
__MACOSX/实验三code/
__MACOSX/实验三code/._.DS_Store
实验三code/a.img
__MACOSX/实验三code/._a.img
实验三code/bochsrc
__MACOSX/实验三code/._bochsrc
实验三code/boot/
实验三code/boot/boot.asm
__MACOSX/实验三code/boot/
__MACOSX/实验三code/boot/._boot.asm
实验三code/boot/boot.bin
__MACOSX/实验三code/boot/._boot.bin
实验三code/boot/include/
实验三code/boot/include/fat12hdr.inc
__MACOSX/实验三code/boot/include/
__MACOSX/实验三code/boot/include/._fat12hdr.inc
实验三code/boot/include/load.inc
__MACOSX/实验三code/boot/include/._load.inc
实验三code/boot/include/pm.inc
__MACOSX/实验三code/boot/include/._pm.inc
__MACOSX/实验三code/boot/._include
实验三code/boot/loader.asm
__MACOSX/实验三code/boot/._loader.asm
实验三code/boot/loader.bin
__MACOSX/实验三code/boot/._loader.bin
__MACOSX/实验三code/._boot
实验三code/include/
实验三code/include/console.h
__MACOSX/实验三code/include/
__MACOSX/实验三code/include/._console.h
实验三code/include/const.h
__MACOSX/实验三code/include/._const.h
实验三code/include/global.h
__MACOSX/实验三code/include/._global.h
实验三code/include/keyboard.h
__MACOSX/实验三code/include/._keyboard.h
实验三code/include/keymap.h
__MACOSX/实验三code/include/._keymap.h
实验三code/include/proc.h
__MACOSX/实验三code/include/._proc.h
实验三code/include/protect.h
__MACOSX/实验三code/include/._protect.h
实验三code/include/proto.h
__MACOSX/实验三code/include/._proto.h
实验三code/include/sconst.inc
__MACOSX/实验三code/include/._sconst.inc
实验三code/include/string.h
__MACOSX/实验三code/include/._string.h
实验三code/include/tty.h
__MACOSX/实验三code/include/._tty.h
实验三code/include/type.h
__MACOSX/实验三code/include/._type.h
__MACOSX/实验三code/._include
实验三code/kernel/
实验三code/kernel/clock.c
__MACOSX/实验三code/kernel/
__MACOSX/实验三code/kernel/._clock.c
实验三code/kernel/console.c
__MACOSX/实验三code/kernel/._console.c
实验三code/kernel/global.c
__MACOSX/实验三code/kernel/._global.c
实验三code/kernel/i8259.c
__MACOSX/实验三code/kernel/._i8259.c
实验三code/kernel/kernel.asm
__MACOSX/实验三code/kernel/._kernel.asm
实验三code/kernel/keyboard.c
__MACOSX/实验三code/kernel/._keyboard.c
实验三code/kernel/main.c
__MACOSX/实验三code/kernel/._main.c
实验三code/kernel/proc.c
__MACOSX/实验三code/kernel/._proc.c
实验三code/kernel/protect.c
__MACOSX/实验三code/kernel/._protect.c
实验三code/kernel/start.c
__MACOSX/实验三code/kernel/._start.c
实验三code/kernel/syscall.asm
__MACOSX/实验三code/kernel/._syscall.asm
实验三code/kernel/tty.c
__MACOSX/实验三code/kernel/._tty.c
__MACOSX/实验三code/._kernel
实验三code/kernel.bin
__MACOSX/实验三code/._kernel.bin
实验三code/lib/
实验三code/lib/klib.c
__MACOSX/实验三code/lib/
__MACOSX/实验三code/lib/._klib.c
实验三code/lib/kliba.asm
__MACOSX/实验三code/lib/._kliba.asm
实验三code/lib/string.asm
__MACOSX/实验三code/lib/._string.asm
__MACOSX/实验三code/._lib
实验三code/Makefile
__MACOSX/实验三code/._Makefile
实验三code/截图.png
__MACOSX/实验三code/._截图.png
__MACOSX/._实验三code
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.