Wednesday, March 10, 2010

Seemed like a sound idea

Urghh!!

That's all I've got to say for a whole day wasted rewriting the sound code when I was 1/2 asleep :) Then faffing around with MESS because a) it's multi format b) it's got a fairly nice debugger and I'd rather deal with remembering one set of debugger commands instead of one lot for BeebEM, one for A800Win and sometimes Altirra as well. After messing around for a few hours and finally asking on the MESS forum I find out disk images haven't worked in the last 3 versions of MESS, tape images have never worked. Kind of important to be able to LOAD things into an emulation :( Oh well.

So today I rewrote the sound code AGAIN and this time it actually spits out sound again and sounds pretty much like it did before I decided to rewrite it but with one important difference, the arpeggio type sounds on Exploding Fist work now :) It now buffers up to 5 notes for each channel just as the beeb is supposed to.

Now to add envelope support. Yeesh! I'm not totally sure why I'm bothering with this stuff as the beeb tends to play notes in tune no matter which octave and the atari doesn't. I suppose it'll be ok for sound effects and if music (what little there is in beeb games) is really off I can just intercept the calls, ditch the data and play a RMT tune instead.


Pete

No comments:

Post a Comment