fire
authorJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 16 Dec 2020 02:17:30 +0000 (04:17 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 16 Dec 2020 02:17:30 +0000 (04:17 +0200)
Makefile
bootsplash.asm

index 11d9094..fc3da3e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,12 @@ $(img): $(bin)
 $(bin): bootsplash.asm nuclear.rle
        nasm -f bin -o $@ $<
 
-nuclear.rle: nuclear.img
+nuclear.rle: nuclear.img rle/rle
        cat $< | rle/rle >$@ 2>rle.log
 
+rle/rle:
+       $(MAKE) -C rle
+
 .PHONY: clean
 clean:
        rm -f $(bin)
index 130073d..5885c4d 100644 (file)
@@ -5,7 +5,7 @@ stacktop equ 7b00h
 boot_driveno equ 7b00h ; 1 byte
 stage2_size equ stage2_end - stage2_start
 
-spawn_rate equ 5
+spawn_rate equ 256
 framebuf equ 40000h
 
 start:
@@ -159,7 +159,7 @@ splash:
        shr ax, 1
        mov [bx], al
        inc bx
-       cmp bx, 64000 - 320
+       cmp bx, 64000 - 320 * 2
        jnz .blurloop