home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exbas.arj
/
TEMP
/
10-10.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-01-20
|
438b
|
30 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
DIM Bitmap AS STRING*32
NewMode = FGbestmode(320,200,1)
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
FGsetcolor 9
FGtext "text", 4
FGwaitkey
FGmove 0, 7
FGgetmap Bitmap, 4, 8
FGmove 4, 15
FGdrawmap Bitmap, 4, 8
FGwaitkey
FGsetmode OldMode
FGreset
END