Srs
Srs

Reputation: 36

Run Two Apps in My Operating system

I want to run app and kernel in my os at same time.

But when kernel jump loaded app kernel do their back operations (ex:Look CD-DVD Rom)

Example:

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

;start of kernel

    start:
...

;Process

    Load:
    ....

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

    ....

;-----------------------App----------------------;

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

Please Help www.afcos.comuf.com

Upvotes: 1

Views: 45

Answers (1)

Drew McGowen
Drew McGowen

Reputation: 11706

What you're looking for is multitasking. In this case, you'll need to implement some sort of timer to trigger the context switch as well as implement context switching itself. This might provide some good information.

Upvotes: 1

Related Questions