Understanding Atari Graphics.pdf

(13257 KB) Pobierz
295519621 UNPDF
295519621.002.png
PLATE 1 Rotating colors in this mode-lO display of
Program 7 gives the illusion of motion.
PLATE 2 Delicate shadin g in this mode-9 display of
Program 8 creates a three-dimensional image.
PLATE 3 An entire spectrum of colors can be dis-
played simultaneously in the mode-ll Program 9.
295519621.003.png
UNDERSTANDING
ATARI
GRAPHICS
by Michael Boom
AN ALFRED HANDY GUIDE
Computer Series Editor:
George Ledin Jr.
List of Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
List of Plates and Figures . . . . . . . . . . . . . . . . . . . 4
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2. Basic Concepts and Terms . . . . . . . . . . . . . . . . 7
Atari Display Modes . .. . .. . . ..... . . . ..... 7
Pixels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8
Screen Address . . . . . . . . . . . . . . . . . . . . . . . . .. 9
Pixel Loading . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Character Sets .... .... .. . ... . . .. . .. ... 11
Color Registers. . . . . . . . . . . . . . . . . . . . . . .. 11
The Cursor . .... . . .. . .. .. . .... . ........ . 13
3. Graphics Commands . . ............... ... . 14
Formatting Commands ....... .. .. .... . .. . 14
Graphics ... . . ..... . . .. . . ...... . . .. . ... 14
Setcolor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Color ..... .. ... .. . ... ... . .. ... .. ...... 17
Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Plot ..... . .... . .. . ..... . ... .. ... . .. . .. 18
Drawto . . ............ .. ... . ....... ... . 18
Position ...... . ... ... . . .. . . . . . .. . . . . . . 19
Print ... . . .. . .... . .... . .... .. .. . .. . . .. 19
Using Print in Text Modes . ....... . ..... 20
Using Print in Graphics Modes ....... . .. 22
Locate . .. . . . .. . .. .. . .. . . . ..... . .. . . . . 22
Put/Get .. ....... . . . .. . .. ... . ........ . 23
XIO . . ... .... .. . .... . .. ... .. . . . ....... 25
Command Summary ... . ...... .. .... . . . . .. 27
4. The GTIA Chip and Graphics
Modes 9,10, and 11 . . .......... . . . . .. . .. . 28
5. Tips and Tricks ... . ..... .. . . . . . ...... . ... 34
Appendix A: Display Mode Information . . . ... . 36
Text Modes .. .... .... .. .. . . . . .. ... . ..... 36
Graphics Modes ... . ..... . ... .. . .... . . . .. 38
Appendix B: ATASCII Code Chart .... ... . .... 41
L.J ~ SHERMAN OAKS, CA 91403
~ ALFRED PUBLISHING CO., INC.
295519621.004.png
This Handy Guide is not a publication of Atari and should
not be used in lieu of the instruction manuals that accompany
their products. All information regarding Atari graphics may
not be accurate or completely up to date.
Editorial Supervision: Joseph Cellini
Cover Design: Paula Bingham Goldstein
Production Management: Michael Bass & Associates
Copyright © 1982 by Alfred Publishing Co. ,Inc.
Printed in the United States of America.
All rights reserved. No part of this book shall be reproduced
or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or by any
information or retrieval system without written permission of
the publisher.
Alfred Publishing Co. ,Inc.
P .O. Box 5964
15335 Morrision Street
Sherman Oaks, CA 91413
Library of Congress Cataloging in Publication Data
Boom, Michael.
Understanding Atari graphics.
(An Alfred handy guide)
1. Atari computer-Programming. 2. Computer
graphics .
I. Title.
QA76 .8.A82B661982
001.64'43
82- 18463
ISBN 0-88284-224-2
295519621.005.png
LIST OF PROGRAMS
Program 1
Program 2
Program 3
Program 4
Program 5
Program 6
Program 7
Program 8
Program 9
Chapter 2, p. 8
Chapter 3, p. 16
Chapter 3, p. 18
Chapter 3, p. 24
Chapter 3, p. 26
Chapter 4, p. 28
Chapter 4, p. 31
Chapter 4, p. 32
Chapter 4, p. 33
295519621.001.png
Zgłoś jeśli naruszono regulamin