![teensy usb serial emulator teensy usb serial emulator](https://cdn.instructables.com/ORIG/FLQ/UQFN/IIAOGGEY/FLQUQFNIIAOGGEY.png)
In the beginning my goal was to make emulation good enough for "Boulder Dash" and other of my old favorite games.
Teensy usb serial emulator code#
In the meantime I have rewritten the code for the VIC four times. But that was a good thing, otherwise I would never have started this project. I must admit that I have underestimated the VIC (the video chip of the C64) enormously. Unfortunately I forgot almost everything about the C64, and I had to and still have to learn everything anew and read a lot of technical details. Paul Stoffregen thankfully provided me with an early pre-release version.Īfter many preliminary considerations and deviations I came to the conclusion that the T3.6 should be capable of a C64 emulation. After some attempts I had a working video player - even before the official release of Teensy 3.6. Some time before, a user in the forum had noticed that you can overclock its SPi interface drastically. The first display that crossed my mind was the well-known ILI9341, which had already done a good job for the T3.2. However, the T3.6 has a fast SPI interface, which can be supplied via a DMA channel. There was no way to control a display fast enough. But before that, other hurdles had to be overcome. With 256KB RAM, more than enough flash, SD slot and 180 MHz it seemed possible to emulate a complete C64. Soon the wish for a SID-Player came up and a little later the Teensy 3.6 was announced. Unfortunately, current reSID versions require a lot of RAM, so I had to switch to an older version - which is not necessarily worse.
![teensy usb serial emulator teensy usb serial emulator](https://store.prismelectronics.net/media/catalog/product/50229/50229-SST-4_8P_23582_gallery.jpg)
It is even possible to emulate a second reSID for stereo operation. The porting wasn't that difficult, but I've optimized some parts of it to better match the Teensy and its audio library. Since I had already had experience with the porting of audio codecs (mp3/aac/flac), I came up with the idea to search for a "finished" emulator and found the very good reSID. Some time ago, 2015, someone in the PJRC forum asked me if it was possible to emulate the C64's SID chip on the Teensy 3.2. Simple drive emulation included (load "whatever.prg" or load "$" ).Please read the forum for more detailed information. Commodore C64 Emulation on a Teensy 3.6 Microcontroller