Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!unido!fauern!faui44!mlelstv
From: mlelstv@faui44.informatik.uni-erlangen.de (Michael van Elst )
Newsgroups: comp.sys.amiga.tech
Subject: Re: Finding The Workbench Screen
Message-ID: <756@faui10.informatik.uni-erlangen.de>
Date: 2 Dec 88 12:38:45 GMT
References: <1982@van-bc.UUCP> <7796@well.UUCP>
Reply-To: mlelstv@faui45.UUCP (Michael van Elst (kdebugger))
Organization: CSD., University of Erlangen, W - Germany
Lines: 28

In article <7796@well.UUCP> ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes:
>In article <1982@van-bc.UUCP> lphillips@lpami.van-bc.UUCP (Larry Phillips) writes:
>>  Easiest path for finding the WB screen is through IntuitionBase,
>>FirstScreen, Flags. Just walk the screen list until you find the
>>one with the Flags bit ($0001) set. This is the WB. It's always
>>been first whenever I've looked.
>>
>	Shall I correct him, JimM, or shall you?
>

Please use flame oil or instant wolves or...

I wish that any of the small scale programmers here in germany
would be 'corrected'.
Nearly any program published in german amiga magazines
uses IntuitionBase to find screen, windows, mouse positions.
They ask the hardware for mousebuttons and poke into the CIA ports
to print.

And the first thing they do is to stop interrupts and go to
supervisormode (why that ?) to avoid complications.

What a 'harmless' behaviour to get the workbench from the screen list
(if you LockIBase, UnLockIBase, etc..) :-)

				Michael van Elst

E-mail: UUCP: ...uunet!unido!fauern!faui44!mlelstv