greets-
I'm having trouble with a bootsector. I have at
the very end
times 510-($-start) db 0
dw 0xaa55
I also switched start for $$ and it still gave
me the error, 'TIMES value -4 is negative.'
Does anyone know what is going on here? This
should compile but it won't.
error: TIMES value -4 is negative
RE:error: TIMES value -4 is negative
>On 2002-03-27 00:46:22, cyn0n wrote:
>greets-
> I'm having trouble with a bootsector. I have at
>the very end
>
>times 510-($-start) db 0
>dw 0xaa55
>
>I also switched start for $$ and it still gave
>me the error, 'TIMES value -4 is negative.'
>Does anyone know what is going on here? This
>should compile but it won't.
My first thought is to read it literally, and check the size of the boot loader code. From the sound of it, it's about five bytes too long.
Beyond that, I'd say you'd have to post the code, or (more practically) put it on a web site and post a link to it here.
>greets-
> I'm having trouble with a bootsector. I have at
>the very end
>
>times 510-($-start) db 0
>dw 0xaa55
>
>I also switched start for $$ and it still gave
>me the error, 'TIMES value -4 is negative.'
>Does anyone know what is going on here? This
>should compile but it won't.
My first thought is to read it literally, and check the size of the boot loader code. From the sound of it, it's about five bytes too long.
Beyond that, I'd say you'd have to post the code, or (more practically) put it on a web site and post a link to it here.
RE:error: TIMES value -4 is negative
greets-
Thanks, your right. The size was too big so it
wasn't able to fill the document up to 510.
Thanks!
Thanks, your right. The size was too big so it
wasn't able to fill the document up to 510.
Thanks!