Page 1 of 1

Using PUT + GET in an offscreen buffer

Posted: Wed Feb 02, 2005 9:08 am
by WinfieldSmoker
I have been reading some graphic tutorials that describe using an offscreen buffer in normal memory. The contents of that buffer are copied to video memory so that pictures appear immediately and without flicker. My question is that , is it possible to use QBaisc's PUT + GET to write sprites to the buffer?. If this is possible could you supply a small demonstration code to illustrate this. Thnaking you all in advance
ASmoker

Posted: Wed Feb 02, 2005 10:04 am
by Z!re
Find SetVideoSeg and SuperPut

Two very good and useful routines, that allow you to use any QB gfx command on a buffer, including GET and PUT

Superput also allows you to put partially offscreen (normally, this generates an error)

Both routines allow you to go on using the standard commands: GET/PUT, but they don't work exactly the same anymore.

If I'm not misstaken, there are examples included.

Posted: Wed Feb 02, 2005 3:15 pm
by {Nathan}
Are those routines in a lib? I have never heard of them...

Posted: Wed Feb 02, 2005 7:56 pm
by Mitth'raw'nuruodo
Ummm, Ummm, Ummm.... I though they were made by other QB programers, but they could be libraries.... :?