Re: A86: can anyone tell me what this does?


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

Re: A86: can anyone tell me what this does?




I think what its doing is shifting each bit in the display right, into
nothing. Neat effect when you've got a lot of stuff on the screen!
 
> If any of you understand this please comment it
> 
> 
>  ld	b,8
> loop1:
>  push	bc
>  ld	hl,$FC00
>  ld	b,255
> loop11:
>  srl	(hl)
>  inc	hl
>  djnz	loop11
>  ld	b,255
> loop12:
>  srl	(hl)
>  inc	hl
>  djnz	loop12
>  ld	b,255
> loop13:
>  srl	(hl)
>  inc	hl
>  djnz	loop13
>  ld	b,255
> loop14:
>  srl	(hl)
>  inc	hl
>  djnz	loop14
>  ei
>  ld	b,6
> del_loop
>  halt
>  djnz	del_loop
>  di
>  pop	bc
>  djnz	loop1
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com