Previous Thread
Next Thread
Print Thread
#96657 - 10/25/14 02:24 AM apple I cassette - BASIC inconsistencies  
Joined: Dec 2010
Posts: 43
Dagarman Offline
Member
Dagarman  Offline
Member

Joined: Dec 2010
Posts: 43
California
Anyone else having trouble loading BASIC via the Apple I cassette slot?

mess64 apple1 -exp cassette -cass basica

within the apple1
C100R <Enter>
E000.EFFFR <do not press enter>
within mess internal UI play the tape (press enter within 5 seconds)
also, don't use the <insert> acceleration because it sometimes contributes to unsuccessful loads.
I've also tried variations within the mess internal UI where I use the mouse rather than the return key because it affects when the apple1 prompt drops down to the next line.

For awhile, I could get it to load (ML programs load fine and going back to mess.153 the basic and basica still load fine), but no more. I've done clean compiles and deleted ini files.

Is it just me???

#96740 - 10/31/14 11:48 PM Re: apple I cassette - BASIC inconsistencies [Re: Dagarman]  
Joined: Dec 2010
Posts: 43
Dagarman Offline
Member
Dagarman  Offline
Member

Joined: Dec 2010
Posts: 43
California
I learned along time ago that nobody wants to listen to a problem unless you have a solution. Unfortunately, I don't have the skill for a solution to this, you should ignore my whining.

Some additional troubleshooting info to pass along for this very poorly written bug report.

The CFFA slot also doesn't provide the expected results. I used CiderPress to create a 5MB ProDOS formatted .po file then CHDMAN to convert it:
$ chdman createhd -i "path_to\5MB ProDOS.po" -o "path_to\5MB ProDOS.chd"

Mounting it in the apple1:
$ mess64 -skip_gameinfo -w apple1 -exp cffa -hard "path_to\5MB ProDOS.chd"
Typing 9000R should display 9000: 4C and then the menu, but it only displays 9000: CD, so I think the a1bus may be the culprit rather than me (but I wouldn't wager any money on my MESS user skills)

One final piece of info. I was hoping to understand this because I wanted to try and add sound to the apple1 by connecting the apple1 cassette output to the dac speaker by using the info from http://www.applefritter.com/book/export/html/2878

But after studying the code and trying (all day long) it is just too difficult for a beginner like me.

#96741 - 11/01/14 02:49 AM Re: apple I cassette - BASIC inconsistencies [Re: Dagarman]  
Joined: Jan 2011
Posts: 161
Al Kossow Offline
Senior Member
Al Kossow  Offline
Senior Member

Joined: Jan 2011
Posts: 161
You're trying to get ProDOS to work on an Apple I?

#96747 - 11/01/14 04:09 AM Re: apple I cassette - BASIC inconsistencies [Re: Al Kossow]  
Joined: Dec 2010
Posts: 43
Dagarman Offline
Member
Dagarman  Offline
Member

Joined: Dec 2010
Posts: 43
California
Originally Posted By Al Kossow
You're trying to get ProDOS to work on an Apple I?

http://dreher.net/?s=projects/CFforApple1&c=projects/CFforApple1/main.php

#96783 - 11/03/14 02:10 PM Re: apple I cassette - BASIC inconsistencies [Re: Dagarman]  
Joined: Dec 2010
Posts: 43
Dagarman Offline
Member
Dagarman  Offline
Member

Joined: Dec 2010
Posts: 43
California
Originally Posted By Dagarman
The CFFA slot also doesn't provide the expected results.


I learned that I was doing it wrong. Due to a RAM/ROM collision, I should have included -r 36k to make it work when I mounted it.

Then after typing 9000R it displays 9000: 4C> and on the next line CFFA> with a prompt waiting for me to input the menu commands (C, L, etc...)

I apologize for posting an incorrect bug report. I still don't know why I can't get basica to load any more.

Last edited by Dagarman; 11/03/14 02:21 PM.
#96791 - 11/03/14 07:53 PM Re: apple I cassette - BASIC inconsistencies [Re: Dagarman]  
Joined: Mar 2001
Posts: 15,752
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,752
USA
I can confirm that the tape is iffy; it was for me when I first added it as well but others saw fewer problems until recently for whatever reason. I don't know enough about how it works (with respect to MESS internals and the like) to diagnose the problem. On the Apple II there's a similar-ish phenonmenon where Integer BASIC and assembly language tape programs load OK but Applesoft does not.

Basically I don't have a solution either, but you aren't crazy.

If someone could bisect the version where it became less reliable that would likely help.

#109378 - 04/15/17 09:13 PM FIXED: apple I cassette - BASIC inconsistencies [Re: Dagarman]  
Joined: Jun 2003
Posts: 30
Colin Howell Offline
Member
Colin Howell  Offline
Member

Joined: Jun 2003
Posts: 30
Mountain View, CA
I know this is reviving a two-and-a-half year old necrothread, but this problem has just been fixed in Git, with R. Belmont's help. The fix should appear in the next MAME release, 0.185, expected late this month. The bug was a gnarly one, such that cassette loads would seem to consistently work in one MAME session and consistently fail in another. It turned out that due to an array indexing bug in the driver, it was accessing out-of-bounds memory during tape reads. Because of the peculiar nature of the Apple I's cassette interface and its ROM read routine, it could sometimes still work, depending on the contents of that out-of-bounds memory. (All it cared about was whether two adjacent bytes in the memory would be equal or unequal.)

If you're interested in more details, see the bug report at GitHub.

#109379 - 04/15/17 09:26 PM Re: FIXED: apple I cassette - BASIC inconsistencies [Re: Dagarman]  
Joined: May 2004
Posts: 1,398
Haze Offline
Very Senior Member
Haze  Offline
Very Senior Member

Joined: May 2004
Posts: 1,398
nice to see that one fixed :-)

#109380 - 04/15/17 09:53 PM Re: FIXED: apple I cassette - BASIC inconsistencies [Re: Colin Howell]  
Joined: Dec 2010
Posts: 43
Dagarman Offline
Member
Dagarman  Offline
Member

Joined: Dec 2010
Posts: 43
California
Super. Thanks for fixing that. And thanks for your comments in the source and bug report.


Who's Online Now
3 registered members (rfka01, ted, Breiztiger), 21 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,436
Posts109,392
Members4,764
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.031s Queries: 14 (0.011s) Memory: 4.9970 MB (Peak: 5.2123 MB) Zlib enabled. Server Time: 2017-11-19 14:28:37 UTC