Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!uwvax!gumby!bezanson From: bezanson@gumby.WISC.EDU (Brian Bezanson) Newsgroups: net.micro.mac Subject: Re: Convering Data fork stuff to a CODE resource Message-ID: <409@gumby.WISC.EDU> Date: Mon, 29-Sep-86 17:57:48 EDT Article-I.D.: gumby.409 Posted: Mon Sep 29 17:57:48 1986 Date-Received: Wed, 1-Oct-86 01:23:06 EDT References: <2275@psuvax1.UUCP> <202@zen.BERKELEY.EDU> <432@inuxm.UUCP> <1851@well.UUCP> Distribution: net Organization: Manta Software Corporation Lines: 36 Summary: Using MacNosy to snoop at modifying code. In article <1851@well.UUCP>, espen@well.UUCP (Peter Espen) writes: > > Can anyone help me with this one? I am trying to take all the stuff > that's in the Data fork of a file and change it into a CODE type and put > it into the resource fork of the file. > The program that I'm trying to disassemble with MacNosy uses a > short program to read the Data file (it's actually code though) into RAM > and then sets up all the pointers and jumps to it. I've tried using TMON > to just trace through the code when it's in RAM, but the program re-assigns > alot of the system pointers etc. and I can only trace so far with TMON before > the whole thing just blows up. > MacNosy will only lets you disassemble all the stuff (like CODE types) > in the resource fork of APPL files. So what i really need to do is convert > the data fork to a resource fork of type CODE. > Any help would be appreciated. > Peter Espen (espen@well) Peter, I have not used Nosy too much, except in playing around with it (I'm still waiting for a real users manual), but in the later versions (2.1+) you can load Nosy in one switcher partition and your program in another. Then you tell Nosy to disassemble the file, it will see that you have loaded it into switcher and you can play with it from there. The latest version of Nosy is 2.25 (or even higher now), which has this capability, plus the ability to use the new debugger. Get onto the Nosy SIG on Delphi and they explain more on how to do this. I hope this info helps. If not, you can always leave mail for MacNosy of Delphi and Jasik will answer your questions fairly promptly. Note: Standard disclaimer, I have no connection with Steve Jasik, aka MacNosy, aka The Head Nose, etc... I am just an impressed customer who can't wait to have enough time to sit down and play with the sucker (MacNosy). -- Brian Bezanson {seismo,ihnp4,allegra,topaz,harvard}!uwvax!gumby!bezanson Manta Software Corp. bezanson@gumby.wisc.edu