home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / acorn / 8383 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  3.3 KB

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