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 » Thu Jul 25, 2019 2:21 pm

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: 1295
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: Up Periscope

Post by robcfg » Thu Jul 25, 2019 9:37 pm

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 » Fri Jul 26, 2019 5:37 pm

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: 1295
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: Up Periscope

Post by robcfg » Fri Jul 26, 2019 6:37 pm

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: 1351
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Up Periscope

Post by pser1 » Fri Jul 26, 2019 6:41 pm

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 114 times

User avatar
snarkhunter
Posts: 214
Joined: Fri Apr 03, 2009 7:16 pm
Location: France

Re: Up Periscope

Post by snarkhunter » Mon Nov 25, 2019 9:52 am

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: 1295
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: Up Periscope

Post by robcfg » Mon Nov 25, 2019 10:59 am

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

Post Reply