Minimized multiboot works!

This commit is contained in:
Ciro Santilli
2015-09-11 12:12:31 +02:00
parent 349c9bd510
commit 82bd584e71
16 changed files with 137 additions and 6 deletions

20
linker.ld Normal file
View File

@@ -0,0 +1,20 @@
SECTIONS
{
/*
We could also pass the -Ttext 0x7C00 to as instead of doing this.
If your program does not have any memory accesses, you can omit this.
*/
. = 0x7c00;
.text :
{
*(.*)
/*
Magic bytes. 0x1FE == 510.
We could add this on each Gas file.
*/
. = 0x1FE;
SHORT(0xAA55)
}
}