attempt to blur up
[bootsplash] / Makefile
index a9d1f17..11d9094 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,16 @@ $(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: clean
+clean:
+       rm -f $(bin)
+
 .PHONY: run
 run: $(img)
        qemu-system-i386 -fda $<
@@ -15,3 +22,7 @@ run: $(img)
 .PHONY: debug
 debug: $(img)
        qemu-system-i386 -S -s -fda $<
+
+.PHONY: disasm
+disasm: $(bin)
+       ndisasm -o 0x7c00 $< >dis