using elks-libc for DOS development

Ryan Underwood
2004-03-05T07:42:16Z

[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]

Hi,

I want to do some 16-bit development for FreeDOS on embedded 8086.
Is bcc + ELKS libc suitable enough to e.g. replace Turbo C for this
task? Looking through the source, I see some normal functions like
geninterrupt() are stubbed out, and some other things like intdos do not
exist. Basically, I need to use software interrupts for DOS API, and to
install my own interrupt handler as a TSR and invoke it from another
program too. I am also needing to handle external hardware interrupts
such as the system timer.

Besides ELKS libc, are there any other free C libraries suitable for
16-bit DOS application development? I find a 16-bit version of DJGPP,
but it has no C library. :( I would use a 32-bit version of DJGPP, but
the device only has 512k of memory; the necessity of the DPMI server
would be a waste, as well as the bloat of glibc. I guess there is
Open Watcom now, but does anyone have experience doing small footprint
(8086 <= 1MB) C development with it?

Thanks!

--
Ryan Underwood, <nemesis@icequake.net>

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]