|
|
@ -1,7 +1,11 @@
|
|
|
|
#Not My Default Bootloader
|
|
|
|
#Not My Default Bootloader
|
|
|
|
This bootloader displays a minimal publication
|
|
|
|
This bootloader displays a minimal publication
|
|
|
|
|
|
|
|
|
|
|
|
The bootloader only has a size of 512 bytes. (Therefore I added a second stage to load a program into the memory)
|
|
|
|
The bootloader only has a size of 512 bytes.
|
|
|
|
|
|
|
|
Therefore I added a second stage to load a program into the memory
|
|
|
|
|
|
|
|
Actually the publication loads different programs into the memory (every part is a seperate program)
|
|
|
|
|
|
|
|
and from everywhere you can go back into the bootloader program.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Make
|
|
|
|
#Make
|
|
|
|
```make
|
|
|
|
```make
|
|
|
@ -9,9 +13,12 @@ make
|
|
|
|
make run
|
|
|
|
make run
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Dependencies
|
|
|
|
|
|
|
|
*nasm
|
|
|
|
|
|
|
|
*qemu to simulate (but you can also boot directly from USB then there's no need to emulate)
|
|
|
|
|
|
|
|
|
|
|
|
##Useful resources
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##Useful resources
|
|
|
|
###interrupts
|
|
|
|
###interrupts
|
|
|
|
http://stanislavs.org/helppc/idx_interrupt.html
|
|
|
|
http://stanislavs.org/helppc/idx_interrupt.html
|
|
|
|
|
|
|
|
|
|
|
|