日期:2014-05-16  浏览次数:20529 次

请教一道考研题,无从下手啊
非计算机专业的一道考研题,应该是从操作系统的角度来回答,所以发到这儿来

当使用word等字处理软件时,在键盘上输入一个字符w,在显示器上随即会显示这个字符,试述计算机在这一过程中的处理步骤。

大家来帮帮忙,回答越详细越好

------解决方案--------------------
键盘-> 中断-> 操作系统解释-> 输出
------解决方案--------------------
1.KeyPress---> OS Receive this message ---> OS process this message (To Know this is KeyPress message)----> Send to the device control ----> Interupt (Get the CPU time)----> find the Key Value form the Keyboard matrix ----> get the value----> device send the is info to OS ----> OS process it, and know that need to print it ----> interupt ----> Get the CPU time----> Send to Monitor device controlor ----> Send the signal to Monitor----> Monitor display the shape about the signal.
------解决方案--------------------
不错的题目
------解决方案--------------------
windows操作系统下,X86 PC平台;
键盘按下---》放入键盘缓冲,中断通知OS--》OS保护现场,接受请求,分配消息通知有关进程--》进程word获得w,显示终端,通知OS接受完毕--》OS关闭中断,恢复一切,等待下一次指令。