Page 1 of 1

loading program to memory

Posted: Tue Aug 10, 2004 11:00 pm
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

RE:loading program to memory

Posted: Tue Aug 10, 2004 11:00 pm
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.

RE:loading program to memory

Posted: Tue Aug 10, 2004 11:00 pm
by DIGO_RP
Many thank´s! I´ll try!

:-)