16bit Plain Binary C Compiler HELP HELP HELP Please

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
matias_beretta
Member
Member
Posts: 101
Joined: Mon Feb 26, 2007 3:39 pm

16bit Plain Binary C Compiler HELP HELP HELP Please

Post 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
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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....
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
matias_beretta
Member
Member
Posts: 101
Joined: Mon Feb 26, 2007 3:39 pm

Lots of thanks

Post 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
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post 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....
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
matias_beretta
Member
Member
Posts: 101
Joined: Mon Feb 26, 2007 3:39 pm

Post 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
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post 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.
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
matias_beretta
Member
Member
Posts: 101
Joined: Mon Feb 26, 2007 3:39 pm

Post by matias_beretta »

Bruces'C Compiler is for windows???????
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

matias_beretta wrote:Bruces'C Compiler is for windows???????
If it doesn't compile in MinGW.. Just use Cygwin :roll:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post 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.
Every good solution is obvious once you've found it.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Post 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.
Post Reply