2013-07-25 207 views
0

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

但是,当内核加载跳应用内核做他们回操作(例如:看CD-DVD光盘)

例子:

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

回答

0

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

+0

多任务不停止申请? – Srs

+0

我有问题。我可以问你吗? – Srs

+0

多任务将停止一个应用程序,所以另一个应用程序可以运行。 –

相关问题