delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/03/05:04:37

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Meynard" <philippe DOT meynard AT vendeeconcept DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: PB with bootloader's Bill Curie
Date: Thu, 3 Jan 2002 10:52:33 +0100
Organization: Wanadoo, l'internet avec France Telecom
Lines: 43
Message-ID: <a119mc$3is$1@wanadoo.fr>
References: <a0fe13$jc7$1 AT wanadoo DOT fr> <20011228112456 DOT A18057 AT kendall DOT sfbr DOT org> <20011228184509 DOT GA16364 AT taniwha DOT org>
NNTP-Posting-Host: anantes-101-1-3-141.abo.wanadoo.fr
X-Trace: wanadoo.fr 1010051596 3676 217.128.66.141 (3 Jan 2002 09:53:16 GMT)
X-Complaints-To: abuse AT wanadoo DOT fr
NNTP-Posting-Date: 3 Jan 2002 09:53:16 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

OK I try it
THANKS and good year.

Bill Currie <bill AT taniwha DOT org> a écrit dans le message :
20011228184509 DOT GA16364 AT taniwha DOT org...
> On Fri, Dec 28, 2001 at 11:24:56AM -0600, JT Williams wrote:
> > -: I unpack kernel.zip package of Bill Curie, its ok
> > -: but, when I compile kernel I have the follow error:
> > -: "as -o init.o init.s
> > -: init.s : Assembler messages:
> > -: init.s:128: Error: Values of -326 too large for field of 1 bytes at
0x145
> > -: make.exe: *** [init.o] Error 1"
> > -: And in the file init.s in line 128, I have :
> > -: "jcxz    0"
> > -: I used djgpp2.01 and I try with djgpp2.03 with the same error.
> > -: Can you help me !!!
>
> Looks like binutils has changed how it handles that
>
> waitkb:
>         xorl    %ecx,%ecx
> 1:      jmp     2f
> 2:      jcxz    3f
> 3:      inb     $0x64,%al
>         testb   $2,%al
>         loopnz  1b
>         ret
>
> ie, change the jmp (and jcxz) 0 to jmp label with a temp label immediately
> following. There are a few other jumps that will need to be modified
> similarly. One in read_cmos and one in start:
>
>         jmp     0                   # flush the instruction pipeline
>
> (that's the one in start as it's a little harder to find)
>
> HTH
> Bill
> --
> Leave others their otherness. -- Aratak


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019