Search found 1322 matches

by pjw
Tue Jan 13, 2015 3:32 pm
Forum: The Welcome Area
Topic: Hello from Tunbridge Wells
Replies: 18
Views: 10221

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: 10224

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: 10224

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: 18319

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: 18319

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: 55899

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...
by pjw
Fri Dec 12, 2014 11:58 am
Forum: Software & Programming
Topic: Detecting Minerva.
Replies: 8
Views: 4527

Re: Detecting Minerva.

Rich, I guess youre right about version numbers. If that is set in stone the test could of course be simplified again. However, it might be worth considering how future updates to Minerva and possibly also QDOS (Classic) would be affected. We're at the cusp of a Minerva V2.xx Perhaps a next version ...
by pjw
Fri Dec 12, 2014 11:15 am
Forum: Software & Programming
Topic: Detecting Minerva.
Replies: 8
Views: 4527

Re: Detecting Minerva.

Phill, I only looked at a small part of your code when I replied yesterday. Looking at the whole, I cant just leave it there. You will probably have figured it out yourself, but just for the record Ill spell it out in full. I also made a suggestion to shave off a few bytes. I hope it works, as I hav...
by pjw
Fri Dec 12, 2014 2:57 am
Forum: Software & Programming
Topic: Detecting Minerva.
Replies: 8
Views: 4527

Re: Detecting Minerva.

Or try something like

Code: Select all

 sysid.ql equ $d2540000

      ..
      cmp.l   #'1 80',d2          ; is it Minerva ?
      blo.s   NotMinerva          ; nope : skip
  
      cmp.l   #sysid.ql,(a0)       a0 -> sys vars: sys_idnt
      bne.s   NotMinerva

     ..
Per
by pjw
Thu Dec 11, 2014 11:58 pm
Forum: Software & Programming
Topic: Detecting Minerva.
Replies: 8
Views: 4527

Re: Detecting Minerva.

Minerva uniquely returns "JSL1" for VER$ (please shout if you know otherwise!). So this string must exist somewhere. However, I dont think the location is documented nor is there a "legal" way to access it. A pity. In SMSQ/E the location of the system identifier is sensibly locat...