Find bootloader in FAT
This commit is contained in:
@@ -3,7 +3,8 @@ MEMORY
|
||||
ZP: start = $0, size = $100, type = rw, define = yes;
|
||||
KERNEL: start = $1000, size = $7000, type = rw, define = yes;
|
||||
SDRAM: start = $9000, size = $5000, type = rw, define = yes;
|
||||
BOOTLOADER: start = $8000, size = $1000, type = rw, define = yes, file = "bootloader.bin";
|
||||
BOOTSECTOR: start = $8000, size = $200, type = rw, define = yes, file = "bootloader.bin";
|
||||
BOOTLOADER: start = $8200, size = $1000, type = rw, define = yes, file = "boot2.bin";
|
||||
ROM: start = $F000, size = $1000, file = %O;
|
||||
}
|
||||
|
||||
@@ -17,7 +18,8 @@ SEGMENTS {
|
||||
CODE: load = ROM, type = ro;
|
||||
RODATA: load = ROM, type = ro;
|
||||
VECTORS: load = ROM, type = ro, start = $FFFA;
|
||||
BOOTSECTOR: load = BOOTLOADER, type = rw, start = $8000;
|
||||
BOOTSECTOR: load = BOOTSECTOR, type = rw, start = $8000;
|
||||
BOOTLOADER: load = BOOTLOADER, type = rw;
|
||||
}
|
||||
|
||||
FEATURES {
|
||||
|
||||
Reference in New Issue
Block a user