Date: Thu, 21 Nov 1996 06:30:35 +1100 From: Bruce Evans <bde@zeta.org.au> To: Christian.Gusenbauer@utimaco.co.at, joerg_wunsch@uriah.heep.sax.de Cc: Christian.Gusenbauer@safeconcept.utimaco.co.at, freebsd-current@freebsd.org Subject: Re: cdrom boot? Message-ID: <199611201930.GAA18450@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>I tried to port fbsdboot to bcc a year ago. Unfortunately, bcc doesn't >understand inline assembler statements (AFAIR) Yes it does: int main(argc, argv) int achar **argv; { int foo; ; /* end declarations to get frame allocated */ #asm ; Offsets are relative to sp so they are only easy to use on x86's ; for x >= 3. mov ax,_main.argc[sp] mov bx,_main.argv[sp] mov cx,_main.foo[sp] mov dx,1 ... #endasm } >and I'm not very familar >with the unix assembler. It doesn't use "the" unix assembler. >Does bcc support 32bit pointers/addresses (like >the 'far' masm statement)? No. It only supports pure tiny and small models. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611201930.GAA18450>