4c45d42fcb | 6 years ago | |
---|---|---|
.program2.asm.swp | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
boot.asm | 6 years ago | |
boot.bin | 6 years ago | |
disk.img | 6 years ago | |
program.asm | 6 years ago | |
program.bin | 6 years ago | |
program2.asm | 6 years ago | |
program2.bin | 6 years ago | |
program_backup.asm | 6 years ago | |
program_graphicsmode.asm | 6 years ago |
README.md
#Not My Default Bootloader 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 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 run
#Dependencies *nasm *qemu to simulate (but you can also boot directly from USB then there's no need to emulate)
##Useful resources ###interrupts http://stanislavs.org/helppc/idx_interrupt.html
###BIOS colors https://en.wikipedia.org/wiki/BIOS_color_attributes
###Second stage bootloader booting from usb https://stackoverflow.com/questions/36044706/enable-the-boot-loader-to-load-the-second-sector-of-a-usb
###Tutorial on second stage / read interrupt BUT only for floppy :( For disk see above https://blog.ghaiklor.com/how-to-implement-a-second-stage-boot-loader-80e75ae4270c
###Boc drawing characters https://en.wikipedia.org/wiki/Box-drawing_character