Thread: 16 bits ompiler

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    18

    16 bits ompiler

    Hi,

    could any one please recommended a 16 bits C compiler works under dos
    with inline asm support,except TCC.

    Thanx.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Microsoft C version 6 or Visual C++ version 1.52 perhaps?

    What are your requirements, besides working under DOS and supporting inline assembler?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    18
    I want to write a real mode os using this compiler.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by abuashraf View Post
    I want to write a real mode os using this compiler.
    Which brings the question as to what features you want from the compiler - or why can't you use Turbo C?

    I personally wouldn't write a real mode OS, but that's because I've already written a couple in protected mode.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    18
    it's a university project,and I worked with turbo C alot before and now
    i want to try somthing different.

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I'm pretty sure that you will struggle to find anything that is "better", unless you are looking at embedded compilers for x86. I was not immediately able to find something, but that would certainly be the only valid option - and we're probably talking $$$$ for such a compiler.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #7
    Registered User valaris's Avatar
    Join Date
    Jun 2008
    Location
    RING 0
    Posts
    507
    Edit: Deleted

  8. #8
    Registered User
    Join Date
    Aug 2006
    Posts
    18
    okay Thanks ,then I'll just stick with TCC

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Copying 32 bits into 16 bit integer???
    By blackCat in forum C Programming
    Replies: 4
    Last Post: 02-17-2009, 10:00 AM
  2. SDLKey to ASCII without unicode support?
    By zacs7 in forum Game Programming
    Replies: 6
    Last Post: 10-07-2007, 03:03 AM
  3. Storing a float in 16 bits
    By kara3434 in forum C Programming
    Replies: 7
    Last Post: 07-31-2007, 01:34 PM
  4. About aes
    By gumit in forum C Programming
    Replies: 13
    Last Post: 10-24-2006, 03:42 PM
  5. SSH Hacker Activity!! AAHHH!!
    By Kleid-0 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 03-06-2005, 03:53 PM