Page 126 of the old Sinclair QL Tech Guide says that:

"The Window size and Cursor position (x,y) are put into a 4 word
enquiry block. The top left hand corner of the window is cursor
position 0,0. These traps activate the newline if pending in the
window."

Implies that the 0,0 is in fact cursor position not window origin.

Dilwyn Jones
[EMAIL PROTECTED]
http://www.soft.net.uk/dj/index.html

-----Original Message-----
From: Norman Dunbar <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: 15 November 2001 09:07
Subject: [ql-users] SD_PXENQ (trap #3, D0=$0A)


>I'm having a couple of problems on QPV2V2 calling the SD_PXENQ trap
(sorry,
>I don't have the SMSQ name for it - I'm an old lag !)
>I have my 4 word buffer filled with values, but I'm getting incorrect
>results for the xpos and ypos values - offsets 4 and 6 in the buffer.
>
>The buffer is 4 words and is in the following order - width, height,
xpos,
>ypos - at least that's what it is supposed to be. I get correct
values for
>width and height, but garbage for xpos and ypos as follows :
>
>#0 444x40a0x30
>#1 444x200a0x190
>#2 444x200a0x190
>
>If I open a new channel #3 as 'scr_100x150a50x70', I get
>
>#3 100x150a0x0
>
>Which is totally wrong as far as positioning is concerned.
>
>If I then window #2,400,100,50,170, I get the following for #2 :
>
>#2 400x100a0x0
>
>Looking in the channel definition block, I see that the height and
width are
>followed by the border size and colour - but this still doesn't match
up to
>what I'm seeing. Anyone got any ideas ? (Its QPC2v2 and in SBasic,
VERS$(1)
>gives '2b98' and VER$ is 'HBA'.)
>
>
>Cheers,
>Norman.
>
>
>-------------------------------------
>Norman Dunbar
>Database/Unix administrator
>Lynx Financial Systems Ltd.
>mailto:[EMAIL PROTECTED]
>Tel: 0113 289 6265
>Fax: 0113 289 3146
>URL: http://www.Lynx-FS.com
>-------------------------------------
>
>
>-----Original Message-----
>From: Dilwyn Jones [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, November 13, 2001 4:05 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [ql-users] SCR_XLIM and SCRT_YLIM
>
>
>>
>>BTW: Dilwyn look at your "other" software page on the new us mirror:
>>
>>http://djus.zapto.org
>>
>>:-)
>>
>>(With the kind requests of Mr. Assembler himself ;-)
>>
>>Phoebus
>
>OK, you two, hint taken. It now has a plain gray or grey background.
>
>While sorting that out, I found a couple of out of date email links
>too, so thanks for getting me to sort that out.
>
>Hope your eyes have recovered.
>
>--
>Dilwyn Jones
>[EMAIL PROTECTED]
>http://www.soft.net.uk/dj/index.html
>

Reply via email to