11.07.2015 Views

Untitled - TRS-80 Color Computer Archive

Untitled - TRS-80 Color Computer Archive

Untitled - TRS-80 Color Computer Archive

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

COMMODOREAPPLEC64 COMPUTER C-128COMMODORE-Full-ScreenShellFor•WITH PURCHASE OF OURSPECIALLY PRICED SOFTWARE$199WITH PURCHASE OF1571 DISKDRIVESTDavidBASICLindsley*1391541COMMODOREMODEMMODEMHave you ever wanted to write an ST BASIC program thatisn't confined to the BASIC output window? This programshows how to create full-screen graphics that don't dependon the usual window borders.1200 BAUDHAYES COMPATIBLEWindows are integral to the ST BASIC programmingenvironment. Whether you're typing, listing, or running a program, everything occurs within a borderedwindow. Since ST BASIC provides no commands formonitoring gadgets such as the window scroll bar, thegadgets serve no real purpose in most programs. Andin applications such as games, the ever-present bordersprevent you from using the full area of the screen.This program creates a full-screen shell for yourown ST BASIC programs. By enclosing a programwithin this code, you can override BASIC'S windowingenvironment and work with the entire screen surface.For a demonstration, type in the program at theend of this article and save a copy; then run it. Thescreen is filled immediately with a graphic design. Atthe top of the screen, where the ST BASIC menu titlesnormally appear, is a title bar containing the name ofthis program. After a short pause, the screen clears andreturns to normal, displaying the ST BASIC menu titleswhich were overdrawn while the program ran.Enclosed In A ShellThe line numbering of this program is designed tomake it easy to merge with your own programs. Lines10-70 check the current screen resolution and adjustseveral variables accordingly. Line <strong>80</strong> calls the subroutine PRGNAME which draws a title bar with the titleyou designate and fills the screen with the specifiedpattern.FULL COLORMONITORRETAIL S299S138S59$188MONOCROME MONITOR(HtGH RESOLUTION)RADAR DETECTOR PRO-TECH-TRONICS8870 Shingle Creek Parkway #103Minneapolis, MN 55430VALUE $249.00 I QUICK1-<strong>80</strong>0-345-50<strong>80</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!