delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/12/16:27:02

Xref: news-dnh.mv.net comp.os.msdos.apps:4124 comp.os.msdos.djgpp:2003
comp.os.msdos.mail-news:1524 comp.os.msdos.misc:12305
comp.os.msdos.programmer:13602
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.mail-news,comp.os.msdos.djgpp,comp.os.msdos.apps
Path: news-dnh.mv.net!mv!news.sprintlink.net!news.bluesky.net!solaris.cc.vt.edu!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!ix.netcom.com!netcom.com!mictali
From: mictali AT netcom DOT com (Jere McDevitt)
Subject: Re: Embedded protected mode application
Followup-To: comp.os.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.mail-news,comp.os.msdos.djgpp,comp.os.msdos.apps
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
References: <NEWTNews DOT 987 DOT 810480789 DOT deltatec AT deltatec DOT interpac DOT be>
Date: Mon, 11 Sep 1995 17:33:23 GMT
Lines: 43
Sender: mictali AT netcom4 DOT netcom DOT com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

deltatec AT mail DOT interpac DOT be wrote:

: I must write an application for an embedded Intel386EX processor.
: The program will be in C++ and must run in 32 bits protected mode.
: A lot of compiler like the WATCOM C/C++ compiler can produce
: 32 bit protected code for the 386 but they rely on a DOS EXTENDER like
: the DOS/4G for Watcom which rely on MS/DOS.
: For my application, I don't have MS/DOS and the resulting binary code must
: be put alone in a ROM.
: So I have a lot of problems...

: - I need a very basic 'DOS EXTENDER' which can be put in ROM and provide
: an interface to the following C++ functions:

: new: allocation of memory (in a flat memory model)
: delete: free a memory block
: setintvector: interface a C interupt routine to an hardware interrupt
: vector.

: - I need a startup code for the compiler to initialize the processor and
: run the binary from ROM in 32 bits protected mode.

: - I need a utility able to extract from the resulting EXE file of the
: compile a binary file which can be put into ROM.

: - Is there a way to debug the code under MS/DOS before putting it in ROM ?

: Is anyone has ideas, books, EMAIL addresses, FTP server, Sharewares, 
: Examples,...
: about these problem, please could you send them to me by fax 32 41 660 913 or
: by EMAIL of course deltatec AT mail DOT interpac DOT be

: Thank you very much !


The DOS Extenders are that, they extend DOS and you quite a few DOS
functions (particularly in File I/O).  Have you considered using a rom-able
dos (I've used ROM-DOS by Datalight in the past) and then you could use what
Dos extender you wanted.

Just a thought...

Jere McDevitt (mictali AT netcom DOT com)

- Raw text -


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