home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exbas.arj
/
TEMP
/
08-15.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-01-31
|
586b
|
33 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
CONST VBwidth = 20
CONST VBheight = 20
OldMode = FGgetmode
FGsetmode 19
FGvbinit
FGsetcolor 15
FGrect 0, VBwidth-1, 0, VBheight-1
FGsetcolor 9
FGrect 1, VBwidth-2, 1, VBheight-2
FGwaitkey
SetMemStatus& = SETMEM(-(VBwidth*VBheight+16))
Handle = FGvballoc(VBwidth,VBheight)
Status = FGvbopen(Handle)
FGvbcut 0, VBwidth-1, 0, VBheight-1, 0, VBheight-1
FOR X = 0 TO 320-VBwidth STEP VBwidth
FGvbpaste 0, VBwidth-1, 0, VBheight-1, X, 199
NEXT
FGwaitkey
FGvbclose
FGvbfree Handle
FGsetmode OldMode
FGreset
END