12.07.2015 Views

williams-et-al-1983-apple-ii-computer-graphics

williams-et-al-1983-apple-ii-computer-graphics

williams-et-al-1983-apple-ii-computer-graphics

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.

112 APPLE II COMPUTER GRAPHICSwhite <strong>apple</strong> in the center of your screen. If this is not so, enter Monitor andlist the memory range for the table by typing3f3f3.38Fand check your numbers against the ones in Listing 1 ©-3.If the <strong>apple</strong> did turn out correctly, l<strong>et</strong>'s label it using a second shap<strong>et</strong>able. From within Monitor, place the new table at memory location $4©©©by typing4f3f3f3 : f34 f3f3 f3A f3f3 21 f3f3 2E f3f34f3f38 : 36 i3i3 24 24 24 24 24 f3C4f31f3 : f3C 2D 6D 15 36 36 3E 3F4f318 : 3F f36 49 f39 36 36 36 364f32f3 : f3f3 24 24 2C 2D 35 36 364f328 : 3F 3F 36 36 36 f3f3 24 244f33f3: 24 24 24 24 24 f3f3 24 244f338: 2C 2D 35 3E 3F 96 2D 2D4f34f3 : f3f3Listing 19-4. Apple text (courtesy of Dean Lewis].This table contains four shapes representing the l<strong>et</strong>ters A, P, L, and E. Sav<strong>et</strong>his table (again, only if you have a disk) by typingBSAVE APPLE TEXT, A$4f3f3f3, L$41We can use APPLE TEXT to simulate putting a little text on the Hi-Resscreen. There is a continuing debate about wh<strong>et</strong>her you can put true texton a <strong>graphics</strong> screen, other than that in the text window at the bottom.The Apple manu<strong>al</strong>s say absolutely not, and they ought to know-it's theirmachine. However, Bob Bishop says "yes," and he ought to know-he'sdone it. The technique is very complex, difficult to put into practice, andimpossible for the BASIC programmer, so it will not be covered in this text.We refer interested readers to the October 1982 issue of SOFT ALK magazine,pages 54 through 63.The BASIC programmer can do <strong>al</strong>most as well by designing shapes torepresent any or <strong>al</strong>l of the l<strong>et</strong>ters, as we have done with APPLE TEXT. Sol<strong>et</strong>'s put text on the Hi-Res screen by typingBLOAD APPLESHAPEBLOAD APPLE TEXTHGR : SCALE = 1: ROT f3POKE 232,f3:POKE 233 ,3DRAW 1 AT lf3f3, lf3f3POKE 232,f3:POKE 233 ,64DRAW 1 AT 115 , 12f3

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

Saved successfully!

Ooh no, something went wrong!