A83: faulty scrolling


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

A83: faulty scrolling




I got this routine from hardscrl and edited it to this much but it doesn't
work right. What am I doing wrong? ( I just call the routine over and over)

setup:
        ld      a,40h                           ; We want too start at
offset 0 (40h+0)
        push    af                              ; Push it on the stack to
use it later

scroll:
        pop af
        and     01111111b             ; Clr bit 7 (we don't want values
>7fh)
        or      01000000b               ; Set bit 6 (we don't want values
<40h)
        out     (010h),a                    ; Out current offset to LCD
instr. port
        push af
        ret

From: Chris (Man in the Moon)
mecad@scv.net