Kernel Prints OEM_ID???
Posted: Sat Sep 29, 2007 8:49 am
Hello Friends,
I am using an example of a FAT16 bootload that jumps to loader.bin, when I am in loader.bin i use the following code.
My DisplayMessage Will print whatever was in the OEM_ID of that FAT16 header, why is this and how can I get around it. Also, can someone please direct me to a better tutorial on how to use FAT and not just a documentation?
Thank you all
I am using an example of a FAT16 bootload that jumps to loader.bin, when I am in loader.bin i use the following code.
Code: Select all
jmp main
welcome db "Welcome to FixAnywhere"
main:
cli
mov ax, 0x0000
mov ss, ax
mov sp, 0xFFFF
sti
mov si, welcome
call DisplayMessage
jb done
DisplayMessage:
lodsb
or al, al
jz .DONE
mov ah, 0x0E
mov bh, 0x00
mov bl, 0x07
int 0x10
jmp DisplayMessage
.DONE
ret
done:
Thank you all