From owner-freebsd-hackers Mon Oct 30 00:52:17 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA12701 for hackers-outgoing; Mon, 30 Oct 1995 00:52:17 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA12686 for ; Mon, 30 Oct 1995 00:51:54 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA19900 for ; Mon, 30 Oct 1995 09:51:37 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA21667 for freebsd-hackers@freebsd.org; Mon, 30 Oct 1995 09:51:36 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA04933 for freebsd-hackers@freebsd.org; Mon, 30 Oct 1995 09:24:48 +0100 From: J Wunsch Message-Id: <199510300824.JAA04933@uriah.heep.sax.de> Subject: Re: boot disk.... To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Mon, 30 Oct 1995 09:24:48 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199510300635.RAA01084@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Oct 30, 95 05:05:19 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 755 Sender: owner-hackers@freebsd.org Precedence: bulk As Michael Smith wrote: > > > fbsdboot should _be_ a DOS program and be built as a FreeBSD program. > > Then it would be easier to add extensions to it. > > If you have any magic techniqes for converting a FreeBSD binary into DOS > EXE format, I'm keen 8) I currently use the GNU toolchain and the DJGPP > libraries as a cross-development platform for much of our DOS work. bcc (``Bruce's C compiler'', it's in the packages) can compile 16-bit code. With a bit trickery, it's possible to build a .COM file from it (but no .EXE). Look into the pcemu port collection to see how i did it. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)