Mail Archives: djgpp/2000/05/02/23:47:01
Start with DJGPP/NASM and my OSLoader.
OSLoader can boot from a disk (any MS FAT12/16 disk), setup PMode and run your
32-bit program made with DJGPP & NASM.
Take a look at my homepage.
I belive you could just modify a little OSLoader so that it load particular
binaryfile but not waite for its name from the keyboard.
--
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror: http://members.xoom.com/alexfru
Dave White wrote:
>
> 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 -