home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exbas.arj
/
TEMP
/
13-02.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-01-20
|
505b
|
32 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
SetMemStatus& = SETMEM(-1*(64000+16))
NewMode = FGbestmode(320,200,2)
IF NewMode < 0 OR NewMode = 12 THEN
PRINT "This program requires a 320 x 200 color graphics mode."
STOP
END IF
OldMode = FGgetmode
FGsetmode NewMode
Status = FGallocate(1)
FGsethpage 1
FGsetcolor 2
FGrect 0, 319, 0, 199
FGsetpage 1
FGsetcolor 1
FGrect 0, 319, 0, 199
FGwaitkey
FGfadein 0
FGwaitkey
Status = FGfreepage(1)
FGsetmode OldMode
FGreset
END