Fort Apocalypse Posted August 18, 2007 Share Posted August 18, 2007 Is short but this is the best I could come up with: if joy0fire then s = 17 if s > 0 then s = s - 1 : AUDV0 = s : AUDC0 = 15 : AUDF0 = 31 : AUDV1 = s : AUDC1 = 8 : AUDF1 = 31 Anyone else have an example of a really great deep and gutteral massive explosion sound? The following longer version doesn't work for some reason: if joy0fire then n = 255 if n > 0 then s = n / 15 : n = n - 1 : AUDV0 = s : AUDC0 = 15 : AUDF0 = 31 : AUDV1 = s : AUDC1 = 8 : AUDF1 = 31 Specifically I get: ---------- Capture Output ---------- ... 2600 Basic compilation complete. DASM V2.20.07, Macro Assembler ©1988-2003 bytes of ROM space left 968 bytes of ROM space left 968 bytes of ROM space left --- Unresolved Symbol List div8 0000 ???? (R ) Fatal assembly error: Source is not resolvable. > Terminated with exit code 0. Quote Link to comment Share on other sites More sharing options...
+batari Posted August 18, 2007 Share Posted August 18, 2007 (edited) 2600 Basic compilation complete.DASM V2.20.07, Macro Assembler ©1988-2003 bytes of ROM space left 968 bytes of ROM space left 968 bytes of ROM space left --- Unresolved Symbol List div8 0000 ???? (R ) div8 refers to the external divide function, which is needed when dividing by anything but a power of two. It is not included automatically. To include it, place include div_mul.asm at the beginning of your program. Edited August 18, 2007 by batari Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted August 19, 2007 Author Share Posted August 19, 2007 div8 refers to the external divide function, which is needed when dividing by anything but a power of two. It is not included automatically. To include it, place include div_mul.asm at the beginning of your program. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.