Re: COMMODORE ROM PROJECT

From: Gábor Lénárt <lgb_at_lgb.hu>
Date: Fri, 3 Feb 2012 09:22:22 +0100
Message-ID: <20120203082222.GD3094@vega.lgb.hu>
Hi,

On Fri, Feb 03, 2012 at 08:32:36AM +0100, Baltissen, GJPAA (Ruud) wrote:
> Hallo Gábor,
> 
> 
> > I guess it's a bit overkill to have a compilable (and working!)
> > source of the kernal
> 
> If it is a lot of work to generate it, yes. But I have a disassembler that, with a bit of tweaking, produces readable and in most cases, relocatable sources. 

Wow, ok then :) I am curious how it can be done, since it's not an easy
task: kernal has entry pointes at fixed addresses used by various programs,
also the not so official ones (which should not be used, but maybe some
softwares use them), so if you modify the source these addresses will be not
the same anymore.

How can you do that, to have an assembly source which will produce as much
"fixed points code" as possible with checking that no "overrun" of a code
part if someone want to push "too much" before the next "should be fixed"
address? It's OK that kernal has entries like CHRIN, etc, but I think there
are much more "odd" usage of the kernal with using not so official routines
to call (hmm so "private" functions designed to be used by the kernal
itself).

Anyway, my answer is still valid I guess, it's even easier with the source
of course :) If someone does not need tape routines, there is some place to
implement other stuff there (however even DTV's kernal has bugs, not every
vectors etc are patched which should so some programs crashes because of it
- it's documented for some degree at the links I've mentioned in my previous
mail).


       Message was sent through the cbm-hackers mailing list
Received on 2012-02-03 09:00:03

Archive generated by hypermail 2.2.0.