Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!well!espen From: espen@well.UUCP (Peter Espen) Newsgroups: net.micro.mac Subject: Convering Data fork stuff to a CODE resource Message-ID: <1851@well.UUCP> Date: Sun, 28-Sep-86 20:50:02 EDT Article-I.D.: well.1851 Posted: Sun Sep 28 20:50:02 1986 Date-Received: Tue, 30-Sep-86 19:48:30 EDT References: <2275@psuvax1.UUCP> <202@zen.BERKELEY.EDU> <432@inuxm.UUCP> <1143@hoptoad.uucp> Distribution: net Organization: Whole Earth Lectronic Link, Sausalito, CA Lines: 15 Summary: Converting the Data fork to the CODE resource 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)