datajerk / c2t

Retro Code (Apple II, Cosmac VIP) to Tape/Text
BSD 3-Clause "New" or "Revised" License
64 stars 11 forks source link

Instadisk not working. #26

Closed UniversalKing1999 closed 1 year ago

UniversalKing1999 commented 1 year ago

Hello.

After I make an audio file out of a disk image and try to load it in my apple 2e it gives me an error right after saying it started loading instadisk, eta 9 sec. I also can't load files from the apple disk server. What might cause this problem?

P.S. I read somewhere that it only supports NTSC computers and not PAL ones. (USA and Euro ones). I am using my computer in Europe but I ordered it from the USA, so I believe that it's not a Euro version. Thanks in advance.

datajerk commented 1 year ago

The most common issues:

UniversalKing1999 commented 1 year ago

Hello.

Thank you for replying. I can get the games from apple game server just fine, using a regular aux cable. I am using a Lenovo Thinkpad T460, Chrome as my browser and windows 10. When I convert .dsk files with c2t (both c2t and c2t-96h) I get .wav files that I play with VLC media player. When I try to load something I crank up the volume to 100 on my computer. The only things that I can load from the Lenovo to my apple 2e are the gameserver games, but only lo-fi ones, hi-fi ones give me an error on the apple side. The disksserver and c2t files start up normally but then give an error, right after starting to load instadisk. Tomorrow I can post a picture or a small video too. Now, I don't know if the apple is running 1MHz or not, is there any way to test it?

Thanks in advance.

datajerk commented 1 year ago

I have a T460s with Linux I can test from to rule out HW incompatibility. I'll try to test within the next week. Can you try a phone or other computer? As for measuring performance, does your //e have a clock card? If so try: https://github.com/datajerk/c2t/blob/master/tests/apple2pi.wav. Just "LOAD" then play with browser. This does not use hi-fi. It should take 1 min 54 sec for 1000 digits. If you do not have clock card, then record screen video with phone, measure the time from when you hit enter (after 1000) until it reports done using something like VLC to scrub the video.

NOTE: For the apple2pi benchmark, select Pi, no printout, 1000 digits.

UniversalKing1999 commented 1 year ago

Hello!

I tried using my phone, again I can only load lo-fi gameserver games and not diskserver ones. I tried using a high-quality aux cable but to no avail. I do not have a clock card. When I tried playing the apple2pi benchmark file (from my computer and my phone, browser and by players, volume max on everything) I get an error too. (I'll post a picture.) Sorry for the low quality of the picture, my phone's camera has been broken like that for months. P.S. I get the same kind of "error" with the other files. Except for the gameserver lo-fi games. IMG_20221212_095927

datajerk commented 1 year ago

ETA should be 22 sec, that version may be hifi. I just updated git repo, download and try again.

UniversalKing1999 commented 1 year ago

Ah yes. It worked, it took 1 minute and 54 seconds to finish computing. But just to clarify, 8000bps is lo-fi and 9600bps is hi-fi? And does c2t convert to 8000 or 9600 bps, if both how to control it?

datajerk commented 1 year ago

With disks lo-fi is 8000 and hi-fi is 9600. With gameserver lofi is 1333 hifi is 8000. c2t can produce 1333 and 8000 bps wavs. c2t-96h 1333/9600.

At this point i'm stumped as to why the 8000/9600 wav files fail you.

UniversalKing1999 commented 1 year ago

Well, I might have an earlier revision of the computer, or maybe a bad ram chip. But how to convert .dsk files into 1333bps using c2t? Is there a special command?

datajerk commented 1 year ago

.dsk -> .wav at 1333 is not supported. it'd take far too long increasing the probability of a line error. c2t is fire and forget with error detection, but no error correction (re-transmit). if you want to create disk images with audio cable, take a look at https://adtpro.com/. ADT uses both cassette ports and re-transmit on error. ADT can bootstrap over audio as well.

UniversalKing1999 commented 1 year ago

Okay. Thank you for replying and helping.

Cheers!

datajerk commented 1 year ago

If you have ~18 hours run apple2pi with the max value. That will use all RAM. Can use as a RAM test. The benchmark has to both complete and be correct. There are probably better (faster) ram tests, but I do not have one handy.

UniversalKing1999 commented 1 year ago

I think that is just too long, my country is currently (due to winter, we are having a blizzard) having power outages almost every day, I think the electric bill wouldn't be a wanted sight after that too. But if I run the apple 2e self-test it gives me this: "RAM: ". It doesn't give any RAM addresses or chips, could be a bug with the disk 2 interface card or the 80-column card. Anyway I'll try ADTPro tomorrow. Thank you for all the suggestions and help!