home *** CD-ROM | disk | FTP | other *** search
- CLS
- SCREEN 2
- CIRCLE (160,87), 86
- PAINT (160,87), 2
- 'Create an array to store the screen data
- 'and GET a portion of the screen into it.
- DIM Buffer%(0:3589)
- GET (0,0) - (319,174), Buffer%
-
- 'Copy the array to a memory image file
- DEF SEG = VARSEG(Buffer%(0))
- BSAVE "SCREEN.FIL", VARPTR(Buffer%(0)), 7180
- CLS
-
- 'Reload the buffer array with screen data
- DEF SEG = VARSEG(Buffer%(0))
- BLOAD "SCREEN.FIL", VARPTR(Buffer%(0))
- 'PUT the image somewhere else on the screen
- PUT (320,0), Buffer%
- WHILE NOT INSTAT:WEND
- END