Re: A86: movingmem


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

Re: A86: movingmem




In a message dated 11/4/98 5:22:14 PM Eastern Standard Time,
maeciggy@hotmail.com writes:

>     What is the best way to get a small chunk of memory(8 bytes) so that 
>  it can be read in Ascii format and not hex or binary?

not quite sure what this question is.
if you mean a string, you make one like this:

	.db "blahblahblah",0	;db=define byte.  zero terminated string follows.

otherwise (that's probably not what you're asking), maybe you could clarify
your question.

>  
>      My second question is, What is the difference between an aligned 
>  sprite and an unaligned sprite?

an aligned sprite is one that fits in a 16x8 grid on the screen, so putting it
there involves no shifting (just replace the video mem byte with the byte from
the sprite, then add 16 and repeat).  an unaligned sprite goes anywhere on the
screen, but the sprite routine is much more complex, with shifting, etc.