16 bit c compiler for real mode?

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
FaggotLikeAMeatBall
Posts: 3
Joined: Mon Jan 07, 2013 2:29 pm

16 bit c compiler for real mode?

Post by FaggotLikeAMeatBall »

I'm new to the whole os dev scene so for my first project I though to do an os in real mode as I have the BIOS interrupts to help me. My idea for my first project would be a simple BASIC interpreter as an os so I ask: Is the a 16 bit compiler for C?
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: 16 bit c compiler for real mode?

Post by iansjack »

FaggotLikeAMeatBall
Posts: 3
Joined: Mon Jan 07, 2013 2:29 pm

Re: 16 bit c compiler for real mode?

Post by FaggotLikeAMeatBall »

Is that pay only, I'm trying to be a cheap skate and see if the is a free compiler.
User avatar
Karlosoft
Member
Member
Posts: 277
Joined: Thu Feb 14, 2008 10:46 am
Location: Italy
Contact:

Re: 16 bit c compiler for real mode?

Post by Karlosoft »

The old version is free.
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: 16 bit c compiler for real mode?

Post by iansjack »

You only have to follow my link to see that it is free. It's quite a good compiler for 16-bit OS development. Many years ago I used it to type in the entire source code of the first version of Minix and get it running on an IBM PC.
FaggotLikeAMeatBall
Posts: 3
Joined: Mon Jan 07, 2013 2:29 pm

Re: 16 bit c compiler for real mode?

Post by FaggotLikeAMeatBall »

My bad didn't see the download on the page just got all panicy when I hovered other the download tab.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: 16 bit c compiler for real mode?

Post by bubach »

http://www.openwatcom.org/ has 16-bit support.
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Post Reply