Yep, Dillwyn’s code does more or less what I described, except that it uses 
SD.EXTOP to get to the channel definition block.

But  it doesn’t get the screen extent right on uqlx without PE. (Which, as I 
said, is not possible for scr_ylim anyhow and thus maybe not so relevant ;) ) 
Code I write in that case tries to get scr_xlim right as described and then 
assumes a 4:3 screen extent - Which is kind of guessing.

Tobias

> Am 13.01.2016 um 22:03 schrieb Dilwyn Jones <dil...@evans1511.fsnet.co.uk>:
> 
> 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 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, but I'm wondering if
> someone has done this before.
> 
> Thanks.
> 
> -- 
> Marcos Cruz
> http://programandala.net
> _______________________________________________
> QL-Users Mailing List
> 
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2016.0.7294 / Virus Database: 4489/11391 - Release Date: 01/13/16 
> 
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2016.0.7294 / Virus Database: 4489/11391 - Release Date: 01/13/16
> 
> _______________________________________________
> QL-Users Mailing List

_______________________________________________
QL-Users Mailing List

Reply via email to