A86: Re: Re: external strings


[Prev][Next][Index][Thread]

A86: Re: Re: external strings




> >/ ex de,hl>.  <call $4c3f> will increment ahl twice so that ahl points 
> 
> i believe that $4c3f is inefficient (time-wise) because it's on a
> different page than _inc_ptr_ahl.  it's better to just call _inc_ptr_ahl
> twice.
> calling an off-page rom call takes 354 clocks.  most page d calls take 27
> extra as well.
> calling _inc_ptr_ahl twice would take 762 clocks in page switching, etc.
> calling $4c3f uses 1089.
> so, that's a difference of 327 clocks.  of course, you also save a huge 3
> bytes!
> 
> ok, maybe none of you care.  i just think it's a bit wasteful.

MY GOD!!! I've never seen something like this.  Is there a reference that
holds
this information?  Or do you just know it?  That's really impressive!
 
> -josh

~DJ Love Toad