Download Compute!'s Atari collection, volume 1 by Compute! Publications, Inc PDF

By Compute! Publications, Inc

Show description

Read or Download Compute!'s Atari collection, volume 1 PDF

Best nonfiction_6 books

How to believe God for a mate

God is aware who's the simplest mate for you! you don't need to head via any further sleepless, lonely nights, frustrations, disappointments or soreness as a result of the misadventures of courting. He is aware who will

Extra info for Compute!'s Atari collection, volume 1

Sample text

DF 1 20 DIM H ( 3) , L ( 3 ) 2: H ( 1 ) = 1 : L ( 1 ) = 1 4 : H ( 2 ) = 8 : L ( 2 ) = 8 :H(3)=3:L(3) =8: F=1 ~ 140 SETCOLOR 4,1,14:SETCOLOR 0,8,8:SE TCOLOR 2,3,8 6C 150 POSITION 5,0:PRINT #6;"BKGD COLl" EN 160 POSITION 1,2:PRINT #6;"HUE 1" IP 170 POSITION 1,3: PRINT #6;"LUM 14" KF 180 POSITION 1l,2:PRINT #6;"8" KH 190 POSITION 11,3:PRINT #6;"8" EE 200 POSITION 2,6:PRINT #6;"A B C D" AP 210 POSITION 3,7:PRINT #6;"E F G" BL 220 POSITION 4,8:PRINT #6;"HIJ" FI230 POSITION 2,9:PRINT #6 ; "########" IB 240 POSITION 2 , 10:PRINT #6;"########" AD 1 30 G RAP H I C S 45 Chapter 1 JA250 POSITION 15,0:PRINT #6;CHR$(195);CHR$(2 07);CHR$(204);CHR$(178) KE 260 PO SIT ION 1 6 , 2 : P R I NT # 6; ..

L! N EXT N Program 6. FN$(14) M 15 POKE 710,23:POKE 712,23:POKE 709,23 JO 20 ER$=" {35 SPACES}" AB 3 0 DIM SOP ( 1 28) , A L T ( 1 2 8) , TEN ( 1 28) • BAS ( 1 2 8 ) PK 4 0 DIM CO U N T E R ( 1 28) • G ( 4) • W ( 1 0 0) , V L ( 1 28) • F L ( 128). I (128), R$ (128) AP45 C0=0:C1=0:C2=0:C3=0:LN=10000:SC=12 PI 47 COUNTER=0 EA 50 FOR I == 0 TO 1 28 ~52 SOP(I)==0:ALT(I)=0:TEN(I)=0:BAS(I)=0 BB 5 3 V L ( I ) = 0 PC 55 NEXT I 61 100 REM OCTAVE 1 LB 105 RESTORE 11500 EP 110 FOR X=1 TO 12:READ A:A(X)=A:NEXT X 6K 200 REM OCTAVE 2 LD 205 RESTORE 11510 FD 210 FOR X=1 TO 12:READ B:B(X)=B:NEXT X 6M 300 REM OCTAVE 3 LF 305 RESTORE 11520 FH 310 FOR X=1 TO 12:READ C:C(X)==C:NEXT X CC 40t:1!

Strings are stored with the dollar sign plus 128 (36+128 or 164) as the last byte. The memory address for the start of the variable name 38 Chapter 1 table can be determined with PEEKs into 130 (LO) and 131 (HI) or with NTAB=PEEK(130)+256*PEEK(131). Run the following program to see the entries in the name table. It prints the value stored in the first 24 bytes of the name table, one byte for each character in each variable name. Check the results against the ATASCII listing in your manual, and don't forget that 128 has been added to the last character.

Download PDF sample

Rated 4.44 of 5 – based on 39 votes