From: John Tsiombikas Date: Wed, 16 Dec 2020 02:17:30 +0000 (+0200) Subject: fire X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootsplash;a=commitdiff_plain;h=23b52c6fa8397f27382cf4f7961a3ac9cc10a859 fire --- diff --git a/Makefile b/Makefile index 11d9094..fc3da3e 100644 --- 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) diff --git a/bootsplash.asm b/bootsplash.asm index 130073d..5885c4d 100644 --- a/bootsplash.asm +++ b/bootsplash.asm @@ -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