home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!yama!andyf
- From: andyf@uk.sun.com (Andrew Fox - Sun UK - Answer centre)
- Newsgroups: comp.sys.acorn
- Subject: ArtWorks' GDraw module
- Date: 23 Nov 92 04:02:50 GMT
- Organization: Sun Microsystems Ltd.
- Lines: 65
- Distribution: world
- Message-ID: <lh0lvaINNi70@cronkite>
- Reply-To: andyf@uk.sun.com
- NNTP-Posting-Host: yama.uk.sun.com
-
- Do you want any app that uses draw files to be approximately
- 40% faster, then read on.......
-
- Whilst playing about with ArtWorks, I noticed a module called
- GDraw. Upon closer examination, this module seemed to have the
- same SWI's as the inbuilt OS Draw module, plus a few ArtWorks
- specials.
-
- It then occured to me that perhaps you might replace the
- Draw module in the OS with GDraw, and that this would
- give a significant speed increase. Well, you can, and it does.
-
- All you need to do is change the SWI chunk number from being
- &44540 (ArtWorks) to &40700 (Draw).
-
- Basically, load the GDraw module into a suitable editor, e.g.
- Dominic Symes' excellent !Zap. Change it to display words,
- and look at the eigth word of the module. This should contain
- 00044540. Change this to read 00040700. Now find the SWI
- base name, GDraw, in this case and change it to something else.
- I use QDraw. This avoids a clash with ArtWorks when it loads
- the GDraw module. Now re-save the module with a new name.
-
- To use the new module you will also need DitherExt. This module
- is supplied with both Impression and ArtWorks, but I suggest
- that you use the one supplied with ArtWorks. This module is
- necessary because GDraw is dependent on it.
-
- The best way to use the new module, is to incorporate it in your
- boot sequence. I have put QDraw and DitherExt in my 'Library'
- directory and I do the following on bootup.
-
- RmKill Draw
- RmLoad %.DitherExt
- RmLoad %.QDraw
-
- I RmKill draw in preference to unplugging it, as this allows
- Draw etc. to work if you don't use your boot sequence.
-
- When you now use Draw, DrawPlus, Vector etc. they all re-draw
- with about the same speed as ArtWorks. Impression is also
- significantly faster if you have documents with lots of
- draw files in them.
-
- Curiously, if you unplug Draw, the RISC OS 3 startup message
- doesn't appear. Presumably, this is because the text is a
- draw path.
-
- Happy Hacking,
-
- Andy.
-
- +-----------------------------+----------------------------------------------+
- | Andrew Fox, | 'Life, don't talk to me about life.' |
- | Product Support Engineer, +----------------------------------------------+
- | Sun Microsystems Inc., | |
- | Citygate, Sale, | Disclaimer:These opinions are mine, assuming |
- | Cheshire, M33 1JF, | I can remember what I've said. |
- | ENGLAND. +44 (0)61-905-4589 | |
- +-----------------------------+----------------------------------------------+
-
-
-
-
-
-