CASDuino recording functionality

Page 2/2
1 |

By CASDuino

Master (230)

CASDuino's picture

14-10-2021, 18:53

RvS wrote:

The noise was caused by a ground loop (my mistake...) and csave, bsave and ascii seem to work.
Even 2400 bps works, although this is near the detection limit. 1200 bps is more robust. If anyone wants to give it a try, please do!
Next step, integration in casduino and see if it still fits in the 32k of flash...

There will need to be a few changes to what you have already. I'll have to see if I can adjust the original hardware design and add the input to A5 rather than A0 then of course there is other factors like switching between Play and Record modes. With a bit of luck it can be squeezed in but it might have to go on a bigger chip.

By CASDuino

Master (230)

CASDuino's picture

17-10-2021, 18:22

Just to add. 2400 baud recording is unnecessary as the CASDuino will speed up the playback anyway if it is selected. Better to record at 1200 baud for accuracy.

By CASDuino

Master (230)

CASDuino's picture

18-10-2021, 22:19

Made my own CAS Recorder to see how it works using existing hardware.

Unfortunately because A0 is already used and A6 is not a proper analogue pin the current firmware is not compatible with the CASDuino hardware but it's hopefully a good start.

By Danjovic

Master (192)

Danjovic's picture

19-10-2021, 04:25

Have you considered to use the same algorythm provided by MSX BIOS to read the tape? They are much less CPU demanding and can adapt to differences in bit rate withih a great range.

Regarding the hardware, the ATMega328 provide an analog voltage comparator that can be very useful to deal with noise.

Regardless of the method used, the ability to record is a cool feature for such a tape emulator. Congratulations for your work and soecially for sharing it!

Page 2/2
1 |