[Prev][Next][Index][Thread]

Re: question on extensions



>>>>> "Dan" == dan g <dan_g@ix.netcom.com> writes:
In article <4fc0ne$3d@ixnews5.ix.netcom.com> dan_g@ix.netcom.com writes:


    Dan> I've been reading Inside Macintosh, and it seems rather
    Dan> simple to impliment.  The Start Manager just searches in
    Dan> order, the System Folder, Extension Folder, and Control Panel
    Dan> Folder for INITs and CDEVs.  It then loads the INIT resources
    Dan> in them and, if there, the SYSZ resource.  Then it jumps to
    Dan> the begining of the block of memory with the INIT code
    Dan> resource.  All items that are ment to stay in memory allocate
    Dan> space in the System Zone or System Heap (System 7), and then
    Dan> terminate the INIT process.  I don't see this as being too
    Dan> hard to impliment.  I know you at ARDI have your hands full,
    Dan> but if I were to make an App that could load extensions, how
    Dan> would Executor respond?  Is there enough code in all of the
    Dan> managers to support this yet?  And how would I increase the
    Dan> memory size with older resources by loading the SYSZ
    Dan> resource?

I think it is more difficult than you suspect.  INITs and cdevs are
going to patch out traps and they may make assumptions that will be
incorrect.  When they do, your app will totally mysteriously break.
*I* could never discourage a person from attacking a difficult problem
without being a hypocrite, but I suspect that we'll have it going over
here before you have it going over there, and we don't plan on
starting for a month or two.

    Dan> -=Dan Guisinger=- dan_g@ix.netcom.com Proud registered user
    Dan> of Executor.

--Cliff
ctm@ardi.com


References: