Whilst that has been going down I've been hacking away on the code base extending the firmware to handle:
- Long filename support: I've moved over to the FatFs library to enable this
- Write support! This was a killer but finally works... if you have a FAST SD Card.
- Many bug fixes (I2C display now works across more backpacks)
- Restructuring and code cleanup
The C64 Datasette write line now must be connected to pin D8 of the Nano. If you built the Tapuino as per my previous post all that should be involved is moving it across to the correct pin, possibly soldering up a new header. The breadboard diagram and Fritzing file in GitHub have been updated accordingly:
Write support has been tested with some simple BASIC save files and also via the Elite save game mechanism and all appears well. Files are written to TAP format in a folder on the root of the SD Card called "Recorded" (this folder will be auto-created for you) and have the filename "rec-XXXX.tap" where XXXX is a 4 digit decimal number.
At this point the Tapuino is functionally complete. I'd like to get a few more folk to build and use this to help track down the inevitable bugs and also work on a few more features. Features I have been thinking about include:
- Button repeat functionality for scrolling through long lists of files.
- A name input mechanism for naming recorded files.