1

(20 replies, posted in Sinclair)

Thanks, I will add only some basic sounds...

2

(20 replies, posted in Sinclair)

Thanks Utz n Shiru! But I also have desisted to do some fancy solutions, for the moment.

Beepfx have give me good results, I've to use it without disabling interrupts, by commenting di and ei instructions.

But the problem is the pitch, as the sound now have to deal with the interruptions and nirvana the playback is slower than is supposed to work on interrupt-less enviroment....

Do you know some way to fix it, besides changing the pitch of the samples?

3

(20 replies, posted in Sinclair)

Shiru wrote:

Third, I think is the most obscure one, is applicable to games where frame time is evenly distributed around some nearly constant-time process (rendering usually), so they can call sound routine a number of times per frame with mostly constant pace. That likely would suit well for multicolor engines such as Nirvana. They can have a short sample buffer, prepared outside the raster, then read and output value from the buffer to #FE each N scanlines (very low sample rate, but may work for some cases).

Hi Shiru, first to all, I want to thank you for your mFX player that I'm already using for my games Gandalf and Manic Pietro. Currently I'm working on a Pacman clone and I want to target the 48, with beeper sound fx. Do you have any code example for that obscure solution that you mention?


I've run some test, this are my findings (I'm a newbie on the 48 beeper)

-Sounds can be placed as long they don't mess with interruptions, for example the Basic Beep routine can be used on short intervals and also out254 based sounds seems to be work ok, with no screen flickering or corruption.

-Also I've try to use BeepFx but it disables interrupts. sad

-Steve Turner player works but it may be interfering with some registers that SDCC needs, as the code jumps to an unexpected place.

-I've placed a call to tiny out254 routine on the Nirvana ISR, to make some noise each time pacman eat a dot and works ok.

What do you think, Any idea or suggestions?

Regards