From: Nathaniel Wesley Filardo Date: Mon, 1 Mar 2010 01:01:38 +0000 (-0500) Subject: Some small cleanups X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=779117bb60f449a811b8cd7ef22f949f6c54976c;p=acmetensortoys-chiptunes Some small cleanups --- diff --git a/target/main.c b/target/main.c index ec1cc4a..6541c47 100644 --- a/target/main.c +++ b/target/main.c @@ -16,7 +16,6 @@ volatile u8 lastsample; volatile u8 timetoplay; volatile u8 test; -volatile u8 testwait; u8 trackwait; u8 trackpos; @@ -27,6 +26,7 @@ u32 noiseseed = 1; u8 light[2]; +/* The layout of this structure is known to assembler */ volatile struct oscillator { u16 freq; u16 phase; @@ -35,17 +35,6 @@ volatile struct oscillator { u8 volume; // 0-255 } osc[NR_CHAN]; -struct trackline { - u8 note; - u8 instr; - u8 cmd[2]; - u8 param[2]; - }; - -struct track { - struct trackline line[TRACKLEN]; -}; - struct unpacker { u16 nextbyte; u8 buffer;