From f133bb00084fa21e94497d0a963173c1a2a29f01 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 7 Mar 2019 16:04:01 +0000 Subject: [PATCH] Can fit in 7 more pages --- audio.py | 2 +- audiotest/audiotest/main.s | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/audio.py b/audio.py index 4309ebe..4368e98 100644 --- a/audio.py +++ b/audio.py @@ -12,7 +12,7 @@ class Audio: def encode_audio(self, audio): for a in audio: a = max(-30, min(a * 2, 32)) + 34 - page = random.randint(32, 49) + page = random.randint(32, 56) content = random.randint(0,255) offsets = [random.randint(0, 255) for _ in range(4)] yield opcodes.TICK_OPCODES[(a, page)](content, offsets) diff --git a/audiotest/audiotest/main.s b/audiotest/audiotest/main.s index d039bc2..a6416e7 100644 --- a/audiotest/audiotest/main.s +++ b/audiotest/audiotest/main.s @@ -1146,13 +1146,13 @@ op_tick 46 op_tick 47 op_tick 48 op_tick 49 -;op_tick 50 -;op_tick 51 -;op_tick 52 -;op_tick 53 -;op_tick 54 -;op_tick 55 -;op_tick 56 +op_tick 50 +op_tick 51 +op_tick 52 +op_tick 53 +op_tick 54 +op_tick 55 +op_tick 56 ;op_tick 57 ;op_tick 58 ;op_tick 59