1

我想同时在我的操作系统中运行应用程序和内核。

但是当内核跳转加载的应用程序内核做他们的后台操作(例如:看CD-DVD Rom)

例子:

    bits 16 
    org 32768;<--------

;start of kernel

    start:
...

;Process

    Load:
    ....

    jmp 65535;I want to Kernel Do This operations in the back

    ....

; - - - - - - - - - - - -应用程序 - - - - - - - - - - - ;

    bits 16 ;16 bit
    org 65535;<-----------
    start:
...some process...
jmp 32768 ;Cont. the kernel 

请帮助 www.afcos.comuf.com

4

1 回答 1

1

您正在寻找的是多任务处理。在这种情况下,您需要实现某种计时器来触发上下文切换以及实现上下文切换本身。可能会提供一些很好的信息。

于 2013-07-25T15:22:10.967 回答