So i am very new to this community. I recently got a VIC-20 and I'm diving in. Before i got my physical VIC i was messing around with things in VICE. I had some prg's i would convert to .tap to load in VICE and those would always work. Now i'm trying to create some .tap files from .wav files saved from my VIC. This is proving to not work consistently. While i can get them to load 9 times out of 10 they do not and i can't understand why. The tape counter in VICE gets to the end of the program then goes "?LOAD ERROR"
There seems to be no consistency as to when it works or does not. NTSC,PAL same results. If i take that tap file and convert it to a prg then VICE loads it fine everytime. Obviously something is wrong with the tap files. Should i just not use them and instead use prg files to share what i want to share off my VIC? Is there someway to know why VICE is doing this? Like it could litteraly load it then i go NEW and LOAD again but it fails.
Some tap files i've created can be found here viewtopic.php?f=10&t=9955 i swear those loaded fine before i posted them. Now i'm lucky if they load 1 in 10 tries it seems...just frustrating.
These where created from linux using audiotap either native version or using wine does not seem to make a difference.
Issues creating/loading tap files in VICE
Moderator: Moderators
Re: Issues creating/loading tap files in VICE
Dumping one of the files it looks to me like there's a significant number of errors in it
The KERNAL routines can only recover a maximum of 30 errors.
Code: Select all
[srowe@gilraen src]$ python3 tap-decode.py ~/Downloads/Navets.tap | python3 tap-info.py
00006a17 <S*69fe>
000079e2 errors=0 data len=202
00007a30 <S*004d>
000089fb errors=0 data len=202
00008a48 <S*004c>
0001773f errors=269 data len=3033
0001778d <S*004d>
00024f80 errors=0 data len=2764
151504 True 73
Re: Issues creating/loading tap files in VICE
Ok so the files are messed for sure...What could cause these errors? Why does it sometimes load(very seldom)? Why does converted to a prg they work? going back to tap from that prg also works...
What tools are you using in python?
Thank you.
What tools are you using in python?
Thank you.
Re: Issues creating/loading tap files in VICE
I'm not sure, looking at the raw encoding I'm guessing the data doesn't match the check bit. It might be a bug in the tool used to generate the .tap file.
They're scripts I've written myself to learn about the structure of tape images, I've created a module to develop applicationsWhat tools are you using in python?
https://pypi.org/project/tapfile/
Re: Issues creating/loading tap files in VICE
Cool. Wish i knew more about python to take advantage of those. I guess going forward I'll go prg to tap before sharing(because that still produces something that works)...or maybe just post the prg itself for anything i actually want to share.srowe wrote: ↑Mon Dec 21, 2020 7:33 am They're scripts I've written myself to learn about the structure of tape images, I've created a module to develop applications
https://pypi.org/project/tapfile/
Thanks again for looking.