[A83] Re: _pointhlind
[Prev][Next][Index][Thread]
[A83] Re: _pointhlind
> > Are there on the 83+ equivalents for _pointHLind
> > and _A2pointHLind on the 83? It seems not but
> > just wanted to make sure.
> >
> > Tijl Coosemans
>What do they do?
>I can't find "pointh"
>
>Ronald
_A2pointHLind:
add a,a
_pointHLind:
ld d,0
ld e,a
add hl,de
jp _loadHLind
As you see it adds A or twice A to HL and then loads L (and A) with (HL) and
H with (HL+1). It's easy to use with a pointer table. You just load HL with
the start of the table and A with which pointer you want. Call the routine
and voilą, you got the pointer. But it seems these routines don't exist on
the +.
Tijl Coosemans
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.