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

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