From: Russell M. <rus...@nt...> - 2003-10-08 23:18:21
|
Fred <fr...@sp...> wrote: > Hi, > I am trying to add support for the Timex TS2068 and other NTSC models to > Fuse and the sound is not quite working as well as I'd like. I have made > the timer happen at 17ms for NTSC machines and added a patch like: A bit unpleasant to reuse the longer 50Hz buffer as a 60Hz buffer without reallocating, but I suppose it's less hassle, and should work as long as we *always* allocate for 50Hz in sound_init(). You should add a comment in sound_init() to that effect IMHO, so that it doesn't get `fixed' (i.e. broken :-)) in future - maybe add "/* MUST be 50 to allocate buffers properly */" to the line in sound_init() which sets sound_framesiz. > The TS2068 machine timings are adjusted for the NTSC (262 lines), but I > am still finding that the pitch of the beeper is different between the > (NTSC) TS2068 and (PAL) TC2068. Do you think that there is anything that > I'm missing to get the pitch the same? The pitch of the beeper is based on four things - most obviously the Z80 that's messing with the beeper :-), with the other three things being tstates, machine_current->timings.tstates_per_frame, and sound_framesiz. All I can suggest is to check that all four *are* actually what you think they are. -Rus. |