Re: Re: git repository

From: Spiro Trikaliotis <ml-cbmhackers_at_trikaliotis.net>
Date: Tue, 25 Jun 2013 21:59:26 +0200
Message-ID: <20130625195926.GA5404@hermes.local.trikaliotis.net>
Hello,

* On Mon, Jun 24, 2013 at 10:44:59PM +0200 "André Fachat" wrote:
 
> will there be a way to produce HTML formatted output? Something that can
> be easily browsed (clicking on label links for example)?

Yep. I added some introductory and info here:

   http://cbmrom.trikaliotis.net/

There is also a link to browseable code.

This was already intended - in fact, I was running this locally since
some time. However, yesterday, I did not have enough time to add
everything.

> Does ca65 produce HTML output as listing?

Unfortunately, ca65html works on the sources, not on the listing. This
leaves me with sub-optimal solutions. For example, I had to work with
macros (instead of segments) in order to create some patches in the case
of the floppy drives, as the code must appear exactly where it appears
in the binary, or the listing file will be unusable for humans, as you
cannot find out where in the address space the code will reside.

Ideally, I would be able to post-process the listing files, so that some
things in the sources could be done better than now. I will work on this
in the future, but I do not know when.

> I have an experimental xa65 version that does, so the build could use this one
> to produce HTML, but that does not include conditional assembly being turned
> into columns. Probably better to create a specific tool for the HTML build...

Yes, the conditional assembly is a problem in itself. I do not even know
how the output should look like ideally. I mean, for the different
devices, even the same line can generate different bytes: For example,

    ldx #INTRA_SECTOR_GAP

for the drive will load $08 into X in case of the 2031, 1540 and
1541-01, but 09 in all other cases.

In other circumstances, the same code might appear at different places
in the address map.

Thus, the ideal presentation is unclear to me ATM, even if I would have
the tools handy.

> Thanks for providing the repo!

You're welcome.

I will add your sources later to the repo. Most probably, I will move my
sources away from the root, and open different directories for other
contributions.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/

       Message was sent through the cbm-hackers mailing list
Received on 2013-06-25 20:01:04

Archive generated by hypermail 2.2.0.