]> hydra-www.ietfng.org Git - acmetensortoys-chiptunes/commitdiff
Some small cleanups
authorNathaniel Wesley Filardo <nwf@smaug.priv.ietfng.org>
Mon, 1 Mar 2010 01:01:38 +0000 (20:01 -0500)
committerNathaniel Wesley Filardo <nwf@smaug.priv.ietfng.org>
Mon, 1 Mar 2010 01:01:38 +0000 (20:01 -0500)
target/main.c

index ec1cc4a8faa6cc674c80cfabf43a6534b844522e..6541c47b08d867e40d89ccec8109dcec9a2b2ee4 100644 (file)
@@ -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;