Page 1 of 1
os programmer
Posted: Wed Feb 17, 2016 3:37 am
by swadallail
hi Guys
I want an example of a simple bootloader loads the kernel into memory
and kernel will print anything
and put that in The flash that emulates HDD
size the flash 8GB
Re: os programmer
Posted: Wed Feb 17, 2016 3:48 am
by Combuster
Don't make
Beginner Mistakes and ask for code.
Re: os programmer
Posted: Wed Feb 17, 2016 5:38 pm
by azblue
swadallail wrote:hi Guys
I want an example of a simple bootloader loads the kernel into memory
Code: Select all
setUpSegmentsMacro
mov eax, kernelStartSector
mov ebx, 8000h
mov ecx, sizeOfKernelInSectors
call loadSectors
jmp 0:8000h
;see RBIL int 13h for info on how to implement loadSectors
swadallail wrote:
and kernel will print anything
Code: Select all
mov esi, anything
call printAnything
;see RBIL int 10h for info on how to implement a printChar function
swadallail wrote:
and put that in The flash that emulates HDD
Covered in the wiki
swadallail wrote:
size the flash 8GB
Irrelevant