Re: [cc65] DA65 GEOS Disassembly?

Date view Thread view Subject view

From: Todd Elliott (eyeth_at_videocam.net.au)
Date: 2003-10-10 20:41:40


On Fri, 10 Oct 2003, Maciej Witkowiak wrote:
> Currently grc can concatenate binary files into one .cvt in VLIR format.
> I don't know what is better when thinking about all supported targets - should
> da65 understand .cvt format or should grc/[new tool] be able to split files
> into something that da65 understands now - CBM DOS PRG-like files.
>
Hello, Maciej-

That sounds workable. Something like an 'ungrc' utility or a GEOS splitter
utility that can chop up .CVT's into their respective parts. Then, these
parts can be run through DA65 or some other utility. This way, DA65 need
not to support a GEOS target, much less a Nintendo target, Atari target,
etc.

Still, it would be nice if DA65 could somehow support GEOS disassembly.
Sure, I could use separate utility to split up the GEOS .CVT file, but it
does mean an additional step in the process. Then I would have to
construct a .CFG file for CA65/GRC to compile it again.

I am keenly aware that the cc65 programming suite is a hobbyist project
for many developers here. Any progress towards GEOS development will be
gratefully accepted and be used on my end. Hopefully GEOS disassembly can
be realistically done under the cc65 suite of tools soon.

> They could be provided with da65 or GEOS package in some additional file so
> a user doesn't have to prepare it himself. Is it ok?
>
A quick glance into the help section of the DA65 disassembler shows that
it does not support symbol tables. This doesn't have to be GEOS specific;
A user could specify via the commandline argument to DA65, to load in a
symbol table used to place labels/symbols throughout the disassembly. This
symbol table could be a regular text file, as used in the regular CC65
programming suite.

This way, the user can supply his symbol/label file specific to his/her
platform, be it a C64, Atari, Vic-20, etc. After all, the programmer will
use the same symbol table file for compiling the disassembled program.
This addition will make it easier for the programmer to better understand
the disassembled program, make changes, and more.

Enjoy.
-- 
Todd Elliott
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-10 20:44:10 CEST