delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/02/22:46:59

From: "Dave White" <spectrac AT thebestisp DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000502144857 DOT 22132O-100000 AT is>
Subject: Re: Embedded programming
Date: Tue, 2 May 2000 21:44:09 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Lines: 29
Message-ID: <390f923f$0$91337$61169c8d@news.thebestisp.com>
NNTP-Posting-Host: 039dd9f4.news.thebestisp.com
X-Trace: 957321791 gemini.thebestisp.com 91337 209.98.117.54
X-Complaints-To: abuse AT thebestisp DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1000502144857 DOT 22132O-100000 AT is...

> Surely, you cannot be positive these scripts will do what the original
> poster needs?


Let me explain what I'm trying to do.  I've built an embedded control
project, based on a standard PII motherboard, but with no video, keyboard,
disks, etc.  I need to write a small, fairly simple, application which will
control my add-in cards (ADC/DAC/relay, etc.) and buffer incoming data for
transfer to a 'real' PC.  I won't need any of the standard library routines,
not evem malloc - being an embedded system, I can control all memory use and
access fixed location buffers.  All I'm really trying to do is to use C (not
even C++) as a high level assembler - easier to debug than plain assembly.
I'll be writing all my own I/O functions and memory handling routines.

Ultimately what I want to is create a binary image that can either be loaded
from EPROM, or from a boot floppy, switch into protected mode, set up a
couple of interrupt handlers, then call my C _main function.  I have pulled
together a lot of information from the web, but much of this relates to flat
real mode, rather than full protected mode.  FRM is brain dead on a PII so
I'd rather use full PM.  I have Borland C++ 4.5, Borland BCC32 command line,
TASM 5.x, MASM 6.1, djgpp, NASM, etc. but have no simple way to start.  I'm
pretty sure that the complexity of the task I'm trying to accomplish isn't
too hard, but the wealth of information is confusing.


- Raw text -


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