Re: [cc65] CBM units

From: Spiro Trikaliotis <>
Date: 2010-02-21 17:18:16
Hello Uz,

* On Sun, Feb 21, 2010 at 02:02:04PM +0100 Ullrich von Bassewitz wrote:
> On Sun, Feb 21, 2010 at 01:57:55PM +0100, Spiro Trikaliotis wrote:
> >    After this operation, $BA will contain 4, not 8.
> Ok, good point. But this means, just checking for zero is wrong. The code
> would have to check if $ba is less than eight and substitute 8 in this case.
> Right?



Afterwards, $BA will contain 9. - This might and might not be the
behaviour one wants to have.

IMHO, the whole concept of a "current drive" does not fit to the CBM
machines. OTOH, it is unlikely many people will do something in between
the LOAD and the RUN. Thus, the current behaviour - Take $BA if it is !=
0, otherwise, use 8 - seems to be a good compromise to me.


Spiro R. Trikaliotis                               
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Feb 21 17:18:36 2010

This archive was generated by hypermail 2.1.8 : 2010-02-21 17:18:39 CET