🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #43517

GWBASIC graphics questions

#43517
From: Brian Campbell
Date: Mon, 05 Mar 1990 20:12
22 lines
1664 bytes
I tried doing some simple graphics programming recently on somebodies recently
aquired PC clone.  I tried accessing the EGA graphics using the BASIC
commands SCREEN 7 and also 8,9, and 10.  It resulted some type of function call
error.  Accessing CGA graphics via SCREEN 1 and 2 worked OK.  This suggests
that the PC does not have EGA graphics.  But the bill of sale shows that computer
has EGA graphics.  How can I tell for sure?  If EGA is installed, then how
do I get it to work in GWBASIC?  Am I even interpretting the BASIC manual properly?

BTW, when going from screen 0 to screen 1 to screen 0, the display changes from
80 columns to 40 columns.  How do change back to 80 columns again?  Is there a
simple command?  When going to screen 0 to screen 2 to screen 0, I do get 80 columns
again, but the characters are cyan on a yellow background.  Using PALETTE 0,0
creates a black background again.  I understand how PALETTE works in screen 1
(and screen 2) I think, but not in the screen 0 text mode.  Please explain how
to get around these difficulties.

One more question:  is there a simple way to get rid of the BASIC function key
descriptions at the bottom of the screen that occurs in the graphics modes?

Please email a response.  I do not regularly read the ibm.pc user group.
Thanks in advance.
Technical Details
Message-ID: <490485cb.f759@viking.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!hrc!viking!campbellb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!hrc!viking!campbellb
From: campbellb@viking.UUCP (Brian Campbell)
Newsgroups: comp.sys.ibm.pc
Subject: GWBASIC graphics questions
Keywords: WBASIC, graphics, EGA
Message-ID: <490485cb.f759@viking.UUCP>
Date: 5 Mar 90 20:12:40 GMT
Organization: gte
Lines: 22