Atari 130XE — 130XE Owners Manual_Page_077

To print large text on the screen in graphics modes 1 and 2, use PR INT #6 ; fo ll owed by quotes and then the text that you want to print . This statement is a variation on the PR I NT command that you lea rn ed earlier. Now li st the program Change MODE to mode and run the prog ram. MO DE turns green . Type LI ST 20. Us in g the Inverse Video key~, change mode in line 20 to I:[u~l#' and run the program. MO DE now turns bl ue . Li st the li ne again and change l:u1I2ii1 to'Zt,t'H''?J an d run the program . Now MOD E is red. En ter and run the fo ll owi ng progr am : NEW J.9 REM ** COLORFUL TEXT 29 GRAPHICS J.

39 PRINT U6; "ORANGE" 49 PRINT U6; " green" 59 PRINT u6; ".,t·1;!:M;!.lliiI" 69 PRINT U6; " ~" 79 PRINT " COLORFUL TEXT " RUN As you can see, graphics mode 1 is capable of display in g five colors at th e same ti me-four di fferent text colors and one background color. T he colors can also be 'changed by usi ng S ET CO L OR according to th e guidelines outlin ed in the following chart: Register Default Color Character Style Color# LUM 0 Orange Uppercase 2 8 1 Light green Lowercase 12 10 2 Dark bl ue Inverse uppercase 9 4 3 Red Inverse lowercase 4 6 4 Black Background 0 0 Type S ET CO LOR 4,15, 5. Reg ister 4 (the background) changes to a reddi sh orange.

But now the dark blue text is difficult to read. U se S ET CO L OR to change it. Accordi ng to the chart, register 2 controls t he dark bl ue text. S ET CO L OR 2,8,6 does the tri ck by mak in g the dark bl ue text a li ttle bit lighter. Add the fo ll ow i ng li nes to the Colorful Text progra m: J.99 FOR COLOR=9 TO J.5 J.J.9 SETCOLOR 2 .. COLOR .. 8 J.29 FOR DELAV=J. TO 499: NEXT DELAV J. 3 9 NE XT COLOR 71