Re: A86: 16x16 Vid Mem Shift (rotate)
[Prev][Next][Index][Thread]
Re: A86: 16x16 Vid Mem Shift (rotate)
well, first try this:
> ld de,$000D ; DE = 13
> ld b,16 ; BC = 16
sr16l1: ;these two lines are swapped
push bc ; store BC for loop
> xor a ; reset carry for each row
> ld b,3 ; BC = 3
>sr16l2:
you need to save bc each time you pop it and change it.
-josh
On Tue, 27 Apr 1999 11:20:50 -0700 Dave VanEe <dvanee@dowco.com> writes:
>
>I'm trying to move a 16x16 section of vid mem 1 pixel to the side.
>I've
>just started by trying to make it move the the right. This is supposed
>to
>input DE as the top-left byte of the sprite, and then shift it all 1
>pixel
>over. It also has to work with grayscale ($FC00 and $CA00 layers).
>Any
>ideas why it won't work?
>
>Thx,
>Dave
>
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]