Calvin Allett wrote: > I`ve been wondering this before, in relation to the Mayhem > accelerator, as if wanting to write a game to run at 20Mhz > (about four times normal speed with uncontended RAM?) > then if I`d be able to run an intterupt music player, but have > the player altered to only play the music every 4th frame, > to keep tune at correct speed approx?
Interrupts aren't affected by the speed of the machine. The ASIC generates the frame interrupt every 50th of a second, it's all tied right into the video timings. So things like music players, or any frame interrupt (or line interrupt) routines don't need to be changed at all. > Oh, and while I`m rambling, does anybody know if there exists > an interrupt player for AY music, or just players to incorporate > into MC? I don't recall seeing any standalone interrupt players to play AY music, although Cookie and Stefan have in the past written patches into the various 128K demos they both converted to play the music through the SAA1099 so they've done the main bit of work of converting AY register data into the nearest equivalent for the SAA. Could be a bit more tricky if you are meaning to play .AY files, which are essentially the speccy machine code player and the data.... that would need the machine code part (which I guess is specific to the tune and the programmer who wrote the player) to be patched to play through the SAA etc. Colin ===== Quazar : Hardware, Software, Spares and Repairs for the Sam Coupe 1995-2007 - Celebrating 12 Years of developing for the Sam Coupe Website: http://www.samcoupe.com/
