Search found 305 matches

by stevepoole
Sat Jul 04, 2020 11:16 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 12
Views: 630

Re: Prospero Pascal BEEP

Hi Folks, Thanks to Tofro, we now have both BEEP and INKEY$ routines for Prospero Pascal which work fine. So now we can produce Pascal games (with the equivalent of RANDOMISE), with full sound... Our aim is to transcode QL programs to run on other systems.... DONE ! But we write our code first on QL...
by stevepoole
Tue Jun 30, 2020 10:53 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 12
Views: 630

Re: Prospero Pascal BEEP

Hi, Prospero's Pascal lacks an INKEY$ routine, which makes the language cumbersome to use, as the alternatives all require an ENTER. I have devised a random-seeding method to emulate 'Randomise', which is no better than a 'card shuffle', but if there were an INKEY$, it could be greatly enhanced. Wit...
by stevepoole
Tue Jun 23, 2020 11:55 pm
Forum: Compatibles Corner
Topic: Q68 support thread
Replies: 62
Views: 9942

Re: Q68 support thread

Hi, Wasn't the 'black box' principal just computer jargon for something where you put your stuff in and it spits out what you want without having to understand the dark arts of machine coding ? These days we might call them 'black holes' : You put your stuff in and get it all pirated over the intern...
by stevepoole
Thu Jun 04, 2020 11:35 pm
Forum: Hardware
Topic: Micro drive continuously spinning
Replies: 21
Views: 729

Re: Micro drive continuously spinning

Hi folks, Perhaps the rubber rollers have ridden up the drive shafts ? Peer into the microcartidge slots, and if there is a gap between the rollers, take a screwdriver and gently prize the top rollers down. That cured the same problem I had with my first JM QL ! Then again, there may be some other c...
by stevepoole
Wed Jun 03, 2020 8:18 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 12
Views: 630

Re: Prospero Pascal BEEP

Hi, Is anyone using Prospero Pascal under QPC2 ? Tobias'es BEEP code works fine, except that durations need to be divided by 1000 to give correct output on my laptop. Similarily, the EXTERNAL 'time' function seems to return a 64-bit integer value, so DIV & MOD can't be used to get hours, mins &a...
by stevepoole
Sat May 30, 2020 9:38 am
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 12
Views: 630

Re: Prospero Pascal BEEP

Hi Tobias, I have compiled and executed your BEEP code successfully. (Very nice with a decent loud speaker system...) But, in Procedure BeepOff,, ReplyLen needs to be chr(0). The 'beep duration' parameters seem to vary with the speed of my various PCs. (I had to add 'wait' loops to get correct sound...
by stevepoole
Mon May 25, 2020 10:39 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 12
Views: 630

Re: Prospero Pascal BEEP

Hi Tobias, Many thanks for this BEEP trap-code, which I shall try out tomorrow. Yes, the QDOS/SMS reference manual also warns about using the IPC traps... I am using QPC, and wonder if the 'IPC' access is as delicate as on 'real' QLs ? In any case, delving into 'traps' will be a new experience for m...
by stevepoole
Sun May 24, 2020 8:39 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 12
Views: 630

Re: Prospero Pascal BEEP

Hi Tobias,

I see in life_pas, you use traps, but how they work is not clear to me...

Where did you find the explanatory documentation please ?

An internet search only gave one reply, a link to your QL Forum thread !

Regards,

Steve.
by stevepoole
Sun May 24, 2020 9:37 am
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 12
Views: 630

Prospero Pascal BEEP

Hi,

Has anyone succeeded in using BEEPs with Prospero Pascal ?

Beep is undefined ( when Timo Salmi's BeepTester program is converted from Compuetr1 pascal ).

What is required is an EXTERNAL BEEP() procedure...

Regards,

Steve.
by stevepoole
Wed May 20, 2020 1:24 pm
Forum: The Off-Topic Section
Topic: Happy Birthday!
Replies: 263
Views: 79778

Re: Happy Birthday!

Hi Again Bwinkel67, As tofro indicatd, try splitting line 140 LOCal variables over two lines. This works OK on my SGC under QDOS... In future I will always do this for backward compatibility. (On some systems, LOCals are limited to 11 per procedure. Otherwise we can make some global...). I hope this...