A89: Re: Pic


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

A89: Re: Pic



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Is the pic black and white or is it grayscale?  If it is black and
white you could do something like:
 
 move.l #99,d0    ;100 rows
 lea pic(PC),a0
 move.l LCD_MEM,a1
RowLoop:
 move.l #4,d1    ;160 bits divided by 32 bits in a double word is 5
ColLoop:
 move.l (a0)+,(a1)+
 dbra d1,ColLoop
 adda #10,a1    ;move to next row
 dbra d0,RowLoop
 
I think this should work.  Hope it helps.
 
- --Blake Johnson
- -----Original Message-----
From: Schony <schonhof@galenalink.com>
To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
Date: Monday, March 08, 1999 8:07 PM
Subject: A89: Pic
 

How do I do a Full Screen pic?  I have it all ready it is in the
 
dc.b %00000000,%00000000 format
it is all ready it is 160x100 could some1 make a small code to get it
to display?  my normal sprite code is :
 
 
move.w #0,d0                  ;sets x-coord of picture
 
move.w #0,d1                 ;sets y-coord of picture
 
lea bag2(pc),a0             ;moves address of sprite to a0
 
jsr graphlib::put_sprite         ;draws sprite at a0 with coord d0,d1
 
 
 
but that won't work... how do it do it?
 

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0 for non-commercial use <http://www.pgp.com>
 
iQA/AwUBNuSKRCxQeAj5jZZlEQJsHgCg7vx8XcOzHlTD6E5xHwzp4EuwYcEAnj4z
8Fucfoj8FhYFbC6nkmBTEB6O
=KCTF
-----END PGP SIGNATURE-----