Re: A86: text scrolling


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

Re: A86: text scrolling




In a message dated 5/8/00 10:43:04 PM Eastern Daylight Time, Cybeross@aol.com 
writes:

> Thanks. How could you make it go right to left instead of left to right?

Try something like this.

    ld a,128            ;columns
rotate_screen:
    ld hl,$ffff
    ld de,$f3ff
    ld c,64
do_rows:
    or a
    ld b,16
do_row1:
    rl (hl)
    dec hl
    djnz do_row1
    ex de,hl
    ld b,16
do_row2:
    rl (hl)
    dec hl
    djnz do_row2
    ex de,hl
    dec c
    jr nz,do_rows
    dec a
    jr nz,rotate_screen


----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org