home *** CD-ROM | disk | FTP | other *** search
QuickBASIC Tokenized Source | 1991-08-21 | 11.3 KB | 167 lines |
- Scrn13
- KeepDataJ
- SetPixel
- SetPixel256]
- Line256
- Box256
- BoxFe256B
- BoxF256
- CircleVEE
- XCenter
- YCenterr
- Radius
- CircleColor
- XAspect
- YAspect
- Circle256
- NMALLOC
- PSET200
- LINE200
- BOX200,
- BoxF200h
- @ CIRCLE200
- Set320x200
- WColor>
- Set80x25
- BoxF200a
- Set320x240
- PSET240
- LINE240]
- BOX240T
- press
- BOXF240
- @ CIRCLE240
- INCLUDE
- PONIT200
- PONIT240
- Get200
- Array
- Put200
- TPut200
- RPUT200
- Put240
- CreateVirtualScreen
- NumCols
- NumRowsk
- Array1
- Array2
- VTPutw
- SavePalP
- RestorePal
- CharSet200
- @ SetCursor
- Print200
- Set320x400
- XLINE200
- Lines
- CharSet
- FontFile
- FontFile.NName
- Fonts
- SetFont200
- PSET40
- C:\QB45\VGALIB\DECLARE.BAS'
- --- Graphic primitives for the 320x200 mode
- --- Graphic primitives for the 320x240 & 320x400 modes
- --- GET/PUT Commands for the 320x200 mode3
- --- GET/PUT Commands for the 320x240 & 320x400 modes
- --- Virtual Screen Commandse
- --- Palette Commands
- --- Font Commandsn
- --- Misc.
- Dimension Array for Character Set info
- ---Graphics Mode
- ---Draw points
- This is the BASIC PSET Statement. It
- fills half the screen. Press a key."
- Start the Timer
- Stop the Timer
- ---Draw Points using PSET200 function
- Now PSET200 will fill the rest."
- Press a Key.
- ---Give comparison
- BASIC PSET: #.### PSET200: #.###
- Now press a key to see the some lines!
- ---First BASIC LINE drawingm
- This is the BASIC LINE command. It
- will fill the screen with lines.
- ---Now LINE200
- Now for Line200.
- Press a key.
- BASIC LINE: #.### LINE200: #.###
- Now press a key to see something else.
- ---Now LINE200
- Here's something you can't do in
- BASIC...LINE drawing with XOR!
- Notice that it doesn't
- destroy this text?
- Now press a key to see some boxes!
- ---First BASIC LINE,Bt
- This is the BASIC LINE ,B command. It"
- draws exploding boxes.
- ---Now Box200"
- Now for Box200."
- Press a key.
- ---Give times
- BASIC LINE: #.### Box200: #.###"
- Press a key to see some filled boxes!"
- ---First BASIC LINE,BF
- This is the BASIC LINE ,BF command. It
- will draw exploding boxes.
- ---BOXF200
- Now for BoxF200.
- Press a key.
- BASIC LINE: #.### BoxF200: #.###
- Press a key to see the other modes."
- ---First BASIC
- This is the CIRCLE command. It
- will draw exploding circles.
- Now for Circle200.
- Press a key.
- BASIC LINE: #.### Circle200: #.###
- Press a key to see other modes
- Press a key to see the 320x240 mode.
- Since the PRINT command doesn't work
- in these modes, after you hear the
- beep, press a key.
- Press a key to see the 320x400 mode.
- Since the PRINT command doesn't work
- in these modes, after you hear the
- beep, press a key.
- First, the PSET240 command, to
- Set individual pixels.
- Now we'll draw some random lines "
- using LINE240.
- Here are some boxes in random sizes"
- and colors using BOX240.
- And now, filled boxes in random sizes"
- and colors using BOXF240."
- And finally circles using"
- CIRCLE240.
- Press a key to see the 320x400 mode.
- Since the PRINT command doesn't work
- in these modes, after you hear the
- beep, press a key.
- First, the PSET240 command, to
- Set individual pixels.
- Now we'll draw some random lines "
- using LINE240.
- Here are some boxes in random sizes"
- and colors using BOX240.
- And now, filled boxes in random sizes"
- and colors using BOXF240."
- And finally circles using"
- CIRCLE240.
- Okay...Enough lines and stuff.
- How about a change of Fonts?
- Broadway.FNTd
- HERE IS BROADWAY
- Cyber.FNT"d
- HERE IS CYBER.
- GRAPHICS DEMO. (C) Copyright 1991, SCN Creative Solutions
- Thanks for trying out the VGALIB DEMO.
- To Register, send Check or Money Order To:
- John Cressman
- 1043 Main Street, Flr 2
- Emerald, PA 18080
-