Add preliminary bootloader
This bootloader right now just prints the letter A, but should be capable of reading blocks from the SD card into memory.
This commit is contained in:
11
sw/bootloader/main.c
Normal file
11
sw/bootloader/main.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "bios_calls.h"
|
||||
#include "uart.h"
|
||||
|
||||
//Should probably do this in asm
|
||||
void load_bootsect() {
|
||||
uart_txb_block('A');
|
||||
for (;;);
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user