X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Thomas Mueller" Newsgroups: comp.os.msdos.djgpp Subject: Re: True 32-bit OS possible ? Date: 21 Jan 2002 09:15:51 GMT Lines: 37 Message-ID: References: <23f2cfa0 DOT 0201181821 DOT 17f380e8 AT posting DOT google DOT com> NNTP-Posting-Host: dial2-97.bluegrass.net (208.147.34.97) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1011604551 34850704 208.147.34.97 (16 [49635]) X-Mailer: NOS-BOX 2.05 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com from broker_3 AT yahoo DOT com (ee) : >Is there a true 32-bit OS that can execute C programs involving >interrupts without using extentions or Protected Mode or any such tricks ? I am >looking for a OS that does not require C programs to have OS specific >commands written into it. Ideally a compiler and OS that can create a >"straight" executable without support apps. I think this is a design flaw of the Intel x86 line of CPU chips, originally designed when 640 KB RAM was thought plenty for anybody's needs. Now for backward compatibility, these CPUs start in 16-bit real mode. I think PowerPC is straight 32-bit, Sparc (non-Ultra) is straight 32-bit, Alpha and Ultra Sparc are 64-bit, and as far as I know, these CPUs don't distinguish between real and protected mode. from Andrew Cottrell : > I am not aware of such an OS as interrupts are not defined in C. By this I mean that interrupts by their nature are used to access some hardware sepcific to an OS or hardware platform which is non portable to other OS's and other hardware platforms. > If you would like to find a 32 bit RTOS where the RTOS or compiler has support for interrupts then these do exist, but the code is usually not portable to another RTOS. Sounds like this is what you want. There are a allot of them out there, check out www.esp.com or do a search. There are a few free RTOS's available, but I have not used them. They vary in what they support and features. > If you want to play with serial comms and other hardware device in a PC hardware platform and not have to worry about the complexities of how it is done then there are a number of serial comms packages available for DJGPP that hide the complexities of access the hardware. Where do I find such serial comms packages, and would they be for 32-bit DOS (DPMI) without MS-Windows?