Commit 5a80576577c9b054e879341bee6e0653d04f21d4

Authored by Imanol-Mikel Barba Sabariego
1 parent a082d5be

--no commit message

Showing 2 changed files with 4 additions and 5 deletions
Makefile
@@ -2,19 +2,18 @@ TARGETS = boot_floppy.bin boot_usb.bin second_binary.bin @@ -2,19 +2,18 @@ TARGETS = boot_floppy.bin boot_usb.bin second_binary.bin
2 2
3 3
4 boot_floppy.bin: boot_floppy.asm floppy.img 4 boot_floppy.bin: boot_floppy.asm floppy.img
5 - nasm boot_floppy.asm -f bin -o boot_floppy.bin 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 6 dd if=boot_floppy.bin of=floppy.img bs=512 count=1 conv=notrunc
7 7
8 boot_usb.bin: boot_usb.asm usb.img 8 boot_usb.bin: boot_usb.asm usb.img
9 - nasm boot_usb.asm -f bin -o boot_usb.bin 9 + nasm boot_usb.asm -f bin -o boot_usb.bin; \
10 dd if=boot_usb.bin of=usb.img bs=512 count=1 conv=notrunc 10 dd if=boot_usb.bin of=usb.img bs=512 count=1 conv=notrunc
11 11
12 second_binary.bin: second_binary.asm floppy.img usb.img 12 second_binary.bin: second_binary.asm floppy.img usb.img
13 - nasm second_binary.asm -f bin -o second_binary.bin  
14 - dd if=second_binary.bin of=floppy.img bs=512 count=1 seek=3 conv=notrunc 13 + nasm second_binary.asm -f bin -o second_binary.bin; \
  14 + dd if=second_binary.bin of=floppy.img bs=512 count=1 seek=3 conv=notrunc; \
15 dd if=second_binary.bin of=usb.img bs=512 count=1 seek=3 conv=notrunc 15 dd if=second_binary.bin of=usb.img bs=512 count=1 seek=3 conv=notrunc
16 16
17 -  
18 floppy.img: 17 floppy.img:
19 dd if=/dev/zero of=floppy.img bs=512 count=2880 18 dd if=/dev/zero of=floppy.img bs=512 count=2880
20 19
No preview for this file type