EasyManuals Logo

Atari 65XE User Manual

Atari 65XE
135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #81 background imageLoading...
Page #81 background image
The smaller the pixels, the higher the resolution. Of the three modes,
mode 3 is the lowest and mode 7 is the highest. Try drawing a rec-
tangle around the screen borders in modes 5 and 7.
The following program illustrates all that you have tried in this section.
Type it in and run it:
NEW
5 REM **
BILL'S
BOX
(PLOT
AND
DRAW)
10 PRINT "WHICH MODE (3,5, OR 7)";
20 LEFT=0:TOP=0
30 INPUT MODE
40 IF MODE = 3 THEN RIGHT=39:BOTTOM=19
50 IF MODE=5 THEN RIGHT=79:BOTTOM=39
6O IF MODE=7 THEN RIGHT=159 : BOTTOM=79
70 GRAPHICS MODE
80 PRINT" GRAPHICS MODE";MODE
90 FOR COUNT=1 TO 1000
100 COLOR 2
110 TRAP 240
115 REM ** DRAW BOX
120 PLOT LEFT,TOP
130 COLOR 1
140 DRAWTO RIGHT,TOP
150 COLOR 2
160 DRAWTO RIGHT,BOTTOM
170 COLOR 1
180 DRAWTO LEFT,BOTTOM
190 COLOR 3
200 DRAWTO LEFT,TOP
205 REM ** DELAY LOOP
210 FOR DELAY=1 TO 500:NEXT DELAY
215
REM
**
SIZE
OF
NEXT
BOX
220 LEFT=LEFT + 2:TOP=TOP + 2:RIGHT=RIGHT-2:BOTTOM=BOTTOM-2
230 NEXT COUNT
240 PRINT" THAT'S ALL FOLKS!"
250 END
Try using SETCOLOR to change the colors in the Bill's Box program.
You can learn a great deal more about ATARI graphics, including how
to use other graphics modes and create animated characters. Refer to
Appendix F: Resources to locate books, magazines, and users groups
that can help you further explore the world of ATARI BASIC and your
ATARI 65XE Computer.
76

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 65XE and is the answer not in the manual?

Atari 65XE Specifications

General IconGeneral
CPUMOS Technology 6502C
CPU Speed1.79 MHz (NTSC) / 1.77 MHz (PAL)
RAM64 KB
ROM16 KB
Release Year1985
GraphicsANTIC and GTIA
Display Resolution320x192
SoundPOKEY sound chip, 4 channels
Operating SystemAtari BASIC
PortsJoystick, Cartridge
StorageExternal 5.25" floppy disk drive

Related product manuals