This is my LoadSectors Command
Code: Select all
LoadSectors:
mov ax, 0x7E00
mov es, ax
mov si, es
call PrintString
xor bx, bx
mov si, bx
call PrintString
mov ah, 0x02
mov al, 1
mov ch, 0
mov cl, 02h
mov dh, 0x00
mov dl, 0x00
int 0x13
ret
http://pastebin.com/m5fc26067
I would really appreciate the help, I have been trying to figure this out for a while, the kernel is a simple loop that allows you to press a key and it prints it, 5 lines, and i have verified that the kernel works...
The very last line of my bootlaoder (the pastebin) link has the %include "kernel.asm" file after the 512 byte mark, would this put kernel at the next sector? maybe this is my problem?
Im sry I edited the bootcode, there is a Jmp 0x7E00 before the Jmp $