From 267cb16fc11061b982a6ee543f478927da809717 Mon Sep 17 00:00:00 2001 From: Godzil Date: Fri, 27 Sep 2019 17:35:26 +0100 Subject: [PATCH] Add more details --- samplesplash.json | 7 ++++--- splashbuilder.py | 10 ++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/samplesplash.json b/samplesplash.json index aa4dfed..80388c8 100644 --- a/samplesplash.json +++ b/samplesplash.json @@ -56,7 +56,7 @@ "tiles": { "bpp": 1, "count": 12, - "data": "samplesplash_tiles.bin" + "binfile": "samplesplash_tiles.bin" }, "tilemap": { "vertical": { @@ -69,7 +69,7 @@ }, "height": 6, "width": 6, - "data": "samplesplash_tilemap.bin" + "binfile": "samplesplash_tilemap.bin" }, "vblankCode": { "asm": "samplesplasg_vblank.asm" @@ -79,7 +79,8 @@ "channeldata": { "ch0": "wonderwhat_ch0.bin", "ch1": "wonderwhat_ch1.bin", - "ch2": "" + "ch2": "", + "ch3": "" } } } \ No newline at end of file diff --git a/splashbuilder.py b/splashbuilder.py index ee6efb8..7966928 100644 --- a/splashbuilder.py +++ b/splashbuilder.py @@ -62,4 +62,14 @@ struct bootsplash_t uint16_t soundChannelDataOffset[3] }; +Sounds seems to be + +uint32_t + +duration (8 bit) (in vblank) +Volume (8bit) +Pitch (16bit) + +if pitch bit 7 is set then the channel is stopped. + """ \ No newline at end of file