Re: Kernal.asm build error
Bart Oldeman <[email protected]>
| Newsgroups | gmane.os.freedos.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 26 Sep 2002, Han Cicimen wrote: > When I try to build kernel 2026b I get > Kernel.asm : 98: error :invalid use of far operand specifier > This error repeeats for lines 759, 764 (every line which have far operand.) Yes, this is a bug in newer NASMs, up to and including 0.98.35 (but v0.98 is OK). I submitted a fix to to them and it's in the NASM CVS now. a workaround is to use jmp seg routine:routine instead of jmp far routine and similarly for "call". about kernel size: you need UPX to compress your kernel. http://upx.sourceforge.net in config.bat there are a few lines: :-********************************************************************** :- where is UPX and which options to use? :-********************************************************************** set XUPX=upx --8086 :- or use set XUPX= :- if you don't want to use it Bart ---------- list options/archives/etc.: http://www.topica.com/lists/fd-dev unsubscribe: send blank email to: [email protected] ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bz8Rv5.bafB3U Or send an email to: [email protected] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================