home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exbas.arj
/
TEMP
/
08-03.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-01-20
|
647b
|
40 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
CONST Pages = 4
SetMemStatus& = SETMEM(-(Pages - 1) * (4096 + 16))
IF FGtestmode(7, Pages) = 0 THEN
PRINT "This program requires monochrome."
STOP
END IF
OldMode = FGgetmode
FGsetmode 7
FGcursor 0
FOR Page = 0 TO Pages - 1
Status = FGallocate(Page)
FGsetpage Page
FGsetcolor 7
FGrect 0, FGgetmaxx, 0, FGgetmaxy
FGsetattr 0, 7, 0
FGlocate 12, 37
CharString$ = "Page" + STR$(Page)
FGtext CharString$, 6
NEXT
FOR Page = 0 TO Pages - 1
FGsetvpage Page
FGwaitkey
Status = FGfreepage(Page)
NEXT
FGsetmode OldMode
FGreset
END