Articles tagged “Sega Tween”
Patch files
I added Emukon patch file export to Brass - Brass will export all the labels, variables and breakpoints from the source and Emukon can then load them in. It makes debugging much simpler... Click for legible In my Game Gear-related fiddling, I optimised the tween demo code significantly, but then slowed it back down again by adding 4 more points, extending the rotation code to using 16.16 rather than 16.8 fixed-point and using a proper linear tween. It's still a bit smoother, though:
Video: 00'58" WMV [1007KB]
A productive weekend
What with the weekend having an extra Monday tacked on for good measure (Labour Day), I felt the need to be productive. I also felt the need to listen to VGM files converted to MIDI, so rustled up a VGM to MIDI converter. There already is one (available on the SMS Power! site), but I could never get it to work. Having never really puzzled out the YM2413 ('OPLL', FM chip) I limited it to the square-wave generating PSG. First of all, you need to be able to convert a tone register value (from 0 to 1023), the period of the output square wave, to a MIDI key value (0 to 127, where every 12 keys represent an octave).