From: "Dave White" Newsgroups: comp.os.msdos.djgpp References: <390f923f$0$91337$61169c8d AT news DOT thebestisp DOT com> <390FA2E3 DOT 9944E12D AT mtu-net DOT ru> Subject: Re: Embedded programming Date: Tue, 2 May 2000 23:35:21 -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: 77 Message-ID: <390fac4f$0$72527$61169c8d@news.thebestisp.com> NNTP-Posting-Host: 55fd8727.news.thebestisp.com X-Trace: 957328463 gemini.thebestisp.com 72527 209.98.117.43 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 Hi Alexei, I downloaded the files from your site and spent the last few hours reading through the documentation and source code, and it looks like this will do exactly what I need!!! Thanks for all your help and input. -- Dave White SpectraChrom Software www.spectrachrom.com Alexei A. Frounze wrote in message news:390FA2E3 DOT 9944E12D AT mtu-net DOT ru... > 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 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. >