Page 1 of 1

Real mode compiler

Posted: Sat Aug 24, 2002 9:46 pm
by Tom
Hello,
well after having my computer down for 2 weeks because the BIOS chip was fried ( NEVER TRY TO UPGRADE YOU BIOS :o ), I thought that PMode is too much for just trying to get an OS started.

So, does anyone know of a real mode compiler that uses A.OUT format & a linker with it that makes realmode binary code?

Thank you

Re:Real mode compiler

Posted: Sat Aug 24, 2002 9:47 pm
by Tom
Oh, yea, and it has to run on Linux

Re:Real mode compiler

Posted: Mon Aug 26, 2002 4:19 pm
by K.J.
I don't think one for C exists. But NASM can assemble for 16bit or 32bit via the [bits 16] or [bits 32] statement.

K.J.

Re:Real mode compiler

Posted: Mon Aug 26, 2002 4:56 pm
by Tom
oh, ty but I finaly got into PMode. so I tried to delete this but it said i couldn't

Re:Real mode compiler

Posted: Tue Aug 27, 2002 8:46 am
by Tom
ok I changed my mind :o . Is there a GNU c compiler for DOS that'll makes 16-bit real mode binary code?

Re:Real mode compiler

Posted: Wed Aug 28, 2002 3:26 am
by Pype.Clicker
not to my humble knowledge ... maybe in embedded C compilers (but they rarely supports the full ANSI C, though ...)

Re:Real mode compiler

Posted: Wed Aug 28, 2002 4:35 am
by Tim
Borland has early versions of Turbo C++ and Borland C++ available for free from their web site. But they're not GNU, as requested.

Re:Real mode compiler

Posted: Wed Aug 28, 2002 10:13 am
by Schol-R-LEA
You may want to do a search on the Free Compiler List, as it is likely to have several 16-bit C compilers.

Re:Real mode compiler

Posted: Thu Aug 29, 2002 9:33 am
by crazybuddha
Why GNU only??

Re:Real mode compiler

Posted: Thu Aug 29, 2002 12:55 pm
by Tom
Because I want my OS GNU

Re:Real mode compiler

Posted: Thu Aug 29, 2002 1:01 pm
by frank
I think gnu never made a real mode compiler...