© Gerald Friedland 2019
Gerald FriedlandBeginning Programming Using Retro Computinghttps://doi.org/10.1007/978-1-4842-4146-2_6

6. Graphics

Gerald Friedland1 
(1)
Berkeley, CA, USA
 

So far, you have drawn by hand. Now you will let the computer draw!

Type this:

GRAPHIC 2,1

Press RETURN.

The result looks like this:

../images/470770_1_En_6_Chapter/470770_1_En_6_Figa_HTML.jpg

You have switched the computer into the graphics mode.

Now, you can type this:

BOX 1,0,0,100,100

Press RETURN.

Take a look at the result:

../images/470770_1_En_6_Chapter/470770_1_En_6_Figb_HTML.jpg

A box! But the command BOX takes so many numbers!

How does this work?

Let’s take a look again. The command was ...

Get Beginning Programming Using Retro Computing: Learn BASIC with a Commodore Emulator now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.