Page 1 of 1

16bit Plain Binary C Compiler HELP HELP HELP Please

Posted: Mon Feb 26, 2007 3:45 pm
by matias_beretta
Hello and thanks for reading my post. I am developing a real mode operating system and i would like to use a higher level programming languaje because assembler is very complicated. Is it posible to use a higher level languaje in real mode?, if yes, tell me the name of a 16 bit Plain Binary C Compiler...

Thanks
Matías Beretta ARGENTINA

Posted: Mon Feb 26, 2007 3:53 pm
by Brynet-Inc
Greetings matias_beretta..

I hope this is what you're looking for :)

http://www.cix.co.uk/~mayday/

The available above includes bcc(Bruce's C Compiler) ld86 and as86.. (A linker and an assembler..)

You will still need to use ASM for things though....

Lots of thanks

Posted: Mon Feb 26, 2007 4:09 pm
by matias_beretta
Thanks for replying me, now i will see if the page you give me is what i am finding, see you later

Posted: Mon Feb 26, 2007 4:09 pm
by Alboin
Brynet-Inc wrote:Greetings matias_beretta..

I hope this is what you're looking for :)

http://www.cix.co.uk/~mayday/
Thanks. I've been looking for that link for 3 months now. Although, I have forgotten why....

Posted: Mon Feb 26, 2007 4:14 pm
by matias_beretta
I'm sorry but it isn't what i am finding.

I am finding a c compiler such as gcc , djgpp, mingw, that generates 16 bits code.

Thanks

Posted: Mon Feb 26, 2007 4:18 pm
by Alboin
matias_beretta wrote:I am finding a c compiler such as gcc , djgpp, mingw, that generates 16 bits code.
Bruce's C Compiler is a 16-bit C compiler.

Posted: Mon Feb 26, 2007 4:21 pm
by matias_beretta
Bruces'C Compiler is for windows???????

Posted: Mon Feb 26, 2007 4:50 pm
by Brynet-Inc
matias_beretta wrote:Bruces'C Compiler is for windows???????
If it doesn't compile in MinGW.. Just use Cygwin :roll:

Posted: Wed Feb 28, 2007 3:01 am
by Solar
matias_beretta wrote:Bruces'C Compiler is for windows???????
You didn't mention Windows before...

The (free) Borland C/C++ builder can, IIRC, generate 16bit code. You might also want to check out the 16-bit-tools from DJGPP, although I don't recommend DJGPP to start with, and the 16-bit-tools seem to be dated / incomplete judging from that site.

Then again, perhaps you'd best follow Brynet-Inc's advice, install Cygwin and compile BCC for yourself.

Posted: Thu Mar 01, 2007 11:24 am
by Candy
for Bruce's C Compiler in specific, be warned that it itself only accepts K&R style C. It does come with a bit of a preprocessor that allows a bit of "modern" C, but it's still a valid point.