Up Periscope

Looking for a Dragon or CoCo game not already in the archive - Then request it here and hopefully it will either be uploaded to the archive or another member can upload it to this forum.
Post Reply
dragonmate
Posts: 3
Joined: Wed Jul 24, 2019 4:45 pm

Up Periscope

Post by dragonmate »

Hi
Does anyone have a newer version of the game "Up Periscope", in a emulator. That runs smoothly without any errors.
I am running 1996 version and 1983 and both of the games have a line 26 error.

Thank you.
User avatar
robcfg
Posts: 1529
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Re: Up Periscope

Post by robcfg »

The version at the Archive should be ok.

Are you running XRoar with any DOS cartridge? If so, remove it, hard-reset the machine and try again.

The loading commands are CLOAD and RUN.
dragonmate
Posts: 3
Joined: Wed Jul 24, 2019 4:45 pm

Re: Up Periscope

Post by dragonmate »

Thank you for your reply. I am running up periscope as .cas on Xroar. (didnt think you could get or convert to cartridge).

Anyway there is a fault with the programme both 1983 and 1996 version.

Anyone know if there is a error free version or how to fix the programme.

Thanks for looking.

OM Error in 26
26 If G$=" " OR AY> 178OR AY <0 THEN RETURN
and in 48 etc


I ran a Error Trapping

Allows full error trapping from within a Basic program.

10 X=%TRAP1000
20 REM rest of program
1000 REM program jumps here if error occurs
1010 PRINT %ERR
1020 PRINT %ERL
1030 END

%ERR gives the error number.
%ERL gives the line number that the error occured in.
User avatar
robcfg
Posts: 1529
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Re: Up Periscope

Post by robcfg »

You didn't understand me.

If you have a DOS cartridge connected, the disk rom takes up some memory and makes Up Periscope crash.

On XRoar's menu bar, select Cartridge->None, then Machine->Hard Reset and finally, load the game with CLOAD and RUN.

I've tried that and the game works flawlessly.
pser1
Posts: 1655
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Up Periscope

Post by pser1 »

Hello,
I have tried the game on XRoar emulating both D32 and D64 but always without DOS.
The game works and no ERROR message appears.
When should it appear?
I attach here the cas file I am using for maybe it is not the same as yours

kind regards
pere
Attachments
Up Periscope (1983)(Beyond)[!][RUN].zip
(7.65 KiB) Downloaded 632 times
User avatar
snarkhunter
Posts: 241
Joined: Fri Apr 03, 2009 7:16 pm
Location: France

Re: Up Periscope

Post by snarkhunter »

Hello,

I would tend to believe the "178OR" bit in Line 26 might account for this error.
I myself would add a blank space between the figures and the logical operator ("178 OR").
User avatar
robcfg
Posts: 1529
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Re: Up Periscope

Post by robcfg »

The blank space is not an issue, the basic interpreter recognizes that pretty well.
Post Reply