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
Another "Interesting Error"
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Another "Interesting Error"
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" ?
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"
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.
Anyway i got it working so thanks a lot.
Only Human