Page 1 of 2

Errors made it through!

Posted: Tue Mar 23, 2004 3:59 pm
by mr. x
I'm using John Fines bootloader, but when I try to add some code to it I and assemble, I get this error message:

bootf.asm:355: panic: errors made it through from pass one

And no other error messages! Why is this?

Re:Errors made it through!

Posted: Tue Mar 23, 2004 4:23 pm
by mr. xsism
what the!? What assembler did you use??

Re:Errors made it through!

Posted: Tue Mar 23, 2004 4:29 pm
by mr. x
Oh, should have told you that :)
nasm.

Re:Errors made it through!

Posted: Wed Mar 24, 2004 3:23 am
by bubach
what code do u add and where?

/ Christoffer

Re:Errors made it through!

Posted: Wed Mar 24, 2004 1:06 pm
by mr. x

Code: Select all

   mov    ah, 0x9
   mov   al, '*'
   mov   bh, 0
   mov   bl, 0x7
   mov   cx, 0
   int 0x10
The same result wherever I put it...

Re:Errors made it through!

Posted: Wed Mar 24, 2004 1:18 pm
by HOS
weird... do you have spaces/tabs before your instructions in your actual code, or are your instructions (ex "mov") at the very beginning of the line?

Re:Errors made it through!

Posted: Wed Mar 24, 2004 1:26 pm
by Candy
How about

Code: Select all

   mov    ah, 9h
   mov   al, '*'
   mov   bh, 0
   mov   bl, 7h
   mov   cx, 0
   int 10h
?

Re:Errors made it through!

Posted: Wed Mar 24, 2004 2:13 pm
by mr. x
Candy wrote: How about

Code: Select all

   mov    ah, 9h
   mov   al, '*'
   mov   bh, 0
   mov   bl, 7h
   mov   cx, 0
   int 10h
?
Still "Errors made it through from pass one"

Re:Errors made it through!

Posted: Wed Mar 24, 2004 2:25 pm
by Candy
Could you post the code so we can take a look at it?

Re:Errors made it through!

Posted: Wed Mar 24, 2004 3:58 pm
by ASHLEY4
In the readme file does it not say what the error code means or is that number a pointer?.

ASHLEY4.

Re:Errors made it through!

Posted: Thu Mar 25, 2004 3:04 am
by Pype.Clicker
never heard of such an error code either. What version of nasm is it ? did you checked for more recent/stable ones ?

Re:Errors made it through!

Posted: Thu Mar 25, 2004 3:46 am
by bubach
Candy wrote: How about

Code: Select all

   mov    ah, 9h
   mov   al, '*'
   mov   bh, 0
   mov   bl, 7h
   mov   cx, 0
   int 10h
?
0x9 and 9h are the same thing. it should not make any diffrens..

Re:Errors made it through!

Posted: Thu Mar 25, 2004 3:54 am
by Candy
bubach wrote: 0x9 and 9h are the same thing. it should not make any diffrens..
it SHOULD not. That's exactly why I asked.

Re:Errors made it through!

Posted: Thu Mar 25, 2004 10:53 am
by Therx
I had exactly the same problem with Bootf02 and NASM the other day. I think the code I had to change was a mov bx, 0 and I replaced it with xor bx, bx and it worked ???

Hope this helps

Pete

Re:Errors made it through!

Posted: Thu Mar 25, 2004 11:22 am
by Candy
*makes a very nice guess*

You might be *just* over the max amount of bytes in the boot sector, causing the times-thing to want to make -1 or even less zeroes padding, thus crashing nasm.