www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/03/15:08:27

From: Mark & Candice <mhewii AT concentric DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Boot loader
Date: Tue, 03 Dec 1996 14:23:52 -0500
Organization: BRP
Lines: 33
Message-ID: <32A47E48.58F6@concentric.net>
References: <329C8DE9 DOT 6A30 AT silo DOT csci DOT unt DOT edu>
Reply-To: mhewii AT concentric DOT net
NNTP-Posting-Host: cnc131052.concentric.net
Mime-Version: 1.0
To: Bora Ertung <ertung AT silo DOT csci DOT unt DOT edu>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bora Ertung wrote:
> 
> I downloaded and run the boot loader code which was anounced here
> couple of weeks ago.I must say it was a good job. As
> a person who is really not very experinced about boot loaders and
> running the os kernel image stuff, I would like to ask that is it
> possible to load the image of cwsdmpi as a dpmi server after boot up for
> a possible os-kernel upload? I know it uses ms-dos interrupts to create
> the core but what the heck may be someone can make a good
> suggestion. BTW if your answer is just a "NO, you cant do it man" thanks
> for your help; you dont need to reply.
> 
> Thanks for advance
> Bora

I'm not real familar with the guts of cwsdmpi, but it looks like all
you need, or could use, would be an interface to bios.

It seems like you could just make INT handler that just runs in v86
and calls the bios INT, and passes the regs/flags back and forth.

Not to say this would be easy but well worth it.
 Remember when you set up your IDT that the first several are
 for trapping faults, so your 32bit app will call ~33h to call
 bios 13h  to avoid those.

Like I said Im new to some of this, atleast you get an answer.
BUT if anyone else wants to tell you more of how to do this,
 or where we could DL something that does it it will be appreceted!
-- 
Mark & Candice		http://www.cris.com/~mhewii		 
			[frames] /|\              \|/[no frames]
MHEWII AT CRIS DOT COM		http://www.cris.com/~mhewii/buttons.html

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019