Jump to content



0

Bb Code for Deep Explosion Sound


2 replies to this topic

#1 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • 1,593 posts

Posted Sat Aug 18, 2007 12:56 PM

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.

#2 batari OFFLINE  

batari

    )66]U('=I;B$*

  • 6,236 posts
  • begin 644 contest

Posted Sat Aug 18, 2007 1:43 PM

View PostFort Apocalypse, on Sat Aug 18, 2007 1:56 PM, said:

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 by batari, Sat Aug 18, 2007 1:44 PM.


#3 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • 1,593 posts

Posted Sat Aug 18, 2007 9:41 PM

View Postbatari, on Sat Aug 18, 2007 3:43 PM, said:

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!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users