home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / acorn / 9733 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.9 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!yama!andyf
  2. From: andyf@uk.sun.com (Andrew Fox - Sun UK - Answer centre)
  3. Newsgroups: comp.sys.acorn
  4. Subject: ArtWorks' GDraw module
  5. Date: 23 Nov 92 04:02:50 GMT
  6. Organization: Sun Microsystems Ltd.
  7. Lines: 65
  8. Distribution: world
  9. Message-ID: <lh0lvaINNi70@cronkite>
  10. Reply-To: andyf@uk.sun.com
  11. NNTP-Posting-Host: yama.uk.sun.com
  12.  
  13. Do you want any app that uses draw files to be approximately
  14. 40% faster, then read on.......
  15.  
  16. Whilst playing about with ArtWorks, I noticed a module called
  17. GDraw. Upon closer examination, this module seemed to have the
  18. same SWI's as the inbuilt OS Draw module, plus a few ArtWorks
  19. specials.
  20.  
  21. It then occured to me that perhaps you might replace the
  22. Draw module in the OS with GDraw, and that this would 
  23. give a significant speed increase. Well, you can, and it does.
  24.  
  25. All you need to do is change the SWI chunk number from being
  26. &44540 (ArtWorks) to &40700 (Draw).
  27.  
  28. Basically, load the GDraw module into a suitable editor, e.g.
  29. Dominic Symes' excellent !Zap. Change it to display words,
  30. and look at the eigth word of the module. This should contain
  31. 00044540. Change this to read 00040700. Now find the SWI
  32. base name, GDraw, in this case and change it to something else.
  33. I use QDraw. This avoids a clash with ArtWorks when it loads
  34. the GDraw module. Now re-save the module with a new name.
  35.  
  36. To use the new module you will also need DitherExt. This module
  37. is supplied with both Impression and ArtWorks, but I suggest 
  38. that you use the one supplied with ArtWorks. This module is
  39. necessary because GDraw is dependent on it.
  40.  
  41. The best way to use the new module, is to incorporate it in your
  42. boot sequence. I have put QDraw and DitherExt in my 'Library'
  43. directory and I do the following on bootup.
  44.  
  45. RmKill Draw
  46. RmLoad %.DitherExt
  47. RmLoad %.QDraw
  48.  
  49. I RmKill draw in preference to unplugging it, as this allows 
  50. Draw etc. to work if you don't use your boot sequence.
  51.  
  52. When you now use Draw, DrawPlus, Vector etc. they all re-draw
  53. with about the same speed as ArtWorks. Impression is also
  54. significantly faster if you have documents with lots of
  55. draw files in them.
  56.  
  57. Curiously, if you unplug Draw, the RISC OS 3 startup message
  58. doesn't appear. Presumably, this is because the text is a
  59. draw path.
  60.  
  61. Happy Hacking,
  62.  
  63. Andy.
  64.  
  65. +-----------------------------+----------------------------------------------+
  66. | Andrew Fox,                 |     'Life, don't talk to me about life.'     |
  67. | Product Support Engineer,   +----------------------------------------------+
  68. | Sun Microsystems Inc.,      |                           |
  69. | Citygate, Sale,             | Disclaimer:These opinions are mine, assuming |
  70. | Cheshire, M33 1JF,          |            I can remember what I've said.    |
  71. | ENGLAND. +44 (0)61-905-4589 |                                              |
  72. +-----------------------------+----------------------------------------------+
  73.  
  74.  
  75.  
  76.  
  77.  
  78.