T
T
Type Programmer2017-06-05 10:08:30
assembler
Type Programmer, 2017-06-05 10:08:30

Help with creating an algorithm in your mini OS?

(Bios interrupts, Real-time mode, 16 bit)
I am making a mini OS, how to make a call to some kind of program, so let’s say I don’t want to write code to the kernel, but write it to a separate sector, load it at some address in memory, and already from under kernel call this code like via call
Let's say Clr is a mini sub screen cleaner
Boot -> Kernal -> Clr -> Kernal ( Jump already in place after calling Clr )
I'm just wondering if it's possible in real time, without using complex interrupts, etc. , do this
(I'm learning assembler, don't judge strictly)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2017-06-05
@MegaCraZy6

I'm just wondering if it's possible in real time, without using complex interrupts, etc., to do this

This is called the word " overlay ". Of course, you can do it, but it's quite difficult to do it well. Because the code loaded by the overlay will either have to be dynamically linked to the OS kernel, or it will be severely limited in its capabilities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question