Kernel Loading

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Dude

Kernel Loading

Post by Dude »

Can someone post example of a boot-sector loading something from sector 2 ?
I'm having trouble doing it.
My machine either does nothing or prints strange characters across the screen
I found that "Daniels boot sector tutorial" did workk.
I got an error "error writing to offset 2c" or similar to that
Any suggestions ?
Guest

RE:Kernel Loading

Post by Guest »

>On 2002-01-14 18:23:32, Dude wrote:
>Can someone post example of a boot-sector loading something from sector 2 ?
>I'm having trouble doing it.
>My machine either does nothing or prints strange characters across the screen
>I found that "Daniels boot sector tutorial" did workk.
>I got an error "error writing to offset 2c" or similar to that
>Any suggestions ?

Are you using int 0x13 to load sectors? It requires
you to pass the segment:offset of the memory
location that you want the sector to be loaded.
Have you reserved the space within your code...
This is unlikely because your boot code has to fit
in 512bytes...so I assume that you are passing an
arbitrary address!....try different memory locations!
Post Reply