Real mode compiler
Real mode compiler
Hello,
well after having my computer down for 2 weeks because the BIOS chip was fried ( NEVER TRY TO UPGRADE YOU BIOS ), 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
well after having my computer down for 2 weeks because the BIOS chip was fried ( NEVER TRY TO UPGRADE YOU BIOS ), 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
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.
K.J.
Re:Real mode compiler
oh, ty but I finaly got into PMode. so I tried to delete this but it said i couldn't
Re:Real mode compiler
ok I changed my mind . Is there a GNU c compiler for DOS that'll makes 16-bit real mode binary code?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Real mode compiler
not to my humble knowledge ... maybe in embedded C compilers (but they rarely supports the full ANSI C, though ...)
Re:Real mode compiler
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
You may want to do a search on the Free Compiler List, as it is likely to have several 16-bit C compilers.