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
os programmer
-
- Posts: 10
- Joined: Tue Feb 09, 2016 4:24 am
- Libera.chat IRC: swad-al-lail
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: os programmer
Don't make Beginner Mistakes and ask for code.
Re: os programmer
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
Covered in the wikiswadallail wrote: and put that in The flash that emulates HDD
Irrelevantswadallail wrote: size the flash 8GB