BBS: Inland Empire Archive
Date: 02-20-93 (11:38)             Number: 376
From: FRED DISANO                  Refer#: NONE
  To: KEVIN FOLEY                   Recvd: NO  
Subj: DIRECT SCREEN WRITES           Conf: (2) Quik_Bas
Hi Kevin, you went like..
 KF> Does anybody know how to use direct screen writes? I think it would use
 KF> OUTs, but that's all I know. If anybody has any code for printing
 KF> directly (without updating the cursor) in QuickBasic I would really
 KF> appreciate it.

well here's one in mode 13(320x200x256)

cls:screen 13
def seg=&hA000

for y=0 to 199
 for x=0 to 319
  pset (320*y)+x,21 <- 21 would be the color

Hope this helps, it is as direct as QuickBasic gets...


--- Maximus 2.01wb
 * Origin: Care of Heaven Sent (1:243/28)
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