[comp.sys.mac.programmer] Why use ROM resources?

d83_sven_a@tekno.chalmers.se (Sven (Sciz) Axelsson) (02/21/89)

What is this stupid thing, having resources in ROM?
The system file usually contains some sizes of the Monaco, Geneva and 
Chicago fonts, right? (At least the Font/DA Mover insists on having it there.)
So you would think that you could edit these and have the system use the
modified version, right? Wrong! The ROM resources gets used always.
Also the standard cursor resources are in ROM, so this would lead you to
believe that you could remove the resources from the System and have
the ROM resources used instead to save a few bytes, right? Wrong!
Here the normal resources gets used always.
OK, I know about calling RGetResource, but shouldn't this behaviour (first
look in the resource file chain then in the ROM resources) be the default?
If not, what are the ROM resources good for anyway? And why are some of them
used instead of the normal System-file resources?
(Mac SE, System 6.0.2)

+-------------------------+--------------------------------+------------------+
|   Sven Axelsson         |  d83_sven_a@tekno.chalmers.se  |  DISCLAIMER:     |
|   dep:t of Linguistics  |          (^^ best ^^)          |                  |
|   univ. of Gothenburg   |        dlv_sa@hum.gu.se        |  This is not     |
|   SWEDEN                |      usdsa@seguc21.bitnet      |  a disclaimer.   |
+-------------------------+--------------------------------+------------------+

tecot@Apple.COM (Ed Tecot) (02/25/89)

Loading a resource from the system file requires RAM to store it in.  ROM
resources do not.  So, when both resources are identical, it is preferable
to use the one in ROM.

						_emt