An assembler program to find the size of the current screen in pixels is included in the library of routines held in the SQLUG web site @ <www.jms1.supanet.com>.
I have used this in the latest versions of NET_PEEK and DISP3 to allow these programs to be moved on pressing F9, as for The Editor and Perfection.
Minor amendments to the program allow it to produce a function which can be used in a C program.
The result produced is 2^16 * x_size + y_size.
George Gwilt
- Re: [ql-users] Screen size Geogwilt
- Re: [ql-users] Screen size James Hunkins
