Commit 1135c7065d9c6d600d99b2f28545535b9b1865de
1 parent
311579e5
--no commit message
Showing
3 changed files
with
7 additions
and
4 deletions
Makefile
1 | -TARGETS = floppy.img boot.bin | 1 | +TARGETS = boot_floppy.bin boot_usb.bin |
2 | 2 | ||
3 | 3 | ||
4 | -boot.bin: boot.asm | ||
5 | - nasm boot.asm -f bin -o boot.bin | ||
6 | - dd if=boot.bin of=floppy.img bs=512 count=1 conv=notrunc | 4 | +boot_floppy.bin: boot_floppy.asm floppy.img |
5 | + nasm boot_floppy.asm -f bin -o boot_floppy.bin | ||
6 | + dd if=boot_floppy.bin of=floppy.img bs=512 count=1 conv=notrunc | ||
7 | + | ||
8 | +boot_usb.bin: boot_usb.asm | ||
9 | + nasm boot_usb.asm -f bin -o boot_usb.bin | ||
7 | 10 | ||
8 | floppy.img: | 11 | floppy.img: |
9 | dd if=/dev/zero of=floppy.img bs=512 count=2880 | 12 | dd if=/dev/zero of=floppy.img bs=512 count=2880 |
boot.asm renamed to boot_floppy.asm
boot.bin renamed to boot_floppy.bin
No preview for this file type