Re: [Ql-Users] screen info in assembler

2016-01-15 Thread George Gwilt
> On 14 Jan 2016, at 15:32, Marcos Cruz wrote: > > Is there a key for that $C4 offset? The only $C4 I've found in all keys > files I have are ut_windw and pt_ptrok, which have nothing to do with > this. SYS_CLNK George ___ QL-Users Mailing List

Re: [Ql-Users] screen info in assembler

2016-01-14 Thread Wolf
Yes, in keys_sys Wolfgang On 01/14/2016 04:32 PM, Marcos Cruz wrote:Yes, in keys_sys En/Je/On 2016-01-14 10:27, George Gwilt escribió / skribis / wrote : The information is in the CON linkage block. The address of this block is at $C4 of the system variables (usually $28000). Is there a key

Re: [Ql-Users] screen info in assembler

2016-01-14 Thread Marcos Cruz
En/Je/On 2016-01-14 10:27, George Gwilt escribió / skribis / wrote : > The information is in the CON linkage block. The address of this block > is at $C4 of the system variables (usually $28000). Is there a key for that $C4 offset? The only $C4 I've found in all keys files I have are ut_windw and

Re: [Ql-Users] screen info in assembler

2016-01-14 Thread George Gwilt
> On 14 Jan 2016, at 14:56, Marcos Cruz wrote: > > That file is not in peasp02.zip (I downloaded it also from your site, > just in case). Anyway, the keys you mention are in the file > of the SMSQ/E sources. You are right! the file KEYS_CON is in my own PE directory and was not transferred t

Re: [Ql-Users] screen info in assembler

2016-01-14 Thread Marcos Cruz
En/Je/On 2016-01-14 10:27, George Gwilt escribió / skribis / wrote : > The keys for the contents of the block are held in “keys_con” a copy > of which is in EasyPeasy. That file is not in peasp02.zip (I downloaded it also from your site, just in case). Anyway, the keys you mention are in the fi

Re: [Ql-Users] screen info in assembler

2016-01-14 Thread George Gwilt
> On 14 Jan 2016, at 11:11, Wolfgang Lenerz wrote: > > but probably not on systems without smsq/e. The original question assumed SMSQ/E present. George ___ QL-Users Mailing List

Re: [Ql-Users] screen info in assembler

2016-01-14 Thread Wolfgang Lenerz
Hi, but probably not on systems without smsq/e. Wolfgang > > The information is in the CON linkage block. The address of this block is at > $C4 of the system variables (usually $28000). > > The keys for the contents of the block are held in “keys_con” a copy of which > is in EasyPeasy. > > F

Re: [Ql-Users] screen info in assembler

2016-01-14 Thread George Gwilt
> On 13 Jan 2016, at 20:26, Marcos Cruz wrote: > > Which is the easiest way to get the screen info from assembly is SMSQ/E? > I mean, what `scr_base`, `scr_xlim`, `scr_ylim` and `scr_llen` do in > SBASIC. The information is in the CON linkage block. The address of this block is at $C4 of the s

Re: [Ql-Users] screen info in assembler

2016-01-13 Thread jms1
Studying George Gwilts EasyPeasy may help On 2016-01-13 20:26, Marcos Cruz wrote: Hi all, I need some help. Which is the easiest way to get the screen info from assembly is SMSQ/E? I mean, what `scr_base`, `scr_xlim`, `scr_ylim` and `scr_llen` do in SBASIC. I've found the code of those keyw

Re: [Ql-Users] screen info in assembler

2016-01-13 Thread Tobias Fröschle
display2.zip > > Dilwyn > > -Original Message- From: Marcos Cruz > Sent: Wednesday, January 13, 2016 8:26 PM > To: ql-users@lists.q-v-d.com > Subject: [Ql-Users] screen info in assembler > > Hi all, > > I need some help. > > Which is the easiest way to ge

Re: [Ql-Users] screen info in assembler

2016-01-13 Thread Dilwyn Jones
Have a look at the source assembler for my display_cde extensions at http://www.dilwyn.me.uk/tk/display2.zip Dilwyn -Original Message- From: Marcos Cruz Sent: Wednesday, January 13, 2016 8:26 PM To: ql-users@lists.q-v-d.com Subject: [Ql-Users] screen info in assembler Hi all, I

Re: [Ql-Users] screen info in assembler

2016-01-13 Thread Rich Mellor (RWAP)
You could also have a look at the source code for the display toolkit by Dilwyn - http://www.dilwyn.me.uk/tk/ This works on all QL systems. > On January 13, 2016 at 9:02 PM Tobias Fröschle > wrote: > > > Marcos, > > that is not exactly trivial to do portably over all QDOSMSQ platforms. Below a >

Re: [Ql-Users] screen info in assembler

2016-01-13 Thread Tobias Fröschle
Marcos, that is not exactly trivial to do portably over all QDOSMSQ platforms. Below a recipe how I do it: Check for PE (IOP.PINF). If available, screen extent is easy: you can get scr_xlim and scr_ylim via the IOP.FLIM PE call. (If not, xlim is a bit more difficult and ylim not 100% possible

[Ql-Users] screen info in assembler

2016-01-13 Thread Marcos Cruz
Hi all, I need some help. Which is the easiest way to get the screen info from assembly is SMSQ/E? I mean, what `scr_base`, `scr_xlim`, `scr_ylim` and `scr_llen` do in SBASIC. I've found the code of those keywords in the SMSQ/E sources, and I'm studying it in order to remove the SBASIC stuff, bu