[Ql-Users] QDOS/SMS Questions

2012-11-05 Thread Norman Dunbar
There is a system variable for the current keyboard queue. I assume that as there is only one, that it refers to the currently executing job? So If SuperBasic is executing, it will refer to the QDOS channel ID for Channel #0 in SuperBasic. Ok, given that the above is true, I assume that when

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread Marcel Kilgus
Norman Dunbar wrote: Ok, given that the above is true, I assume that when the scheduler reschedules a task, then the above system variable will be loaded with the keyboard queue for the (now) current job? You're already off path here. The queue is not the one of the currently executing job

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread tobias.froesc...@t-online.de
Norman, I'm not sure how far this could help you forward, but it's rather that the channel is related to the job waiting for it than the other way round. The channel table's header has CH_JOBWT - The job that's waiting for input on this channel. That is how the device driver can kick a job

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread Marcel Kilgus
tobias.froesc...@t-online.de wrote: The address of the keyboard input buffer seems to be private to the console channel - There's no variable in the channel table for that. I could even imagine that all console channels share the same keyboard queue - As there can always be only one channel

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread Norman Dunbar
Afternoon Gents, thanks for the information and pointers. I'll have a rummage in the bowels of QDOS/SMSQ and see what, if anything, I come up with. I get the impression I'll be doing this: * create a job. * activate the job. * wait a bit. * scan the QODS channel table for channels owned by

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread tobias.froesc...@t-online.de
Marcel, as a side note: I can find sd_keyq at offset $68 of the Screen Driver Channel Definition Block in the SMSQ/E sources. But nowhere in the documents. Whatever that might mean. Regards, Tobias -Original-Nachricht- Von: Marcel Kilgus ql-us...@mail.kilgus.net An:

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread Norman Dunbar
Hi Tobias, On 05/11/12 14:59, tobias.froesc...@t-online.de wrote: I can find sd_keyq at offset $68 of the Screen Driver Channel Definition Block in the SMSQ/E sources. But nowhere in the documents. In my docs, updated recently, I see sd_end at that offset in the screen driver channel

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread George Gwilt
On 5 Nov 2012, at 12:25, Norman Dunbar wrote: There is a system variable for the current keyboard queue. I assume that as there is only one, that it refers to the currently executing job? So If SuperBasic is executing, it will refer to the QDOS channel ID for Channel #0 in SuperBasic.

Re: [Ql-Users] QDOS/SMS Questions

2012-11-05 Thread George Gwilt
On 5 Nov 2012, at 15:13, Norman Dunbar wrote: On 05/11/12 14:59, tobias.froesc...@t-online.de wrote: I can find sd_keyq at offset $68 of the Screen Driver Channel Definition Block in the SMSQ/E sources. But nowhere in the documents. In my docs, updated recently, I see sd_end at