SMSQ/E 3.34

Anything QL Software or Programming Related.
Derek_Stewart
QL Wafer Drive
Posts: 1137
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

SMSQ/E 3.34

Postby Derek_Stewart » Fri Nov 30, 2018 8:07 pm

Hi,

There is an update to SMSQ/E to v3.34, which has a new keyword SSJOB.

Does anyone know the syntax of the new command and what it does?


Regards,

Derek
martyn_hill
Gold Card
Posts: 448
Joined: Sat Oct 25, 2014 9:53 am

Re: SMSQ/E 3.34

Postby martyn_hill » Fri Nov 30, 2018 8:30 pm

Hi Derek

Could you be referring to 'SUSJB'?

From the v3.34 source (sbsext\ext\jobs.asm), we find:

* 22-11-2018 0.6 added SUSJOB (pjw)
*
* JOBS [#n] lists the current jobs
* RJOB nr,tag,error removes a job
* SPJOB nr,tag,priority sets a job's priority
* SUSJB nr,tag,timeout suspends a job +ve ticks, -1 forever
* AJOB nr,tag,priority activates a job

Looks like there might be a typo in the changes.txt file:

sbsext_ext_jobs_asm 0.60 added SSJOB, JOB_NAME also handles compiled programs (pjw)

But the actual keyword appears to match the header in jobs.asm - we see from sbas\procs\tk2procs.asm:

...
proc_def SPJOB
proc_def SUSJB
proc_def AJOB
...


Derek_Stewart
QL Wafer Drive
Posts: 1137
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: SMSQ/E 3.34

Postby Derek_Stewart » Fri Nov 30, 2018 9:24 pm

Hi Martyn,

So it looks like SuSpend JOB.

OK, happy now...

Just got to check the Q68 config blocks as they usual do not conform to what I use. That is:

WIN1: QLWA.WIN
WIN2: QLWA2.WIN
FAT Drive linked

The point here is that the Q68 will not find the WIN1 QWA file if it is not as above. But not a issue really, just type LRUN "win8_boot" and re-config the defaults.


Regards,

Derek
User avatar
pjw
Gold Card
Posts: 431
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway

Re: SMSQ/E 3.34

Postby pjw » Fri Nov 30, 2018 9:29 pm

Its supposed to be SUSJB (from MT.SUSJB - Qdos nomenclature) ie suspend a job for a number of ticks or forever. Wolfgang disapproves of the name, probably thats why it is misspelled ;)
JOB_NAME should now work for compiled tasks too; Turbo and QLib. Up to 48 chars.


Per
Be wary of large West-Coast corporations bearing gifts!
- Ancient Trojan proverb

Return to “Software & Programming”

Who is online

Users browsing this forum: No registered users and 1 guest