loading program to memory

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
DIGO_RP

loading program to memory

Post by DIGO_RP »

I´m trying to create a very simple os... it´s a small kernel with a very simple command interpreter... I would like to load a com program to memory and when exit from that program I would like to get control back to kernel... I´m very very losed about this! please could anybody help me !

I don´t known where, when and what to start!

Digo_RP
ASHLEY4

RE:loading program to memory

Post by ASHLEY4 »

If you go here: http://alexfru.chat.ru/epm.html
  and down load "bootprog.zip" in it is the code (nasm) to load a com/exe from a floppy disk in to memory and run it on ending (int 20h) return's to what would be your kernel.
Take a look at the code, it's is well commented.

Note: This is for real mode.

\\\\|////
(@@)
ASHLEY4.
DIGO_RP

RE:loading program to memory

Post by DIGO_RP »

Many thank´s! I´ll try!

:-)
Post Reply