RE: [ql-users] Screen Snatcher 3 - maybe !

2001-03-30 Thread Norman Dunbar
Thanks Marcel. I knew you would know :o) Norman. Norman Dunbar EMail: [EMAIL PROTECTED] Database/Unix administrator Phone: 0113 289 6265 Lynx Financial Systems Ltd. Fax:0113 201 7265

RE: [ql-users] Screen Snatcher 3 - maybe !

2001-03-30 Thread Norman Dunbar
Dilwyn wrote : only the top left of the screen on an Aurora is used. You should only save the actual number of bytes used for the screen resolution used, i.e. for mode 0 and mode 8, this is pixel_width DIV 4. Is this mode 0 the same as mode 4 then, or has Aurora got mode 0, 4 and 8 ? So I

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-30 Thread Dilwyn Jones
only the top left of the screen on an Aurora is used. You should only save the actual number of bytes used for the screen resolution used, i.e. for mode 0 and mode 8, this is pixel_width DIV 4. Is this mode 0 the same as mode 4 then, or has Aurora got mode 0, 4 and 8 Mode 0 is in fact Mode 4.

RE: [ql-users] Screen Snatcher 3 - maybe !

2001-03-29 Thread Norman Dunbar
Duncan wrote : Could the phantom black window be a default channel opened by using SCR_XLIM without any channels opened? This forces SMSQ/E to open a channel. You could check the size using the qpac2 Exec menu channels function? I will give this a try out and see, it does look like a

RE: [ql-users] Screen Snatcher 3 - maybe !

2001-03-29 Thread Norman Dunbar
Franois wrote : My conclusion is: SCR_XLIM and SCR_YLIM functions open a primary window. I think you may be correct - I shall revisit the source code and see if I am calling scr_ylim before opening a channel. Maybe Marcel can let us know what scr_xlim/ylim do in reality as he has the source

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-29 Thread Marcel Kilgus
Norman Dunbar wrote: Maybe Marcel can let us know what scr_xlim/ylim do in reality as he has the source code :o) It's true, all scr_ functions need a channel block in order to get the information (and open one themselves if there isn't any). One could try opening a small window (1 to 1 pixel

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-29 Thread Dilwyn Jones
Remember that Aurora screens are different - the bytes per line increment may not be the same as the number of bytes used to store one line of pixels in mode 4. Does this mean that the width of a display line as returned by DISPLAY_WIDTH could be, for example, 200 bytes, but in the

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-29 Thread Wolfgang Lenerz
On 28 Mar 2001, at 23:11, FranoisVan Emelen wrote: Well, I really can't tell. I'm not a programmer; my skills are unfortunately limited to some Sbasic. What I know about SCR_LIM and SCR_YLIM is this: If launch the procedure below in QD with F10 (Sbas/QD thing), you will see a black window

RE: [ql-users] Screen Snatcher 3 - maybe !

2001-03-28 Thread Norman Dunbar
Dilwyn wrote : Remember that Aurora screens are different - the bytes per line increment may not be the same as the number of bytes used to store one line of pixels in mode 4. Does this mean that the width of a display line as returned by DISPLAY_WIDTH could be, for example, 200 bytes, but in

RE: [ql-users] Screen Snatcher 3 - maybe !

2001-03-28 Thread Norman Dunbar
Nasta wrote : The line increment on Aurora is always either 256 bytes (QL mode 4 and 8) or 512 bytes (Aurora 16 and 256 colour mode). I presume this is reflected in the SCR or CON channel definition block for the number of bytes per screen line ? If so my DISPLAY_WIDTH function will simply

RE: [ql-users] Screen Snatcher 3 - maybe !

2001-03-28 Thread Norman Dunbar
Franois Van Emelen wrote : 2) Background Basic. This option doesn't draw a phantom background. Could this be the solution to your problem? Don't know yet - but I will give it a try. I was under the impression that this only showed you what the designed menu would look like superimposed on a

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-28 Thread FrançoisVan Emelen
Duncan Neithercut wrote: Hi Could the phantom black window be a default channel opened by using SCR_XLIM without any channels opened? This forces SMSQ/E to open a channel. You could check the size using the qpac2 Exec menu channels function? Duncan Hi, Well, I really can't tell.

[ql-users] Screen Snatcher 3 - maybe !

2001-03-27 Thread Norman Dunbar
Dear all, Firstly, QLiberator has behaved perfectly today - no compilation worries and no crashes on running. I wish I knew what was causing the problems :o( PER : I even managed to REDUCE the stack and heap size from 8K each to 4K stack and 2K heap as the program only used about 1K stack in

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-27 Thread Dilwyn Jones
Next, Screen Snatcher has been updated to save the correct size of a full screen. It does this by working out the number of bytes per screen line and the number of lines in the full screen depth, then it saves (line_width * screen_depth) bytes to file. Remember that Aurora screens are different

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-27 Thread ZN
On 3/27/01 at 6:32 PM Dilwyn Jones wrote: Remember that Aurora screens are different - the bytes per line increment may not be the same as the number of bytes used to store one line of pixels in mode 4. In some modes you may find that the line increment is equal to the number of bytes required

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-27 Thread FrançoisVan Emelen
Norman Dunbar wrote: Dear all, Firstly, QLiberator has behaved perfectly today - no compilation worries and no crashes on running. I wish I knew what was causing the problems :o( PER : I even managed to REDUCE the stack and heap size from 8K each to 4K stack and 2K heap as the

Re: [ql-users] Screen Snatcher 3 - maybe !

2001-03-27 Thread Malcolm Cadman
In article [EMAIL PROTECTED], Norman Dunbar [EMAIL PROTECTED] writes Dear all, Firstly, QLiberator has behaved perfectly today - no compilation worries and no crashes on running. I wish I knew what was causing the problems :o( PER : I even managed to REDUCE the stack and heap size from 8K each