home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!doc.ic.ac.uk!doc.ic.ac.uk!not-for-mail
- From: ijp@doc.ic.ac.uk (Ian Palmer)
- Newsgroups: comp.sys.acorn
- Subject: Re: Validation of Acorns DesktopC includes
- Message-ID: <17ia0qINNm20@oak10.doc.ic.ac.uk>
- Date: 27 Aug 92 10:15:54 GMT
- References: <1992Aug25.115018.1664@rdg.dec.com>
- Organization: Department of Computing, Imperial College, University of London, UK.
- Lines: 59
- NNTP-Posting-Host: oak10.doc.ic.ac.uk
-
- In article <1992Aug25.115018.1664@rdg.dec.com> goodwin@edieng.enet.dec.com (Pete Goodwin) writes:
- >
- >In article <17csu4INN9v@oak5.doc.ic.ac.uk>, ijp@doc.ic.ac.uk (Ian Palmer) writes...
- >
- >>Personally I would hope (no, expect) Acorn to bring out a new version
- >>of RiscOS Lib within a few months (wishful thinking I know).
- >>
- >>release a new version. Why? Well Wimp_Initialise is different for a
- >>start so without a new wimpt_init (or what ever) you will not be able
- >>to get at some of the new stuff (what ever the hidden new stuff is :-))
- >>Plus there are all the new font things, sprite things, template
- >>things, other things, solid drag things (need a new xfer...).
- >
- >You obviously haven't seen ANSI C Release 4 RISCOSLIB. Take a look at
- >wimpt_init - it mentions returning a version number so you can take advantage
- >of RISCOS 3 features.
- >
- >Pete Goodwin
- >goodwin@system.enet.dec.com
-
- Yes but then it's too late. Wimp_Initialise (which is done by
- wimpt_init) now has an extra parameter in which you pass a list of
- things you want to use (although what these things are ???). These (as
- far as I can tell) have to be registered for there and then. Now
- without a new wimpt_init you will not be able to register for them
- (unless you've noticed an extra parameter to wimpt_init that's not
- mentioned).
-
- It has been sugested to me that one of the things you need to register
- with the wimp at this stage for is the ability to use the 3D icons.
- Although this would seem a bit strainge as it (a) would be
- inconsistent with RO3.00 (but I understand that they've also changed
- from the b0-b8 to a different letter to not clash with Interface, so
- anything is possible) and (b) it seems a bit un-necessary.
-
- So simply knowing that you are now under 3.10 when it's too late to do
- anything about it is a bit useless. I suppose you could note that you
- are under 3.10, detatch yourself from the wimp, re-attatrch yourself
- using a direct call to Wimp_Initialise, directly poke the location
- that wimpt_init stores all it's info (like task ID) so that all the
- other routines that rely on stuff setup by wimpt_init will work, and
- in general use special calls to _kernel_swi throughout to account for
- the many other RO3 specific things. In fact you could just stop using
- RiscOSLib all together, as without a replacement it really will become
- more work than it's worth.
-
- Simply being able to note "ah! yes this is OS number 310" doesn't
- magically make RiscOSLib work 'with' RO3.10, extra parameters need to
- be added to function calls, extra function calls are needed, extra
- bits within the functions are needed (eg. allowing drag-a-sprite), and
- so on.
-
- Ian
-
- --
- E-mail : ijp@doc.ic.ac.uk
- ___ __ Snail mail : Department of Computing, Huxley Building,
- / _ _ /_/ _ / _ _ _ _ Imperial College, 180 Queens Gate,
- _/_ (_|_| ) / (_|_(_| ) )_|/_) London. SW7 2BZ. England.
-