SMSQ/E 3.34

Anything QL Software or Programming Related.
Post Reply
Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

SMSQ/E 3.34

Post by Derek_Stewart »

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
Aurora
Posts: 909
Joined: Sat Oct 25, 2014 9:53 am

Re: SMSQ/E 3.34

Post by martyn_hill »

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
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: SMSQ/E 3.34

Post by Derek_Stewart »

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
QL Wafer Drive
Posts: 1286
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: SMSQ/E 3.34

Post by pjw »

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
dont be happy. worry
- ?
Post Reply