explicitly check origin

This commit is contained in:
Connor Olding 2018-08-21 07:02:37 +02:00
parent 830e40a470
commit b692eba9f5

View file

@ -16,8 +16,9 @@ base 0x80000000
include "header.asm"
insert "bin/6102.bin"
// after inserting the header and bootrom,
// origin should be at 0x1000.
if origin() != 0x1000 {
error "bad header or bootcode; combined sized should be exactly 0x1000"
}
include "kernel.asm"