[futurebasic] Re: [FB] [FBII] Application Boot during Startup

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2000 : Group Archive : Group : All Groups

From: jonathan <jonnnathan@...>
Date: Sun, 23 Apr 2000 12:21:16 +0200
le 23/04/00 7:36, keller à keller@... a écrit :

> 
> Chris Henkel said:
>> 
>> if I remember correctly you could just replace the Finder in the
>> System-Folder with your program and boot again. I did this with System 7.1
>> but havent done it since then...
> 
> You probably also need to set the file type of your app to FNDR.
> Setting the creator to MACS wouldn't hurt anything either.

Here's another suggestion. [beware, my current track record is pretty low]

SInce system 8 there has been a new type of 'extension' that loads before
extensions and are not normally detected by the Extension manager. I believe
that the Appearance Extension is one of these. Have a look at its type with
resEdit. you may find a couple of others like this.

Caveat. If you're doing this sort of thing you will need to do all your own
memory management and the rest as not even system resources are likely to be
there for you to use. You would have to use something similar to the FBII
miniapp shell. ANd debugging will be hell. You will also need to provide a
key that disables your "extension" or a second bootable drive, as you will
need to have an alternate way to 'clean boot'.

On modern Macs you could look into the possibility of having a 'hook' into
the NetBoot functionalities. This at least should be documented somewhere,
but i believe that you have to write your stuff in Forth.

Both of these methods should guarantee that the user can't block things by
using the Extension manager or by removing a file from the startup items
folder, although they could get round them by booting off a second disk or a
CD.

HTH
:-j
[statistically I've got to stop giving dumb replies and get it right
sometime soon...]