Vga programming

 BBS: Inland Empire Archive
Date: 11-12-92 (20:12)             Number: 358
From: MATT HART                    Refer#: NONE
  To: KENNY BINGHAM                 Recvd: NO  
Subj: Vga programming                Conf: (2) Quik_Bas
 KB> You say that I can't use normal QB commands? If not then what
 KB> commands could I use?

Only BIOS calls (which just set pixels, scroll up, down &
the Tandy 1000 BIOS includes left and right scrolling, set
the palette color), direct screen writes (POKE).  To do
circles, lines, etc..., you must figure the algorithms
yourself.  For example, here's a circle:

     FOR i!=0 TO Pi!*2! STEP .1    ' the STEP determines the resolution of
          X=100+Radius*SIN(i!)     ' the circle, a smaller step is needed
          Y=100+Radius*COS(i!)     ' on higher res screens
          CALL SetTandy(X,Y,Colr)
 * Origin: Midnight Micro!  V.32/REL  (918)451-3306 (1:170/600)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET