Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5646

Re: Screen saver code fails to work

From Richard Ashbery <basura@invalid.addr.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Screen saver code fails to work
Date 2018-12-21 21:31 +0000
Organization None
Message-ID <576a113c26basura@invalid.addr.uk> (permalink)
References <57685f53cabasura@invalid.addr.uk> <mpro.pjy8dz00mq03701mt.news@stevefryatt.org.uk>

Show all headers | View raw


In article <mpro.pjy8dz00mq03701mt.news@stevefryatt.org.uk>, Steve
Fryatt <news@stevefryatt.org.uk> wrote:
> On 18 Dec, Richard Ashbery wrote in message
>     <57685f53cabasura@invalid.addr.uk>:

> > I've been testing a simple graphic program with the late, Martin
> > Fox's Wimp polling routine to create a screen saver. ORIGIN
> > 1920,1080 sets the graphic in the screen centre. Whenever the
> > Screen saver is run from the Configuration Screen window program
> > crashes.

> You don't say what "crashes" means, and I'm not completely clear if
> it's the Configure application or your screen saver which does it?

Surely it's the screen saver which is causing the Configure.Screen to
crash as other screen saver programs I've tested appear to work
effectively.

> > The program appears to run error free with its origin set in
> > bottom left hand corner of screen if REMmed out. Is there a CLI
> > command I could try instead?

> Although not listed in the "don't use under the Wimp" keywords,
> ORIGIN affects the entire system and all running applications:
> moving the origin to the centre of the screen could result in
> applications getting coordinates that they don't expect (although
> they shouldn't crash as a result).

Makes sense but how frustrating! It means I would have to spend
endless hours editing several programs to cope with 0,0 co-ordinates.
In my ignorance I thought this would be simple to do. Many of the
programs are from Drag'nDrop's 55 Micro Books.

> Since moving the origin is just a numerical nicety, can the code
> not be changed to work using (0,0) in its more usual location?

Answered above.

All of my test programs complete their drawing rapidly but some cause
the Configuration.Screen application to crash. I think I might have to
put the polling routine/graphic program onto a site where I can ask
you or others to have a look at the coding. At the moment I don't have
a website where I can do this - I'll try and sort something out. In
the meantime I'll try and understand the Wimp polling - someone said
it was easy - I don't think so :-(

Richard

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Screen saver code fails to work Richard Ashbery <basura@invalid.addr.uk> - 2018-12-18 14:32 +0000
  Re: Screen saver code fails to work Ron <Ron@GMail.com> - 2018-12-18 19:54 +0000
  Re: Screen saver code fails to work Steve Fryatt <news@stevefryatt.org.uk> - 2018-12-18 20:18 +0000
    Re: Screen saver code fails to work druck <news@druck.org.uk> - 2018-12-18 21:53 +0000
    Re: Screen saver code fails to work Richard Ashbery <basura@invalid.addr.uk> - 2018-12-21 21:31 +0000

csiph-web