So it looks like I could get a DSPIC33FJ128GP802-E/SP as a skinny 28 pin DIP, giving me 128kb program, 16kb RAM, 2 channel output dac, a hefty CPU with DSP super powers, and more bit bangy digital IOs than I know what to do with.*
So:
- port Mattsteroids to 16-bit fixed point math. As the pic33 is a DSP mutha, I can even get away with a few multiplies. (More if I arrange all my multiplicands in a pair of buffers and use the vector ops all in a row.)
- program it up
-- build par port physical interface?
-- build a par port programmer software (in QBasic I suppose)
- build an interface board on some stripboard for it to live on:
-- attach some buttons (L, R, thrust, shoot, hyper) to digital IO
--- or analogue input for throttles/paddles/dials if I'm gutsy
--- maybe simply mounting a 9-pin atari interface would be simpler: it'd let me use zipsticks...
--- AND I know the tricks to using Sega Mega Drive three/six button pads using the built in multiplexer... ooh!
--- and the Amiga mouse is just quadrature input...!,
-- mount some RCA jacks for display output
-- AA power supply bay
-- reset switch
And we're there: audio DSP chip used as an integrated custom oscilloscope arcade CPU + displayaudiovectoriser.
Cripes, this is sounding plausible...!**
*Every pin looks like it can be used for digital IO or its standard function. This gadgets loaded with useful stuff like I2C, JTAG, UART etc... I don't need that right now, but it'd be stupidly useful for integrating with other bits (nonvolatile serial RAM for highscore saving?). The thing that immediately came to mind when I looked over the specs was it had five built in timers with their clocks exposed: whock a summing junction on that, and you've got a five channel square wave sound chip (or 2+3 polyphony stereo-like out if you like)
**I know real systems (Grandstand Astro Wars type stuff) worked on stuff that was three decades behind this. They had super basic CPUs and discrete gizmos and all that to perform all the stuff I'm asking of the PIC33. I'm basically using a chainsaw to make a sandwich, but it's too cool an idea to not try.






