Search found 528 matches

by pjw
Thu Mar 12, 2015 9:16 pm
Forum: Software & Programming
Topic: Minerva Assembly
Replies: 10
Views: 2594

Re: Minerva Assembly

I have the Minerva 1.98 sources, obtained from either Dilwyn or Laurence. In the directory M_ROM you should find the link file. I just assembled it now and everything appeared to go well. However, the resultant file is 48822 bytes which differs from other rom files, including one I have here called ...
by pjw
Sun Feb 01, 2015 1:40 pm
Forum: Software & Programming
Topic: SBASIC not compatible with SB: PROCedure in PROCedure
Replies: 3
Views: 1005

Re: SBASIC not compatible with SB: PROCedure in PROCedure

...
DeFine PROCedure something
DeFine PROCedure pat
do something
END DeFine PROCedure
END DeFine PROCedure
...

Nested procedures arent implemented either in SuperBASIC or SBASIC. A lazy interpreter let a cheeky programmer get away with it in the instance above. A shame, its a nice idea..

Per
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: 6
Views: 1814

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: 6
Views: 1814

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

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: 6
Views: 1814

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

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

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

Is something like this what you had in mind?

Timer.jpg
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: 4629

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

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...