flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > High Level Languages > 16 bit HL Compiler, no DOS-Only fans please.

Author
Thread Post new topic Reply to topic
sid123



Joined: 30 Jul 2013
Posts: 340
Location: Asia, Singapore
16 bit HL Compiler, no DOS-Only fans please.
Hi,
I am looking for a 16 bit HL (preferably C), compiler. I am planning to start a new OS where in everything would be written in an high level language including the boot sector. Don't ask why.
Also, I'd like to use them for my current real mode OS project, for applications. I have both UNIX and Windows Machines, so platform isn't a problem. The only 4 things I need are :
1. No DOS interrupt usage, My OS will/does not support any DOS interrupt.
2. My OS Loads specific files at specific points, for example the application dependencies are loaded at 0x0000, the application code is loaded at 0x7000.
3. File Headers
Ability to spit out NEX files (joking it's my own file format which looks like this, pseudo code Razz)

Code:

struc NEX_HEADERS NEX_ENTRYPOINTNEX_DATA_SECTIONNEX_ REALLOC_SEGNEX_INFO
{
      db 'NT'
     .entry dw NEX_ENTRYPOINT
     .data_sec dw NEX_DATA_SECTION
     .ralloc_seg dw NEX_REALLOC_SEG
     .file_attr dw NEX_INFO
}



4. Multi Segmented model is preferred but not compulsory.
So does anyone know if such a compiler exists?
In my research I've found these ones :
Sphinx C--, Problem comes about documentation and headers.
OpenWatcom, Never used it but seeing that FreeDOS uses OpenWatcom gives me a good impression.
Bruce C Compiler, Solves everything but there is a not enough documentation.
GCC, I hate the Operand Size prefix, makes it incompatible with the 8086.
Cheers,
sid123

_________________
"Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X
XD
Post 31 Jan 2014, 05:29
View user's profile Send private message Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 224
Did you ever find something suitable to your needs? I've been wondering the same thing for some time now.
Post 30 Jun 2015, 09:01
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.