From 787cc81798d60c6ca22896f01dd73c67fd886e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Wed, 22 Mar 2023 19:22:49 +0200 Subject: [PATCH] Use the extension .wall for wallpapers --- .gitignore | 1 + Makefile | 8 ++++---- shell.asm | 2 +- wallpaper.ansi => wallpaper.ans | 0 4 files changed, 6 insertions(+), 5 deletions(-) rename wallpaper.ansi => wallpaper.ans (100%) diff --git a/.gitignore b/.gitignore index 1881db6..862b7ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.bin *.img +*.wall ponydos.inc diff --git a/Makefile b/Makefile index 3c303ca..88bde1f 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ NASM = nasm PYTHON = python3 .SUFFIXES: -.SUFFIXES: .bin .asm .ansi +.SUFFIXES: .bin .asm .ans .wall all: ponydos.img -FS_FILES = wallpaper.bin shell.bin +FS_FILES = wallpaper.wall shell.bin ponydos.img: ponydos.bin $(FS_FILES) $(PYTHON) assemble_floppy.py $@ ponydos.bin $(FS_FILES) @@ -21,14 +21,14 @@ shell.bin: ponydos.inc .asm.bin: $(NASM) -fbin -o $@ $< -.ansi.bin: +.ans.wall: $(PYTHON) process_wallpaper.py $@ $< 7 0 0 0 run: ponydos.img qemu-system-i386 -fda $< clean: - rm -f *.bin *.img ponydos.inc + rm -f *.bin *.img *.wall ponydos.inc distclean: clean diff --git a/shell.asm b/shell.asm index d5e013b..0ed71b0 100644 --- a/shell.asm +++ b/shell.asm @@ -500,7 +500,7 @@ forward_event: pop bp ret -wallpaper_name db 'wallpaper.bin', 0 +wallpaper_name db 'wallpaper.wall', 0 %include "debug.inc" diff --git a/wallpaper.ansi b/wallpaper.ans similarity index 100% rename from wallpaper.ansi rename to wallpaper.ans