From 7e7ec5d37e95b40ea4cfdcb81e0994bceda8607a Mon Sep 17 00:00:00 2001 From: Edouard BERGE <65281489+EdouardBERGE@users.noreply.github.com> Date: Sat, 23 Apr 2022 08:39:52 +0200 Subject: [PATCH] Update README.md sequence mutualisation --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7ab463..1ddaa45 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,14 @@ syntaxe is: compiler file1 [file2] [options] ; this will generate transitions from sprites 0,1,2,3,4..., 62 to sprites 1,2,3,4,5...,63 -compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 0,62 -idx 1,63 -l astroide -d > astro.asm +compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 0-62 -idx 1-63 -l astroide -d > astro.asm ; this will generate the transition from sprite 63 to sprite 0 compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 63 -idx 0 -l astroide -d >> astro.asm + +; you can mutualise both lines like this + +; first sequence to 0 from 63, destination sequence from 1 to 63 + 0 at the end! + +compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 0-63 -idx 1-63,0 -l astroide -d > astro.asm