Page 1 of 1

How to handle tape file

Posted: Mon Jul 26, 2021 2:00 am
by edanuff
Sorry for the noob question but hoping that someone can give me some guidance. I've been making good progress on my first core for the Mister but trying to figure out the best way to do tape loading. I''d like to read a 16 bit wav file on the sd card. What happens once I select a file via my OSD config menu? Are the file contents sent via ioctl_dout to my core via the HPS? Do I have to store the file contents into sdram or can I just fetch a byte at a time from the HPS at the sample rate? Thanks in advance!

Re: How to handle tape file

Posted: Fri Jul 30, 2021 5:56 am
by edanuff
Answering my own question for the next person who tries this - yes, looks like wiring up ioctl_dout, ioctrl_addr, ioctl_wr, etc. is exactly what you do.