Search found 1316 matches

by pjw
Sun Feb 01, 2015 1:32 pm
Forum: General QL Chat
Topic: How to start a SBASIC from other languages (e. g. C, ASM)
Replies: 24
Views: 10088

Re: How to start a SBASIC from other languages (e. g. C, ASM

Ah, the fix to the loosing control issue I mentioned above is:

Code: Select all

19 cm$ = 'ci = fop_in(#0; "' & pip$ & 'o")'
but then there are no error messages at all. There may well be other and better ways to do it..

Per
by pjw
Sun Feb 01, 2015 12:55 pm
Forum: General QL Chat
Topic: How to start a SBASIC from other languages (e. g. C, ASM)
Replies: 24
Views: 10088

Re: How to start a SBASIC from other languages (e. g. C, ASM

Tobias et al, One of the reasons to use Things is that you can access systems facilities from any programming language. I dont know the details from c68, but in SBASIC you can do the following: EXEP "SBASIC"; 'LRUN "win1_myprog_bas"' ie you feed the (inbuilt) SBASIC Thing with th...
by pjw
Sun Jan 25, 2015 1:13 am
Forum: General QL Chat
Topic: Where to get all the new keywords, possibilities?
Replies: 2
Views: 2236

Re: Where to get all the new keywords, possibilities?

There are various other lists and manuals around. Try Dilwyn! You could try the original QL manuals, though the corresponding QPC manuals are mainly (incomplete) update on these. And the TK2 manuals (The Miracle Systems one I usually found most comprehensive). An index of most keyword in the wild ca...
by pjw
Sun Jan 25, 2015 12:45 am
Forum: General QL Chat
Topic: How to start a SBASIC from other languages (e. g. C, ASM)
Replies: 24
Views: 10088

Re: How to start a SBASIC from other languages (e. g. C, ASM

You will find that information in the QPC Keywords manual. Basically you can just use the EX* command family to execute an SBasic job just like any other. From the manual: EX, EXEC EW, EXEC_W ET SMSQ/E EX and EW will load a sequence of programs and execute them in parallel. EX will return to the com...
by pjw
Tue Jan 13, 2015 3:32 pm
Forum: The Welcome Area
Topic: Hello from Tunbridge Wells
Replies: 18
Views: 9832

Re: Hello from Tunbridge Wells

Hi and Welcome, Adrian. While the QL has the capacity and tools to handle most or all the old (last millennium) languages, you cant really use it to build modern apps. No Ruby, Python or even Java. However, the older languages and the craft of using them is deeply embedded in the archeology of the m...
by pjw
Tue Jan 06, 2015 11:20 pm
Forum: Software & Programming
Topic: How to inhibit printing top-row of fonts...
Replies: 18
Views: 9720

Re: How to inhibit printing top-row of fonts...

Is something like this what you had in mind?
Output from WM_DRAW_LED. It always tries to fill the window its drawn in.
Output from WM_DRAW_LED. It always tries to fill the window its drawn in.
Per
by pjw
Tue Jan 06, 2015 10:46 pm
Forum: Software & Programming
Topic: How to inhibit printing top-row of fonts...
Replies: 18
Views: 9720

Re: How to inhibit printing top-row of fonts...

Or you could try a different approach altogether: Use BLOCK or WM_BLOCK to draw your seven-segment characters. It has been done before, by W Lenerz. In fact I devised an asynchronous timer toolkit incorporating Wolfgang's code. The timer is perhaps not much use to you as it is designed for use in S*...
by pjw
Sun Jan 04, 2015 12:05 pm
Forum: QL Emulation
Topic: Raspberry Pi
Replies: 21
Views: 17909

Re: Raspberry Pi

Thanks tofro, for your comprehensive response. It all makes sense ;) Ive had a few questions privately about how to get uQLx up and running on the RPi. Well, thats not hard: Basically I started by searching QL Forum - this site - for 'raspberry', and then following the trail down the rabbit hole! It...
by pjw
Tue Dec 30, 2014 7:45 pm
Forum: QL Emulation
Topic: Raspberry Pi
Replies: 21
Views: 17909

Re: Raspberry Pi

Hi guys, I got my 16 year old son a Raspberry Pi kit for Christmas. He believes he hates computers (but I believe I know better ;) After playing around with it for a while, I realised how dauntng it is to start from scratch. Afterall, its not just a matter of plug and play, as, if you were lucky, th...
by pjw
Thu Dec 18, 2014 2:46 am
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52161

Re: SBASIC & C++

Hi Norman, If I remember my Turbo correctly, Def Integer means that those variables will be treated as integers and not floating point. Handy for pre SMS* QLs that can't do integer FOR loops, for example. Thats what I thought at first, but I couldnt find it in the Turbo manual. I hoped it might have...