summaryrefslogtreecommitdiff
path: root/src/magic.asm
blob: 56f16c5ce7baf90e7a567b271129cc3c23bcc8db (plain)
1
2
3
4
5
6
7
8
9
10
11
; pad rest of sector with zeroes so we get 512 bytes in the end
times 512-31-($-$$) db 0

; the magic string we search for in stage 2 to ensure we don't read
; a truncated kernel image
; we make it unique per compilation to avoid funny problems if
; the size of the image differs between compilation stpes and the
; host system doens't initialize or randomize the RAM.
; __UTC_DATE_NUM__ is YYYY-MM-DD
; __UTC_TIME_NUM__ is HH:mm:SS
db "ABAOSMAGIC ", __UTC_DATE__, " ", __UTC_TIME__, 0