[Coco] 1bit hsync nasties....
Darren A
mechacoco at gmail.com
Thu Jan 23 12:41:01 EST 2014
On Thu, Jan 23, 2014 at 10:16 AM, Arthur Flexser wrote:
> Simon, seems like you could save an additional 4 cycles by changing ldb
> #$00 to clrb in two places, no? (ldb #$00, decb could also be replaced
> with ldb #$ff, though that wouldn't save any further cycles compared to
> clrb, decb.)
>
> Art
>
>
I thought the same thing when I was looking at his code. However it turns
out that this is self-modified code where the immediate data in those
instructions is being changed elsewhere.
And by the way, ldb #xx and eorb #xx are shown as executing in 4 cycles,
but in reality they take only 2.
Darren
More information about the Coco
mailing list