1
0
mirror of https://frontier.innolan.net/github/AmigaExamples.git synced 2026-01-13 06:01:17 +00:00

Updated documentation

This commit is contained in:
alpine9000
2016-03-04 11:43:25 +11:00
parent 3ed68f170f
commit 30a9fe71af
7 changed files with 12 additions and 8 deletions

View File

@ -5,9 +5,9 @@ MODULE=copper_vert.s
include ../base.mk
out/copper-list.s: out/copper_gen
out/copper-list.s: out/copper_gen_vert
./out/copper_gen_vert > out/copper-list.s
out/copper_gen: copper_gen_vert.c
out/copper_gen_vert: copper_gen_vert.c
gcc $(HOST_CFLAGS) copper_gen_vert.c -o out/copper_gen_vert

View File

@ -17,6 +17,7 @@ clean:
echo Cleaning $$dir; \
make -C $$dir clean; \
done
rm -f *~
subdirs: $(SUBDIRS)

View File

@ -1,7 +1,7 @@
MAKEADFDIR=../tools/makeadf/
MAKEADF=$(MAKEADFDIR)/out/makeadf
HOST_WARNINGS=-pedantic-errors -Wfatal-errors -Wall -Werror -Wextra -Wno-unused-parameter -Wshadow
HOST_CFLAGS=-g $(HOST_WARNINGS)
HOST_CFLAGS=$(HOST_WARNINGS)
IMAGECONDIR=../tools/imagecon
IMAGECON=$(IMAGECONDIR)/out/imagecon

View File

@ -9,7 +9,10 @@ OUTPUT_BASE=out/mission-beach
REFERENCE_BASE=reference/mission-beach
TEST_IMAGE=../../assets/mission-beach.png
TEST_IMAGE2=../../assets/tc.png
BOB_IMAGE=../../assets/emoji.png
SHARED_BASE=out/shared
BOB_BASE=out/bob
REFERENCE_BOB_BASE=reference/bob
REFERENCE_SHARED_BASE=reference/shared
REFERENCE_SHARED_PALETTE=$(REFERENCE_SHARED_BASE).pal
SHARED_PALETTE=$(SHARED_BASE).pal
@ -39,17 +42,18 @@ $(SHARED_PALETTE): $(IMAGECON)
$(IMAGECON) --input $(TEST_IMAGE),$(TEST_IMAGE2) --output $(SHARED_BASE) --colors 32 --quantize --output-palette
$(OUTPUT_BASE).bin: $(IMAGECON)
-rm -f $(OUTPUT_BASE).bin $(OUTPUT_BASE)-copper-list.s $(OUTPUT_BASE)-palette.s $(OUTPUT_BASE)-mask.bin
$(IMAGECON) --input $(TEST_IMAGE) --output $(OUTPUT_BASE) --output-mask --output-copperlist --output-bitplanes --output-palette-asm --colors 32 --quantize
-rm -f $(OUTPUT_BASE).bin $(OUTPUT_BASE)-copper-list.s $(OUTPUT_BASE)-palette.s
$(IMAGECON) --input $(TEST_IMAGE) --output $(OUTPUT_BASE) --output-copperlist --output-bitplanes --output-palette-asm --colors 32 --quantize
$(IMAGECON) --input $(BOB_IMAGE) --output $(BOB_BASE) --output-mask --colors 32 --quantize
test: $(IMAGECON) $(OUTPUT_BASE).bin $(SHARED_PALETTE) $(USED_PALETTE)
diff $(OUTPUT_BASE).bin $(REFERENCE_BASE).bin
diff $(OUTPUT_BASE)-copper-list.s $(REFERENCE_BASE)-copper-list.s
diff $(OUTPUT_BASE)-palette.s $(REFERENCE_BASE)-palette.s
diff $(OUTPUT_BASE)-mask.bin $(REFERENCE_BASE)-mask.bin
diff $(SHARED_PALETTE) $(REFERENCE_SHARED_PALETTE)
diff $(SHARED_BASE).bin $(REFERENCE_SHARED_BASE).bin
diff $(SHARED_BASE)-copper-list.s $(REFERENCE_SHARED_BASE)-copper-list.s
diff $(BOB_BASE)-mask.bin $(REFERENCE_BOB_BASE)-mask.bin
@echo "______ ___ _____ _____ ___________ "
@echo "| ___ \/ _ \ / ___/ ___| ___| _ \ "

View File

@ -56,7 +56,7 @@ Output the copper is as a series of m68k instructions (No labels are generated)
**--output-mask**
Output the binary bitplane data for use as a blitter source mask
Output the binary bitplane data for use as a blitter source mask. Note: Be careful using this feature combined with color quantization. It's possible the transparent color might get quantized resulting in an bad mask.
**--output-palette**

Binary file not shown.

File diff suppressed because one or more lines are too long