From owner-freebsd-current Thu Nov 21 02:12:44 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA15736 for current-outgoing; Thu, 21 Nov 1996 02:12:44 -0800 (PST) Received: from jupiter.planet.co.at (jupiter.planet.co.at [193.170.249.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA15715 for ; Thu, 21 Nov 1996 02:12:24 -0800 (PST) Received: from safeconcept.utimaco.co.at (safeconcept.utimaco.co.at [193.170.249.226]) by jupiter.planet.co.at (8.6.12/8.6.12) with ESMTP id LAA08833; Thu, 21 Nov 1996 11:08:22 +0100 Received: from christian (christian.utimaco.co.at [10.0.0.39]) by safeconcept.utimaco.co.at (8.6.12/8.6.12) with SMTP id LAA00949; Thu, 21 Nov 1996 11:08:39 +0100 Message-ID: <32942A3E.766@utimaco.co.at> Date: Thu, 21 Nov 1996 11:09:02 +0100 From: "DI. Christian Gusenbauer" Organization: Utimaco Safe-Concept X-Mailer: Mozilla 2.01 (WinNT; I) MIME-Version: 1.0 To: Bruce Evans CC: Christian.Gusenbauer@safeconcept.utimaco.co.at, freebsd-current@freebsd.org Subject: Re: cdrom boot? References: <199611210823.TAA09799@godzilla.zeta.org.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > >> ; Offsets are relative to sp so they are only easy to use on x86's > >> ; for x >= 3. > >> mov ax,_main.argc[sp] > > This actually needs to use esp, since [sp] doesn't work on any x86. Clear > the high 16 bits of esp before using it and pray that interrupt handlers > don't change them. :) > > >> >Does bcc support 32bit pointers/addresses (like > >> >the 'far' masm statement)? > >> > >> No. It only supports pure tiny and small models. > > > >So I have to generate the 32bit asm 'by hand' using 'db' statements. > > I meant that the compiler doesn't support it. The assembler supports > all modes. So I can use any x86 (where x >= 3) asm statement (mov's to cr0, ...) in the inline assembler? > > >How about libraries? Is it possible to link DOS libs and/or obj files? > > No. Is there any standard c library I can use (eg. to use printf, and file i/o)? Thanks, Christian. -- Christian Gusenbauer Christian.Gusenbauer@utimaco.co.at