Listing to be fixed

Basic and Machine Language

Moderator: Moderators

Post Reply
User avatar
saver71
Vic 20 Hobbyist
Posts: 101
Joined: Tue Mar 17, 2009 12:16 pm
Website: https://superottanta.blogspot.com
Location: Sassari, Italy
Occupation: Advertiser

Listing to be fixed

Post by saver71 »

Hello to all.
I have typed a listing from an Italian magazine, but I find a problem: the joystick does not move the little man.
I point out that the listing is correct, checked several times. I also checked the original version of Compute!'s Gazette magazine, and it's all right.
Can you help me?
I attach the PRG and TXT files.
Thanks in advance.

il_tesoro_perduto.rar
(5.84 KiB) Downloaded 100 times
DarwinNE
Vic 20 Devotee
Posts: 231
Joined: Tue Sep 04, 2018 2:40 am
Website: http://davbucci.chez-alice.fr
Location: Grenoble - France

Re: Listing to be fixed

Post by DarwinNE »

Hi!

Can you please post an image of the original listing (readable)?

However, it was not uncommon that type-ins programs of the era contained typos, if you checked against the listing, did you see if there is an erratum published afterwards?
User avatar
vicist
Vic 20 Afficionado
Posts: 352
Joined: Tue Oct 09, 2012 5:26 am
Location: Sheffield, UK

Re: Listing to be fixed

Post by vicist »

Change the 7 at the end of line 6040 to 73 and it will then work properly. :)
User avatar
saver71
Vic 20 Hobbyist
Posts: 101
Joined: Tue Mar 17, 2009 12:16 pm
Website: https://superottanta.blogspot.com
Location: Sassari, Italy
Occupation: Advertiser

Re: Listing to be fixed

Post by saver71 »

Perfect! Here's the bug!
It was a typo in the magazine, as can be seen in the attached file.
Thanks so much to both of you. :wink:

60.jpg
Post Reply