From owner-freebsd-current Thu Nov 21 00:33:05 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA12466 for current-outgoing; Thu, 21 Nov 1996 00:33:05 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA12461 for ; Thu, 21 Nov 1996 00:33:01 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id TAA09799; Thu, 21 Nov 1996 19:23:45 +1100 Date: Thu, 21 Nov 1996 19:23:45 +1100 From: Bruce Evans Message-Id: <199611210823.TAA09799@godzilla.zeta.org.au> To: bde@zeta.org.au, Christian.Gusenbauer@utimaco.co.at Subject: Re: cdrom boot? Cc: Christian.Gusenbauer@safeconcept.utimaco.co.at, freebsd-current@freebsd.org, joerg_wunsch@uriah.heep.sax.de Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> ; 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. >How about libraries? Is it possible to link DOS libs and/or obj files? No. Bruce