[comp.sys.handhelds] De-auto-attach libraries

sjthomas@cup.portal.com (Stephen J Thomas) (02/07/91)

 
Here's a programming challenge for the 48SX:
   (Uh, ok, that means: I have no idea to do this or even if it can
    be done.....any volunteers?)
  
You have a library in RAM which automatically attaches itself to the
HOME directory when you turn on the machine, even though you don't want
it too.  Wouldn't it be just great to have a program which would modify
the library so it would stop this annoying behavior and let you attach
it when and where you want to?  
  
Already, I can sense many great minds thinking . . .
  
Steve Thomas     sjthomas@cup.portal.com

akcs.dnickel@hpcvbbs.UUCP (Derek S. Nickel) (02/09/91)

Steve,

Well, you could read the header for the library and clear the offset to
the configuration code (assuming RAM based library).  Of couse, you would
either need to reload the library or have saved the original offset if
you wanted to reenable the configuration code.

        Derek S. Nickel

cloos@acsu.buffalo.edu (James H. Cloos) (02/09/91)

In article <38991@cup.portal.com> sjthomas@cup.portal.com (Stephen J Thomas) writes:
|
| 
|Here's a programming challenge for the 48SX:
|   (Uh, ok, that means: I have no idea to do this or even if it can
|    be done.....any volunteers?)
|  
|You have a library in RAM which automatically attaches itself to the
|HOME directory when you turn on the machine, even though you don't want
|it too.  Wouldn't it be just great to have a program which would modify
|the library so it would stop this annoying behavior and let you attach
|it when and where you want to?  
|  
|Already, I can sense many great minds thinking . . .
|  
|Steve Thomas     sjthomas@cup.portal.com

Actually, this one is rather simple to do manually.  First, download the
library creation etc. file that was (very) recently posted here (see
articel number: ) and use that to decompile the library.  You can then edit
the config routine (keep a copy of the combined ROM address lists that Jake
posted handy) to not attach itself to HOMEDIR, recompile the library, and
off you go. 

NB!:	I haven't yet had a chance to play with these routines as I'm
	"inbetween" cables at the moment, but the description of the tools
	in that article suggest that this will work.

-JimC
--
James H. Cloos, Jr.		Phone:  +1 716 673-1250
cloos@ACSU.Buffalo.EDU		Snail:  PersonalZipCode:  14048-0772, USA
cloos@ub.UUCP			Quote:  <>