A request for help here
I've got a couple of new Photronics games (see Bomber Copter in GB20) that I'm trying to transfer. Both have transferred successfully. However I have an issue with one of them. Someone wrote +3k RAM on the tape label, and I've tried it with unexpanded and +8k, and it doesn't work properly, so it's definitely +3k. However... when you try to run the one player version of the game, it errors with out of memory.
So... suggestions about what can be done? I can post the TAP if need be.
Mouse Muddle
Moderator: Moderators
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
Mouse Muddle
Lie with passion and be forever damned...
Re: Mouse Muddle
Please email it or pm and I will have a go on Thursday.
Thanks Ian.
Thanks Ian.
Vic20-Ian
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
Re: Mouse Muddle
Load the program with the added 3k then make the following changes:
Move the 2 variables from the end of line 1 to the beginning of line 2.
Then in line 1, after the POKE56,27 add CLR.
Whenever you change the pointers to the start of BASIC or variables you need to do a CLR.
You'll need to do the same to the second program but the lines are already at their maximum length.
Probably the best idea is to just edit line 1 and abbreviate a few keywords to make room then add CLR after the poke to 56.
Move the 2 variables from the end of line 1 to the beginning of line 2.
Then in line 1, after the POKE56,27 add CLR.
Code: Select all
1 poke52,27:poke56,27:clr:print"S":poke36879,25:poke36878,15:poke36869,255
2 ch=7683:cd=8164:goto10
You'll need to do the same to the second program but the lines are already at their maximum length.
Probably the best idea is to just edit line 1 and abbreviate a few keywords to make room then add CLR after the poke to 56.
Ray..
Re: Mouse Muddle
I'm seeing a few more mistakes in the second program that could cause out of memory errors.
Line 14
And again in line 25:
Anytime you have a IF statement after a FOR statement that branches someplace you could potentially overflow the stack and cause an out of memory error.
Line 14
Code: Select all
14 forn=1tol:ifx=y(n)then13
Code: Select all
25 forn=1tolen(w$(r)):ifa$=mid$(w$(r),n,1)then27
Ray..
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
Re: Mouse Muddle
Yeah, I suspected it wasn't the greatest programmed game ever. Perhaps just enough changes to get it functioning...
Lie with passion and be forever damned...