How to handle tape file

Discussion of developmental aspects of the MiSTer Project.
edanuff
Core Developer
Posts: 11
Joined: Wed Jun 30, 2021 4:57 pm
Has thanked: 3 times
Been thanked: 21 times

How to handle tape file

Unread post 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!
edanuff
Core Developer
Posts: 11
Joined: Wed Jun 30, 2021 4:57 pm
Has thanked: 3 times
Been thanked: 21 times

Re: How to handle tape file

Unread post 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.
Post Reply