redox/bootloader/x86_64/harddrive.asm

22 lines
364 B
NASM
Raw Normal View History

2016-08-14 02:21:46 +02:00
%include "bootsector.asm"
startup_start:
%ifdef ARCH_i386
%include "startup-i386.asm"
%endif
%ifdef ARCH_x86_64
%include "startup-x86_64.asm"
%endif
align 512, db 0
startup_end:
kernel_file:
2016-09-11 06:06:09 +02:00
incbin "build/kernel/kernel"
2016-08-14 02:21:46 +02:00
align 512, db 0
.end:
.length equ kernel_file.end - kernel_file
.length_sectors equ .length / 512
2016-09-28 05:56:29 +02:00
incbin "build/filesystem.bin"