Assembler - talk about a necessary procedure as the derivation of the sprite.

Amazing #02
(C) 1998 by Mr.Beeper

Music by Ironman

We continue to have begun in the previous issue of the theme of 
"assembler", and this time let's talk about this as a necessary 
procedure output sprite.


  In the journal "Odyssey" there is somewhere an article on
derivation of the sprite size 192 * 256 (full screen) for a 
break! We, however, we consider a smaller, so be patient and 
read the dial. 

All procedures are divided into the output sprite
two species.

1). Rapidity of the procedure is not very
fast, but its dimensions is less than in the second case.

2). Speed ​​of execution is much faster
Although its dimensions are slightly larger.

Here on the items you need to focus when you choose the type of 
procedure, which is more suited to your program. Below 
prevedennaya procedure works As it is written in the first 
paragraph (see above), and remake it under the second method 
will not make difficulties. 


        ORG 25000
VIV.SPR LD HL, # 8000; address sprite

        LD DE, # 4000; address

                    ; Display

        LD B, 16; kol_vo pixels y
VIV PUSH BC

        PUSH DE

        LD BC, 7; kol_vo familiarity with respect to x

        LDIR; <<