Search found 100 matches

by EmmBee
Wed Jun 12, 2019 8:42 am
Forum: Software & Programming
Topic: Controlling DIR scrolling
Replies: 9
Views: 547

Re: Controlling DIR scrolling

Instead of using KEYROW, an INKEY$ loop could be used to suck these unwanted characters out ...

Code: Select all

DIR win1_
REPeat exhaust : IF INKEY$ = "" : EXIT exhaust
PRINT #0,"All clear"
by EmmBee
Wed Jun 12, 2019 8:13 am
Forum: Software & Programming
Topic: Controlling DIR scrolling
Replies: 9
Views: 547

Re: Controlling DIR scrolling

It would appear that the use of KEYROW doesn't actually work. I tried the following ... 100 DIR win1_ 110 dummy = KEYROW(0) 120 PRINT #0,"All clear" The typed in characters are appearing after the All clear message. It's beginning to look like the only way would be to avoid using TK2 and d...
by EmmBee
Tue Jun 11, 2019 10:44 pm
Forum: Software & Programming
Topic: Controlling DIR scrolling
Replies: 9
Views: 547

Re: Controlling DIR scrolling

Hi chr$,

I've had this problem myself. The extraneous keys are coming from TK2, and they get stored in #0's input buffer. dummy = KEYROW(0) should work a treat.

If you would like to give us your listing, that would be interesting, and we could then perhaps make some further comments.
by EmmBee
Fri May 17, 2019 9:59 pm
Forum: Software & Programming
Topic: Hex Compiling
Replies: 4
Views: 443

Re: Hex Compiling

There's an utility somewhere on Per's site (just recently re-opened), I believe, that replaces all hexadecimal constants in S*Basic programs with decimals for compilation. Should come in handy here. Yes, I've found it here ... http://www.knoware.no/ It can be found under ENTER / GO SUB / DeHex It l...
by EmmBee
Wed May 08, 2019 5:06 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 9889

Re: QLCOMMANDER - testers and help needed

QLCommander v2.0 is finally ready ! RENAME file issue on Qemulator running on Windows 10 Have you tried a repair? From Cortana - Control Panel - Programs and Features. Right-Click on Q-emuLator, Click Repair and take it from there. If Repair does not show up, you could try to Re-install Q-emuLator ...
by EmmBee
Tue Mar 26, 2019 10:15 pm
Forum: Software & Programming
Topic: QPC2
Replies: 4
Views: 627

QPC2

I hear there is a new update in the air - sounds very exciting. We have got something to look forward to. The current version v4.05 is already quite something - it is very good indeed. Are we allowed to suggest possible additions? On the bottom left of the keyboard, there is the \ key. When pressed ...
by EmmBee
Sat Mar 16, 2019 12:10 pm
Forum: Software & Programming
Topic: Check if BASIC is running
Replies: 6
Views: 688

Re: Check if BASIC is running

I now don't think that the CHBASE(0,0) line is really necessary - it can be deleted.
It's all to do with finding out if it's stopped.
If it's not stopped, then it must be running.
by EmmBee
Thu Mar 14, 2019 11:19 pm
Forum: Software & Programming
Topic: Check if BASIC is running
Replies: 6
Views: 688

Re: Check if BASIC is running

Here is a version I wrote ... DEFine FuNction isBasicRunning IF VER$ = "HBA" REMark SMSQ/E IF BASIC_B%(110) = 1 : RETurn 1 : ELSE RETurn 0 ELSE REMark QDOS IF CHBASE(0,0) <> -1 : RETurn 2 : REMark no #0 cursor IF BASIC_W%(104) = BASIC_W%(146) : RETurn 0 : REMark STOP occurred IF BASIC_B%(1...
by EmmBee
Fri Mar 08, 2019 11:39 pm
Forum: Software & Programming
Topic: Check if BASIC is running
Replies: 6
Views: 688

Re: Check if BASIC is running

Current Line number executing ... BASIC_W%(104) Continue Line number ... BASIC_W%(146) Break - whether Ctrl-Space was pressed - BASIC_B%(143) Best of luck with this. I got the above information from Jan Jones's QL SuperBASIC The Definitive Handbook These will work with QDOS - but not necessarily wit...
by EmmBee
Wed Feb 27, 2019 5:15 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 9889

Re: QLCOMMANDER - testers and help needed

I found this in turbos3_txt ... But the presence of the command "TURBO_ref" in a program to be compiled will cause TURBO to arrange to send all simple string parameters by reference. Since this will work only if the operating system is SMSQ/E such compiled programs will halt immediately wi...