[Coco] disassembling

Robert Gault robert.gault at worldnet.att.net
Wed Jan 14 19:24:49 EST 2004


Roger Taylor wrote:

> At 04:52 PM 1/14/2004 -0500, you wrote:
> 
>> Roger Taylor wrote:
>>
>>> Is there much disassembling going on today?  I've had a request or 
>>> two for adding a disassembler mode to Portal-9.  It sounds 
>>> interesting enough that we could take one of the many CoCo .rom files 
>>> or .bin files and turn them back into source code that is ready to be 
>>> reassembled.
>>> If I add this mode, it would work by taking a preloaded binary file 
>>> and then converting it into another edit window as CCASM source 
>>> code.  I think a panel of switches should be available so the user 
>>> can quickly toggle some modes, change a few params, then do it again 
>>> until the source code is workable, cutting down on how much manual 
>>> editing will be required, if any.
>>> Any suggestions?
>>> ----------
>>> Roger Taylor
>>>
>>
>> Use the CerComp Source III as a model. This disassembler has a fast 
>> mode which works like the EDTASM debug, but it also has a full mode 
>> which saves the created source to disk as an .asm file.
>>
>> The best thing about this program is that the user can enter addresses 
>> for blocks of fcb, fcc, and skip. The full mode will then take the 
>> byte table into account during disassembly. The byte table can be 
>> saved to disk so that multi-session disassemblies are possible.
>>
>> The program has ascii and hex dump window to facilitate creating the 
>> above byte table.
> 
> 
> What is the format for this byte table?  This might help me to 
> understand whether they are creating a list of addresses to stay out of, 
> or perhaps a 64k image that marks addresses that contain data instead of 
> instructions.
> 
> 
> 
> ----------
> Roger Taylor
> 
> 
> 
> 
It is a list of addresses entered by the user which indicates the 
presence of data types rather than code. The entry of this data is an 
interactive exercise until the disassembled source looks normal.




More information about the Coco mailing list