A83: Re: scroll text
[Prev][Next][Index][Thread]
A83: Re: scroll text
No wait...
wtf...what's that "ld a,96" for? To use DJNZ you need the B register.
For example:
ld b,96
DELAY:
halt
djnz DELAY
That would call HALT 96 times.
James.
____________________
James Matthews.
E-mail (family): matthews@tkb.att.ne.jp
E-mail (private): james_matthews@hotmail.com
Homepage: http://home.att.ne.jp/gold/tomcat21/index.html
ICQ: 7413754
____________________________________
----------
> From: Chris Hiszpanski <mecad@scv.net>
> To: assembly digest <assembly-83-digest@lists.ticalc.org>
> Subject: A83: scroll text
> Date: Tuesday, July 14, 1998 12:48 PM
>
>
> I tried this routine I partialy made but all I get is a blank screen. No
> text appears. What am I doing wrong?
>
> ld a,96
>
> DELAY:
> halt
> djnz DELAY
>
> DISP:
> ld hl,53
> ld (penrow),hl
> ld (pencol),a
> ld hl,ONIT
> call _vputs
> dec a
> cp 0
> jr z,FIN
> ld b,70
> jr DELAY
>
> ONIT:
> .db "**Under Development**",0
Follow-Ups: