Date: Thu, 21 Nov 1996 11:09:02 +0100 From: "DI. Christian Gusenbauer" <Christian.Gusenbauer@utimaco.co.at> To: Bruce Evans <bde@zeta.org.au> Cc: Christian.Gusenbauer@safeconcept.utimaco.co.at, freebsd-current@freebsd.org Subject: Re: cdrom boot? Message-ID: <32942A3E.766@utimaco.co.at> References: <199611210823.TAA09799@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32942A3E.766>