Run_Issue_53_1988_May

Page 60

MOVING the Starting values for ihe screen colors with the following PokfflK Border/background—POKE 49296,co1or Cbaractcrt—POKE 49247,color

With these preliminaries out of the

MESSAGES

way, the program clears the screen and

stores tile code, then proceeds by col

begins to process your text, starting with

umns and rows. If column 1, row I is

the first character. Characters on the C-64 consist of 8-pixel x H-pixel matrices,

zero, a space is printed to the screen; if it's a one, a character is printed. II the

so the program encodes each character

height is two, ihe last step is repeated

as 64 ones and zeros (see Figure 1). It

once; if it's three, the last step is repeated twice. The program processes each row in turn, until row 8 is completed.

Flgura 1. Bampla character coding.

Tabla 1. Function Kay actions.

F1

Change height

F2

Delay scroll

F3

Change width

AA

F4

Change character

AAAAAA

F5

Clear screen

AA

AA

01100110

F6

Repeat entire message

AA

AA

01100110

F7

Erase screen by scroll

AA

AA

01100110

F8

Exit to Basic

AA

00011000

AAAA

(10111100

AA

01100110 becomes

01111110

00000000

Next, the screen scrolls and the last col umn is reopened. If the width is greater

than one, the previous Column is re peated until the Correct width is readied. The columns are processed in order un til the character is finished, (hen on to succeeding characters until your entire

message is "on die move." M Mike Richardson, a tenth-grade student in Adrian, Michigan, has been programming—

of lite mainly in mocking language—■for about Jim years. He started with iia^ir and now wants to team Comol.

Lilting 1. Bonic Loader program.

0 REM COMPUTER BOARD -

10

RICHARDSON

(SCROLLER)

180

:HEM*13

PRINT"(SHFT CLR}POKING DATA. SREW1

190

30

IN DATA

200

STATEMENTS.":STOP

PRINT"{CRSR DN1COMPUTER BOAR D

64

ACTIVATED."

2

TO

ENTER

DATA."

220

110 DATA 253,169,32,133,252,169 ,208,133,254,160,0,177,253, :REM*238

120 DATA 249,24,165,252,105,1,1 33,252,24,165,254,105,1,133 ,254,165,252,201 :REM"222

130

DATA 48,203,227,165,1,9,1,1

140

220,96,160,28 :REM*77 DATA 185,43,0,153,65,195,13

230

240

160

:REM*114

250

:REM*168

260

:REM*49

DATA 141,8,193,173,9,193,10

:REM*5

,162,0,160,196 :REM*23 5 290 DATA 134,59,132,60,160,0,13

:REM*38

DATA 252,165,251,201,255,20 :REM*108

DATA 210,255,32,0,192,169,1 47,32,210,255,32,84,192,32, 72,192,169,0,141 RUN-

MAV lilHN

:REM*39

,31 ,32,234,194

300

:REM*7 0

,12,201,4,176,14,133,51,32, 390

400

:REM*109

310 DATA 165,60,105,0,133,60,23

234,194,76,191

:REM*0

DATA 192,169,1,208,244,169, 3,208,240,201,134,208,31,32 ,234,194,160,0 :REM"126 DATA

177,47,201,1,144,12,20

1,5,176,12,133,52,32,234,19 4,76,191 ,192,169

410

:REM*111

DATA 1,208,244,169,4,208,24 0,201,135.20B,14,169,147,32 ,210,255,32,84 :REM*144

4 20

DATA

192,32,234,194,76,192,

192,201,13 6,208,50,162,3 9,1 60,4,134,251,132 4 30

DATA 51,192,1,240,42,192,2, 240,57,32,149,193,24,165,59 ,105,8,13 3,59

:REM*69

380 DATA 160,0,177,47,201,1,144

2,61,134,62,162,0,160,0,177 ,59,145,57,164

:REM-37

DATA 133,47,165,48,105,0,13 3,48,76,183,192,201,133,208

DATA 162,103,134,67,230,68,

,165,251,105,1,133,251,165,

DATA 59,133,59,230,62,165,6 ,165,47,105,1

370

DATA 134,67,132,68,166,51,2 02,240,16,224,1,208,6,16 2,1 99,134,67,208,6

280

:REM*1 41

DATA 195,169,0,133,59,165,6

2,201,8,176,3,76,107,193,24

DATA 76,56,193,56,253,248,1 94,72,165,49,208,210,76,6,1 9 4,162,39,160,4

270

350

DATA 40,72,169,32,157,64,19 6,104,232,224,8,144,239,200

166,67,134,57,166,68,134,58

2 7,96,169,147,32

62

:REM*93

193,32,0,195,166 :REM'75 DATA 52,224,4,240,17,224,3, 240,10,224,2,240,3,32,0,195 ,32,0,195,32,0 :REM'49 7,133,57,165,68,133,58,230, 61,165,61,24,101 :REM'218

DATA 70,162,196,142,9,193,1 62,0,142,8,193,162,0,177,55

5,0,141,9,193,230,70,165,70 ,201,8,144,210 :REM*57

8,233,165,25 2,201,219,208,2

170

350

DATA 165,55,105,8,133,55,16 5,56,105,0,133,56,202,76,21

DATA 160,0,169,2,145,251,24

252,105,0,133

45,57,96,32,172,193,76,125,

170,240,17,24

:REM*199

:REM*118

93,76,125,193,72 :REM"100 330 DATA 32,149,193,104,160,0,1

3 40

,173,8,193,105,7

6,208,247,96,162,0,160,216, 134,251,132,252

24,165,57,105,40

4,160,0,177,4 7 :REM*205 DATA 201,133,144,4,201,141, 144,98,133,50,160,0,177,47,

,221,248,194,176

33,1 ,173,14,220,9,1,141,14,

150

:REM*216

DATA 0,160,32,134,55,132,56

8,192,160,0,132

:REM*166

70 END :REM*198 100 DATA 173,14,220,41,254,111, 14,220,165,1,41,251,133,1,1 69,0,133,251,133 :REM"161

145,251,200,208

210

:REM*180

50 PRINT"{CRSR DN1SYS #1-49276" :PRINT"SYS #2-49284":REM*230 60 PRINT"{CRSR DN)USE PROGRAM #

320 DATA 133,57,165,58,105,0,13 3,58,96,32,172,193,32,172,1

,32,225,255,208,3,76,204,19

:REM*195

40

8,162,0,134,53 :REM*7 DATA 162,2,134,51,134,52,16 2,197,134,48,162

:REM*39

IFCK<>101952TIIENPRINT"ERROR

2,224,8,144,219,76,188,193,

2,81,134,49,162,0,134,47,16

20 FORA=1T0833:READB:CK=CK+B:PO KE4 9151+A,B:NEXT

DATA 32,208,141,33,208,173, 24,208,41,240,9,8,141,24,20

:REM*163

DATA 252,162,0,160,0,169,32 ,145,251,24,165,251,105,40,

440

133,251,165,252

:REM*76

DATA 105,0,133,252,232,224, 25,144,234,162,40,134,2,32,1


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.