X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootsplash;a=blobdiff_plain;f=Makefile;fp=Makefile;h=2ae07cfd7ced43ee75b52e42eecaaba1daff4ca0;hp=a9d1f179400271e2dd46d556511111f7d7c91e42;hb=5731d2abe8e8c4b838f8d1b0eefdc25754f6ad78;hpb=2438014abcc5a367e917a8be9210eb393a676ccb diff --git a/Makefile b/Makefile index a9d1f17..2ae07cf 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,12 @@ $(img): $(bin) dd if=/dev/zero of=$@ bs=512 count=2880 dd if=$< of=$@ bs=512 conv=notrunc -$(bin): bootsplash.asm +$(bin): bootsplash.asm nuclear.rle nasm -f bin -o $@ $< +nuclear.rle: nuclear.img + cat $< | rle/rle >$@ 2>rle.log + .PHONY: run run: $(img) qemu-system-i386 -fda $< @@ -15,3 +18,7 @@ run: $(img) .PHONY: debug debug: $(img) qemu-system-i386 -S -s -fda $< + +.PHONY: disasm +disasm: $(bin) + ndisasm -o 0x7c00 $< >dis