Re: A83: Scrolling background...
[Prev][Next][Index][Thread]
Re: A83: Scrolling background...
You have to increase HL to.. this way you just rr the first byte 768 times..
At 22:54 1998-07-29 +0900, you wrote:
>
>What's wrong with this code? Thanks...
>
>---<START USELESS CODE>---
>
>.NOLIST
>#define equ .equ
>#define EQU .equ
>#define end .end
>#include "ti83asm.inc"
>#include "tokens.inc"
>.LIST
>
>.org 9327h
>
> ld hl,picture
> ld de,PLOTSSCREEN
> ld bc,768
> ldir
> call _grbufcpy_v
>
> ld b,96
>mainloop:
> push bc
>
> ld hl,PLOTSSCREEN
> ld b,0
>loop1:
> rr (hl)
> djnz loop1
>loop2:
> rr (hl)
> djnz loop2
>loop3:
> rr (hl)
> djnz loop3
>
> call _grbufcpy_v
>
> pop bc
> djnz mainloop
>
> ret
>
>picture:
> {deleted}
>
>.end
>.end
>
><--END USELESS CODE-->
>
>
References: