Re: A83:STILL NEED HELP!


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

Re: A83:STILL NEED HELP!




In a message dated 10/20/99 6:52:33 PM Eastern Daylight Time, david@acz.org 
writes:

> Hehe...complicated routine?  :)
>  
>   ld hl,SourceBuffer    ; where you are copying from
>   ld de,TargetBuffer    ; where you want to copy to
>   ld bc,768                 ; the number of bytes to copy (screen is 768
>  bytes)
>   ldir                           ; copy all the bytes
>  
>  If this is not what you meant, sorry.

LOL.  He wants to retrieve what's literally in the screen's internal cache, 
not just copy from one buffer to another :-)

>  
>  >     I draw a background pic, then I write text using _vputs. This
>  > displays my text on top of my pic, but the text is on the screen, and
>  > not actually in the buffer. I then call a sprite routine that reeds and
>  > edits the buffer and sends it to the screen. This effectively erases the
>  > text by copying the buffer, which doesn't have the text, to the screen.
>  > I want to draw the background, write the text, and copy the screen to
>  > the buffer, THEN run the routine. Unfortunately I am at a loss as to how
>  > to copy the screen to the buffer. Is their a rom call (Please , please,
>  > please) or do I have to write a complicated routine that has to read
>  > each pixel 1 by 1?
>  
>  



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/


Follow-Ups: