home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / fgl / fglight / exbas.arj / TEMP / 11-05.BAS < prev    next >
BASIC Source File  |  1995-01-20  |  353b  |  25 lines

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. NewMode = FGbestmode(320,200,1)
  6. IF NewMode < 19 THEN
  7.    PRINT "This program requires a 256-color graphics mode."
  8.    STOP
  9. END IF
  10.  
  11. OldMode = FGgetmode
  12. FGsetmode NewMode
  13.  
  14. FGsetcolor 9
  15. FGtext "text", 4
  16. FGwaitkey
  17.  
  18. FGtransfer 0, 31, 0, 7, 4, 15, 0, 0
  19. FGwaitkey
  20.  
  21. FGsetmode OldMode
  22. FGreset
  23.  
  24. END
  25.