Re: A86: display two registers
[Prev][Next][Index][Thread]
Re: A86: display two registers
Trent Lillehaugen wrote:
>
> DEATH wrote:
>
> > like this:
> >
> > loop:
> > ;curs row,col reset here
> > ld hl,$ffff
> > ld a,0
> > call $4a33
> > dec hl
> > jp loop
> > ;made it simpler for the post
> >
> > it displayed random characters when i tried it
>
> first off, your ld hl,$ffff should be BEFORE the loop, otherwise you
> decrement it, then reload the value $ffff into it (doesn't do anygood,
> while you are at it, put the ld a,0 up there too. Don't know what else
> could be wrong, sorry...
yeah i missed that..the real program has it right
References: