From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Underwood Subject: using elks-libc for DOS development Date: Fri, 5 Mar 2004 01:42:16 -0600 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20040305074216.GE3291@dbz.icequake.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Return-path: Content-Disposition: inline List-Id: To: linux-8086@vger.kernel.org --hHWLQfXTYDoKhP50 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 <=3D 1MB) C development with it? Thanks! --=20 Ryan Underwood, --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFASC9YIonHnh+67jkRAm0CAKCwXuM1IXeOENdYIROqsGMCM6WrsACfeKhe gdPl4nh8hjdHcHTheC1zzi8= =X7E7 -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50--