home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- Perimeter$ = CHR$(&hFF)+CHR$(&h80)+CHR$(&h41)+CHR$(&h00)+CHR$(&h22)+CHR$(&h00)+CHR$(&h14)+CHR$(&h00)+CHR$(&h08)+CHR$(&h00)
- Interior$ = CHR$(&h00)+CHR$(&h00)+CHR$(&h3E)+CHR$(&h00)+CHR$(&h1C)+CHR$(&h00)+CHR$(&h08)+CHR$(&h00)+CHR$(&h00)+CHR$(&h00)
-
- 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 7
- FGrect 0, 319, 0, 199
-
- FGmove 156, 101
- FGsetcolor 1
- FGdrawmap Perimeter$, 2, 5
- FGsetcolor 2
- FGdrawmap Interior$, 2, 5
- FGwaitkey
-
- FGsetmode OldMode
- FGreset
-
- END