Search found 69 matches

by Pengwin
Thu Jun 07, 2007 7:26 pm
Forum: BASIC programming
Topic: Detecting and using the Function Key
Replies: 1
Views: 11658

Thanks for that tip. It's something I wondered back in the day, but never got around to exploring.
by Pengwin
Thu Jun 07, 2007 9:55 am
Forum: BASIC programming
Topic: How do I use sound effects in a BASIC program?
Replies: 3
Views: 14513

After looking at the Atari version of the game, I see that the 'overlap' of sounds would actually work in this instance. :D
by Pengwin
Thu Jun 07, 2007 9:54 am
Forum: BASIC programming
Topic: Need to change something?
Replies: 4
Views: 14558

if you change the GET H$ to H$=KEY$ and line 260 to GOTO 200, then you should get the effect you're after.
by Pengwin
Thu Jun 07, 2007 9:52 am
Forum: Games
Topic: GoSub
Replies: 4
Views: 9613

I've just had a quick play of GoSub, cool game.

I think you're right to use the Oric's built in Ping sound effect...perfect for sonar :)

Also, the suggestion I made in the other thread about using KEY$ instead of GET would allow the game to function as the Atari version.
by Pengwin
Thu Jun 07, 2007 8:49 am
Forum: Games
Topic: GoSub
Replies: 4
Views: 9613

Hi Chris, do you have a link to the Atari version or any threads in AA I could look at?
by Pengwin
Thu Jun 07, 2007 8:46 am
Forum: BASIC programming
Topic: Need to change something?
Replies: 4
Views: 14558

Just another thought, the line 200 GET H$ will pause the program at that line. If the game is to run realtime (sorry, I've not seen the Atari version yet), then I would replace it with 200 H$=KEY$ This would then make the submarine continue in the direction specified until another key is pressed.
by Pengwin
Thu Jun 07, 2007 8:44 am
Forum: BASIC programming
Topic: Need to change something?
Replies: 4
Views: 14558

Line 260 reads:

Code: Select all

260 GOTO 202
it should read:

Code: Select all

260 GOTO 200
Also, why the GET H$ on line 220?
by Pengwin
Wed Jun 06, 2007 8:50 pm
Forum: BASIC programming
Topic: Pressing keys to make stuff happen
Replies: 3
Views: 13304

Just to re-iterate, these are the definitions from the Oric manual

GET (example GET A$)
Strobes the keyboard and waits until a key is pressed.
KEY$ (example X$=KEY$)
Strobes keyboard. Continues execution, whether or not a key has been pressed. X$ contains value of any key pressed.
by Pengwin
Wed Jun 06, 2007 8:46 pm
Forum: BASIC programming
Topic: Pressing keys to make stuff happen
Replies: 3
Views: 13304

There are 2 ways to do this. If you just want the program to pause until space is pressed, then this would suffice: 100 PRINT "Press SPACE to continue" 110 REPEAT 120 GET A$ 130 UNTIL A$=" " 140 CLS 150 REM ... Rest of game if you want the front screen to animate something whilst...
by Pengwin
Wed Jun 06, 2007 9:39 am
Forum: BASIC programming
Topic: How do I use sound effects in a BASIC program?
Replies: 3
Views: 14513

Just one thing you need to be aware of is that if you start a new sound effect before the previous one has completed, it will override the old one.
by Pengwin
Wed Jun 06, 2007 9:34 am
Forum: BASIC programming
Topic: PAPER and INK commands
Replies: 2
Views: 12737

The two commands PAPER and INK control the colours of the paper and ink :wink: Both take a parameter of 0 to 7 with the colours corresponding thus: 0 - black 1 - red 2 - green 3 - yellow 4 - blue 5 - magenta 6 - cyan 7 - white In text mode, these commands will change all attributes in screen. I'm af...
by Pengwin
Wed Jun 06, 2007 9:27 am
Forum: General Discussion
Topic: I am new here.
Replies: 5
Views: 9283

Welcome to the forum Chris. I'm the same Pengwin in AA, so it's good to see you here.
by Pengwin
Mon May 07, 2007 8:34 am
Forum: Mags and books
Topic: oric advanced user guide is still available
Replies: 20
Views: 37450

WOW! That's great news...off to order myself a copy :)
by Pengwin
Tue Feb 06, 2007 12:35 am
Forum: General Discussion
Topic: Forth Help!!
Replies: 4
Views: 8159

Solved it. It was my fault, I didn't read the manual properly. When you first load Oric Forth, you need to issue the following command before anything else: EMPTY-BUFFERS This does what it says on the tin and clear the crap that is residing in memory. Now I can load and compile the editor without an...
by Pengwin
Sat Feb 03, 2007 1:49 pm
Forum: General Discussion
Topic: Forth Help!!
Replies: 4
Views: 8159

Thanks, I'll try again. I've just got a new tape player, so I probably need to play with the volume setting.