Re: A83: Re: scroll text


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

Re: A83: Re: scroll text




Hey hey hey... why are you all correcting his use of a instead of b? He says
he gets a blank screen, and that's probably NOT because of that. The real bug
is that _vputs trashes a.

Linus

On 14-Jul-98, James Matthews wrote:

>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: References: