Page 1 of 1

Another "Interesting Error"

Posted: Thu Aug 07, 2003 11:53 am
by Neo
This BootLoader code which I have written gives me a strange error. i would appreciate it if any of you could help me out with it.
The file is attached along .I use NASM

Re:Another "Interesting Error"

Posted: Thu Aug 07, 2003 12:31 pm
by Pype.Clicker
1. loading your kernel at 0x700:0 sounds dangerous to me, as it's very close from the position of your bootloader, there are chances (when it'll become bigger) than the kernel overwrites the bootloader ....

2. you load segment registers with FILE_BUFF and then jmp 0000:FILE_BUF. Is file_buff a segment or an offset, after all ??

3. where did you find an assembler that allows "mov cs,ax" ?

Re:Another "Interesting Error"

Posted: Thu Aug 07, 2003 1:23 pm
by Neo
yeah those were some last minute changes I just added without checkin just before i published them on the net
Anyway i got it working so thanks a lot.