No I mean it doesnt play a tune Im assuming you have to type the right notes in, but I typed the wrong ones in.
No I mean it doesnt play a tune Im assuming you have to type the right notes in, but I typed the wrong ones in.
Well, wouldn't that be an error on your part?
@abachler: Again, my example? Should just play, over the PC speaker. No input from you is needed, it just plays. Exits when done. Data is included in the assembly source for the song.
long time; /* know C? */
Unprecedented performance: Nothing ever ran this slow before.
Any sufficiently advanced bug is indistinguishable from a feature.
Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
The best way to accelerate an IBM is at 9.8 m/s/s.
recursion (re - cur' - zhun) n. 1. (see recursion)
unfortunately ...
is a table of values.Code:music_data: .long 500 .long 440 .long 1000 .long 523 .long 500 .long 587 .long 750 .long 659 etc....
Yeah, that was noticed a while back. I don't see how this can be done using an equation instead of a set of data. Maybe you would like to show us all, or is this just another impossible challenge?
Technically, you can build a polynomial through any table of values (aka, polynomial interpolation; also see Newton divided differences). Cactus' 146 values (if I counted correctly) would be f(1), f(2), ..., f(146) where f is a 145th degree polynomial. I don't know or care enough about assembly or this problem to think about writing something to do that, and the argument for allowing 146 random polynomial coefficients but not 146 random actual numbers seems slight, so maybe this isn't what Abachler is going for.