Skip to content

Commit

Permalink
properly align the floppy size
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Somerville committed Apr 20, 2014
1 parent 0cb6b70 commit d4d43a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ all: floppy.img
$(NASM) -f elf32 -o $@ $<

floppy.img: loader.bin main.bin
cat $^ > $@
dd if=/dev/zero of=$@ bs=512 count=2 &>/dev/null
cat $^ | dd if=/dev/stdin of=$@ conv=notrunc &>/dev/null

loader.bin: loader.asm
$(NASM) -o $@ -f bin $<
Expand Down

0 comments on commit d4d43a6

Please sign in to comment.