00000000: 0D 0D 20 20 20 20 20 20 20 20 20 20 20 20 35 36 |.. 56|
00000010: 20 D3 D0 D2 C9 D4 C5 D3 0D 20 20 20 20 20 20 20 | ........ |
00000020: 20 20 20 20 20 20 20 20 42 59 0D 20 20 20 20 20 | BY. |
00000030: 20 20 20 20 20 CA 4F 4E 41 54 48 41 4E 20 D2 4F | .ONATHAN .O|
00000040: 44 44 41 0D 0D C3 CF CD CD CF C4 CF D2 C5 20 D0 |DDA........... .|
00000050: CF D7 C5 D2 2F D0 CC C1 D9 20 CD C1 C7 C1 DA C9 |..../.... ......|
00000060: CE C5 0D C1 50 52 49 4C 2F CD 41 59 2C 20 31 39 |....PRIL/.AY, 19|
00000070: 38 36 0D 50 2E 39 37 0D 0D 20 20 C3 4F 4D 50 55 |86.P.97.. .OMPU|
00000080: 54 45 52 20 50 52 4F 47 52 41 4D 4D 45 52 53 20 |TER PROGRAMMERS |
00000090: 41 52 45 2C 20 42 59 0D 0D 4E 41 54 55 52 45 2C |ARE, BY..NATURE,|
000000A0: 20 41 20 42 55 4E 43 48 20 4F 46 20 53 48 4F 57 | A BUNCH OF SHOW|
000000B0: 4F 46 46 53 2E 20 20 C9 4E 0D 0D 46 41 43 54 2C |OFFS. .N..FACT,|
000000C0: 20 53 4F 4D 45 54 49 4D 45 53 20 54 48 45 20 4F | SOMETIMES THE O|
000000D0: 4E 4C 59 20 57 41 59 20 54 4F 20 47 45 54 0D 0D |NLY WAY TO GET..|
000000E0: 54 48 45 4D 20 47 4F 49 4E 47 20 49 53 20 54 4F |THEM GOING IS TO|
000000F0: 20 54 45 4C 4C 20 54 48 45 4D 20 54 48 41 54 0D | TELL THEM THAT.|
00000100: 0D 53 4F 4D 45 54 48 49 4E 47 20 49 53 20 49 4D |.SOMETHING IS IM|
00000110: 50 4F 53 53 49 42 4C 45 2E 20 20 D4 48 45 4E 20 |POSSIBLE. .HEN |
00000120: 57 41 54 43 48 0D 0D 4F 55 54 2D 2D 20 54 48 45 |WATCH..OUT-- THE|
00000130: 59 20 57 49 4C 4C 20 45 41 54 20 54 48 45 49 52 |Y WILL EAT THEIR|
00000140: 20 44 49 53 4B 0D 0D 4C 49 42 52 41 52 49 45 53 | DISK..LIBRARIES|
00000150: 20 42 45 46 4F 52 45 20 54 48 45 59 20 54 48 52 | BEFORE THEY THR|
00000160: 4F 57 20 49 4E 20 54 48 45 0D 0D 54 4F 57 45 4C |OW IN THE..TOWEL|
00000170: 2E 0D 0D 0D 20 20 D4 41 4B 45 20 53 50 52 49 54 |.... .AKE SPRIT|
00000180: 45 53 2C 20 46 4F 52 20 45 58 41 4D 50 4C 45 2E |ES, FOR EXAMPLE.|
00000190: 0D 0D C5 56 45 52 59 4F 4E 45 20 4B 4E 4F 57 53 |...VERYONE KNOWS|
000001A0: 20 54 48 41 54 20 59 4F 55 20 43 41 4E 4E 4F 54 | THAT YOU CANNOT|
000001B0: 20 48 41 56 45 0D 0D 4D 4F 52 45 20 54 48 41 4E | HAVE..MORE THAN|
000001C0: 20 45 49 47 48 54 20 53 50 52 49 54 45 53 20 4F | EIGHT SPRITES O|
000001D0: 4E 20 54 48 45 20 53 43 52 45 45 4E 0D 0D 41 54 |N THE SCREEN..AT|
000001E0: 20 41 20 54 49 4D 45 2E 20 20 C5 4E 44 20 4F 46 | A TIME. .ND OF|
000001F0: 20 41 52 47 55 4D 45 4E 54 2E 20 20 C5 56 45 4E | ARGUMENT. .VEN|
00000200: 0D 0D 50 52 4F 47 52 41 4D 4D 45 52 53 20 43 41 |..PROGRAMMERS CA|
00000210: 4E 4E 4F 54 20 43 48 41 4E 47 45 20 54 48 41 54 |NNOT CHANGE THAT|
00000220: 20 4C 41 57 2E 0D 0D 0D 20 20 C2 55 54 20 57 49 | LAW.... .UT WI|
00000230: 54 48 20 41 4C 4D 4F 53 54 20 45 56 45 52 59 20 |TH ALMOST EVERY |
00000240: 52 55 4C 45 2C 20 54 48 45 52 45 0D 0D 49 53 20 |RULE, THERE..IS |
00000250: 41 4E 20 45 58 43 45 50 54 49 4F 4E 2E 20 20 35 |AN EXCEPTION. 5|
00000260: 36 20 D3 50 52 49 54 45 53 20 49 53 20 41 4E 0D |6 .PRITES IS AN.|
00000270: 0D 45 58 41 4D 50 4C 45 20 4F 46 20 4A 55 53 54 |.EXAMPLE OF JUST|
00000280: 20 53 55 43 48 20 41 4E 20 45 58 43 45 50 54 49 | SUCH AN EXCEPTI|
00000290: 4F 4E 2E 0D 0D 0D 20 20 CF 4E 45 20 4F 46 20 54 |ON.... .NE OF T|
000002A0: 48 45 20 4D 4F 53 54 20 50 4F 57 45 52 46 55 4C |HE MOST POWERFUL|
000002B0: 20 46 45 41 54 55 52 45 53 0D 0D 4F 46 20 54 48 | FEATURES..OF TH|
000002C0: 45 20 C3 4F 4D 4D 4F 44 4F 52 45 20 36 34 20 49 |E .OMMODORE 64 I|
000002D0: 53 20 54 48 45 20 52 41 53 54 45 52 0D 0D 49 4E |S THE RASTER..IN|
000002E0: 54 45 52 52 55 50 54 2E 20 20 C2 59 20 55 53 49 |TERRUPT. .Y USI|
000002F0: 4E 47 20 52 41 53 54 45 52 0D 0D 49 4E 54 45 52 |NG RASTER..INTER|
00000300: 52 55 50 54 53 2C 20 46 4F 52 20 45 58 41 4D 50 |RUPTS, FOR EXAMP|
00000310: 4C 45 2C 20 59 4F 55 20 43 41 4E 0D 0D 44 49 53 |LE, YOU CAN..DIS|
00000320: 50 4C 41 59 20 53 45 56 45 52 41 4C 20 42 41 43 |PLAY SEVERAL BAC|
00000330: 4B 47 52 4F 55 4E 44 20 43 4F 4C 4F 52 53 20 4F |KGROUND COLORS O|
00000340: 4E 0D 0D 54 48 45 20 53 43 52 45 45 4E 2C 20 4F |N..THE SCREEN, O|
00000350: 52 20 44 49 53 50 4C 41 59 20 47 52 41 50 48 49 |R DISPLAY GRAPHI|
00000360: 43 53 20 41 4E 44 0D 0D 54 45 58 54 20 4F 4E 20 |CS AND..TEXT ON |
00000370: 54 48 45 20 53 41 4D 45 20 53 43 52 45 45 4E 2E |THE SAME SCREEN.|
00000380: 0D 0D 0D 20 20 CF 52 2C 20 41 53 20 35 36 20 D3 |... .R, AS 56 .|
00000390: D0 D2 C9 D4 C5 D3 20 44 45 4D 4F 4E 53 54 52 41 |...... DEMONSTRA|
000003A0: 54 45 53 2C 20 59 4F 55 0D 0D 43 41 4E 20 48 41 |TES, YOU..CAN HA|
000003B0: 56 45 20 4D 4F 52 45 20 54 48 41 4E 20 54 48 45 |VE MORE THAN THE|
000003C0: 20 55 53 55 41 4C 20 45 49 47 48 54 0D 0D 53 50 | USUAL EIGHT..SP|
000003D0: 52 49 54 45 53 20 4F 4E 20 54 48 45 20 53 43 52 |RITES ON THE SCR|
000003E0: 45 45 4E 2E 0D 0D 0D 20 20 C2 55 54 20 51 55 49 |EEN.... .UT QUI|
000003F0: 43 4B 2D 2D 20 57 48 41 54 20 45 58 41 43 54 4C |CK-- WHAT EXACTL|
00000400: 59 20 49 53 20 41 0D 0D 22 52 41 53 54 45 52 20 |Y IS A.."RASTER |
00000410: 49 4E 54 45 52 52 55 50 54 22 3F 20 20 C6 4F 52 |INTERRUPT"? .OR|
00000420: 47 45 54 20 54 48 45 0D 0D 49 4E 54 45 52 52 55 |GET THE..INTERRU|
00000430: 50 54 2D 2D 20 57 48 41 54 20 49 53 20 41 20 22 |PT-- WHAT IS A "|
00000440: 52 41 53 54 45 52 22 3F 0D 0D 0D 20 20 C5 56 45 |RASTER"?... .VE|
00000450: 52 59 54 48 49 4E 47 20 43 45 4E 54 45 52 53 20 |RYTHING CENTERS |
00000460: 41 52 4F 55 4E 44 20 48 4F 57 0D 0D 50 49 43 54 |AROUND HOW..PICT|
00000470: 55 52 45 53 20 41 52 45 20 44 49 53 50 4C 41 59 |URES ARE DISPLAY|
00000480: 45 44 20 4F 4E 20 54 48 45 20 54 48 45 0D 0D 4D |ED ON THE THE..M|
00000490: 4F 4E 49 54 4F 52 2E 20 20 D4 48 45 20 50 49 43 |ONITOR. .HE PIC|
000004A0: 54 55 52 45 20 54 55 42 45 20 43 4F 4E 53 49 53 |TURE TUBE CONSIS|
000004B0: 54 53 0D 0D 4F 46 20 41 4E 20 45 4C 45 43 54 52 |TS..OF AN ELECTR|
000004C0: 4F 4E 20 47 55 4E 20 4F 4E 20 4F 4E 45 20 45 4E |ON GUN ON ONE EN|
000004D0: 44 20 41 4E 44 20 41 0D 0D 53 43 52 45 45 4E 20 |D AND A..SCREEN |
000004E0: 4F 4E 20 54 48 45 20 4F 54 48 45 52 2E 20 20 D4 |ON THE OTHER. .|
000004F0: 48 45 20 53 43 52 45 45 4E 20 49 53 0D 0D 46 49 |HE SCREEN IS..FI|
00000500: 4C 4C 45 44 20 57 49 54 48 20 52 4F 57 53 20 4F |LLED WITH ROWS O|
00000510: 46 20 50 48 4F 53 50 48 4F 52 20 44 4F 54 53 0D |F PHOSPHOR DOTS.|
00000520: 0D 54 48 41 54 20 47 4C 4F 57 20 57 48 45 4E 20 |.THAT GLOW WHEN |
00000530: 54 48 45 59 20 41 52 45 20 53 54 52 55 43 4B 20 |THEY ARE STRUCK |
00000540: 42 59 20 41 4E 0D 0D 45 4C 45 43 54 52 4F 4E 2E |BY AN..ELECTRON.|
00000550: 20 20 D4 48 45 53 45 20 44 4F 54 53 20 41 52 45 | .HESE DOTS ARE|
00000560: 20 43 41 4C 4C 45 44 0D 0D 22 50 49 58 45 4C 53 | CALLED.."PIXELS|
00000570: 22 3B 20 41 20 48 4F 52 49 5A 4F 4E 54 41 4C 20 |"; A HORIZONTAL |
00000580: 52 4F 57 20 4F 46 20 50 49 58 45 4C 53 0D 0D 49 |ROW OF PIXELS..I|
00000590: 53 20 43 41 4C 4C 45 44 20 41 20 52 41 53 54 45 |S CALLED A RASTE|
000005A0: 52 2E 0D 0D 0D 20 20 D7 48 45 4E 20 54 48 45 20 |R.... .HEN THE |
000005B0: 50 49 43 54 55 52 45 20 53 49 47 4E 41 4C 20 49 |PICTURE SIGNAL I|
000005C0: 53 20 46 45 44 20 54 4F 0D 0D 54 48 45 20 45 4C |S FED TO..THE EL|
000005D0: 45 43 54 52 4F 4E 20 47 55 4E 2C 20 49 54 20 53 |ECTRON GUN, IT S|
000005E0: 43 41 4E 53 20 45 41 43 48 0D 0D 52 41 53 54 45 |CANS EACH..RASTE|
000005F0: 52 20 46 52 4F 4D 20 4C 45 46 54 20 54 4F 20 52 |R FROM LEFT TO R|
00000600: 49 47 48 54 2C 20 41 43 54 49 56 41 54 49 4E 47 |IGHT, ACTIVATING|
00000610: 0D 0D 54 48 45 20 50 49 58 45 4C 53 20 41 53 20 |..THE PIXELS AS |
00000620: 44 45 54 45 52 4D 49 4E 45 44 20 42 59 20 54 48 |DETERMINED BY TH|
00000630: 45 0D 0D 53 49 47 4E 41 4C 2E 20 20 C1 46 54 45 |E..SIGNAL. .FTE|
00000640: 52 20 4F 4E 45 20 52 41 53 54 45 52 20 48 41 53 |R ONE RASTER HAS|
00000650: 20 42 45 45 4E 0D 0D 53 43 41 4E 4E 45 44 2C 20 | BEEN..SCANNED, |
00000660: 54 48 45 20 42 45 41 4D 20 44 52 4F 50 53 20 54 |THE BEAM DROPS T|
00000670: 4F 20 54 48 45 20 4E 45 58 54 0D 0D 4C 49 4E 45 |O THE NEXT..LINE|
00000680: 2E 0D 0D 0D 20 20 D4 48 45 20 50 49 43 54 55 52 |.... .HE PICTUR|
00000690: 45 20 49 53 20 52 45 44 52 41 57 4E 20 53 49 58 |E IS REDRAWN SIX|
000006A0: 54 59 20 54 49 4D 45 53 0D 0D 50 45 52 20 53 45 |TY TIMES..PER SE|
000006B0: 43 4F 4E 44 2E 20 20 D4 48 49 53 20 44 52 41 57 |COND. .HIS DRAW|
000006C0: 49 4E 47 20 50 52 4F 43 45 53 53 2C 0D 0D 48 4F |ING PROCESS,..HO|
000006D0: 57 45 56 45 52 2C 20 43 41 4E 20 42 45 20 53 54 |WEVER, CAN BE ST|
000006E0: 4F 50 50 45 44 20 46 4F 52 20 41 20 4D 4F 4D 45 |OPPED FOR A MOME|
000006F0: 4E 54 0D 0D 57 49 54 48 20 41 20 52 41 53 54 45 |NT..WITH A RASTE|
00000700: 52 20 49 4E 54 45 52 52 55 50 54 2E 20 20 C4 55 |R INTERRUPT. .U|
00000710: 52 49 4E 47 20 54 48 45 0D 0D 54 49 4D 45 20 54 |RING THE..TIME T|
00000720: 48 41 54 20 54 48 45 20 44 52 41 57 49 4E 47 20 |HAT THE DRAWING |
00000730: 50 52 4F 43 45 53 53 20 49 53 0D 0D 48 41 4C 54 |PROCESS IS..HALT|
00000740: 45 44 2C 20 41 4E 4F 54 48 45 52 20 4F 50 45 52 |ED, ANOTHER OPER|
00000750: 41 54 49 4F 4E 20 43 41 4E 20 42 45 0D 0D 50 45 |ATION CAN BE..PE|
00000760: 52 46 4F 52 4D 45 44 2E 20 20 D4 48 45 4E 20 54 |RFORMED. .HEN T|
00000770: 48 45 20 44 52 41 57 49 4E 47 20 50 52 4F 43 45 |HE DRAWING PROCE|
00000780: 53 53 0D 0D 43 4F 4E 54 49 4E 55 45 53 20 57 48 |SS..CONTINUES WH|
00000790: 45 52 45 20 49 54 20 4C 45 46 54 20 4F 46 46 2E |ERE IT LEFT OFF.|
000007A0: 0D 0D 0D 20 20 C2 45 43 41 55 53 45 20 50 49 58 |... .ECAUSE PIX|
000007B0: 45 4C 53 20 43 4F 4E 54 49 4E 55 45 20 54 4F 20 |ELS CONTINUE TO |
000007C0: 47 4C 4F 57 20 46 4F 52 0D 0D 41 20 4D 4F 4D 45 |GLOW FOR..A MOME|
000007D0: 4E 54 20 41 46 54 45 52 20 42 45 49 4E 47 20 45 |NT AFTER BEING E|
000007E0: 58 43 49 54 45 44 20 42 59 20 41 4E 0D 0D 45 4C |XCITED BY AN..EL|
000007F0: 45 43 54 52 4F 4E 2C 20 49 4D 41 47 45 53 20 47 |ECTRON, IMAGES G|
00000800: 45 4E 45 52 41 54 45 44 20 44 55 52 49 4E 47 0D |ENERATED DURING.|
00000810: 0D 54 48 45 20 52 41 53 54 45 52 20 49 4E 54 45 |.THE RASTER INTE|
00000820: 52 52 55 50 54 20 43 41 4E 20 41 50 50 45 41 52 |RRUPT CAN APPEAR|
00000830: 20 54 4F 0D 0D 45 58 49 53 54 20 53 49 4D 55 4C | TO..EXIST SIMUL|
00000840: 54 41 4E 45 4F 55 53 4C 59 20 4F 4E 20 54 48 45 |TANEOUSLY ON THE|
00000850: 20 53 43 52 45 45 4E 0D 0D 57 48 45 4E 20 49 4E | SCREEN..WHEN IN|
00000860: 20 46 41 43 54 20 59 4F 55 20 41 52 45 20 53 45 | FACT YOU ARE SE|
00000870: 45 49 4E 47 20 54 48 45 49 52 0D 0D 41 46 54 45 |EING THEIR..AFTE|
00000880: 52 49 4D 41 47 45 53 2E 0D 0D 0D 20 20 C6 4F 52 |RIMAGES.... .OR|
00000890: 20 45 58 41 4D 50 4C 45 2C 20 54 48 45 20 53 45 | EXAMPLE, THE SE|
000008A0: 56 45 4E 20 52 4F 57 53 20 4F 46 0D 0D 45 49 47 |VEN ROWS OF..EIG|
000008B0: 48 54 20 53 50 52 49 54 45 53 20 59 4F 55 20 57 |HT SPRITES YOU W|
000008C0: 49 4C 4C 20 53 45 45 20 57 48 45 4E 20 59 4F 55 |ILL SEE WHEN YOU|
000008D0: 0D 0D 52 55 4E 20 35 36 20 D3 D0 D2 C9 D4 C5 D3 |..RUN 56 .......|
000008E0: 20 53 45 45 4D 20 54 4F 20 4F 43 43 55 52 20 41 | SEEM TO OCCUR A|
000008F0: 4C 4C 20 41 54 0D 0D 4F 4E 43 45 20 4F 4E 20 54 |LL AT..ONCE ON T|
00000900: 48 45 20 53 43 52 45 45 4E 2E 0D 0D 0D 20 20 C1 |HE SCREEN.... .|
00000910: 43 54 55 41 4C 4C 59 2C 20 54 48 45 52 45 20 49 |CTUALLY, THERE I|
00000920: 53 20 4F 4E 4C 59 20 4F 4E 45 20 52 4F 57 20 4F |S ONLY ONE ROW O|
00000930: 46 0D 0D 53 50 52 49 54 45 53 20 57 48 49 43 48 |F..SPRITES WHICH|
00000940: 20 49 53 20 52 45 44 52 41 57 4E 20 49 4E 20 41 | IS REDRAWN IN A|
00000950: 0D 0D 44 49 46 46 45 52 45 4E 54 20 50 41 52 54 |..DIFFERENT PART|
00000960: 20 4F 46 20 54 48 45 20 53 43 52 45 45 4E 20 41 | OF THE SCREEN A|
00000970: 54 20 45 56 45 52 59 0D 0D 53 43 52 45 45 4E 20 |T EVERY..SCREEN |
00000980: 55 50 44 41 54 45 20 28 4F 4E 43 45 20 45 56 45 |UPDATE (ONCE EVE|
00000990: 52 59 20 36 30 0D 0D 53 45 43 4F 4E 44 53 29 2E |RY 60..SECONDS).|
000009A0: 20 20 C2 45 43 41 55 53 45 20 4F 46 20 54 48 45 | .ECAUSE OF THE|
000009B0: 20 53 50 45 45 44 20 4F 46 0D 0D 54 48 45 20 55 | SPEED OF..THE U|
000009C0: 50 44 41 54 45 20 41 4E 44 20 54 48 45 20 54 45 |PDATE AND THE TE|
000009D0: 4E 44 45 4E 43 59 20 4F 46 20 50 49 58 45 4C 53 |NDENCY OF PIXELS|
000009E0: 0D 0D 54 4F 20 48 4F 4C 44 20 41 4E 20 41 46 54 |..TO HOLD AN AFT|
000009F0: 45 52 49 4D 41 47 45 2C 20 54 48 45 52 45 20 53 |ERIMAGE, THERE S|
00000A00: 45 45 4D 0D 0D 54 4F 20 42 45 20 35 36 20 53 50 |EEM..TO BE 56 SP|
00000A10: 52 49 54 45 53 20 4F 4E 20 54 48 45 20 53 43 52 |RITES ON THE SCR|
00000A20: 45 45 4E 2E 0D 0D 0D 20 20 D4 4F 20 4C 45 41 52 |EEN.... .O LEAR|
00000A30: 4E 20 4D 4F 52 45 20 41 42 4F 55 54 20 54 48 45 |N MORE ABOUT THE|
00000A40: 20 49 4E 53 20 41 4E 44 0D 0D 4F 55 54 53 20 4F | INS AND..OUTS O|
00000A50: 46 20 52 41 53 54 45 52 20 49 4E 54 45 52 52 55 |F RASTER INTERRU|
00000A60: 50 54 53 2C 20 52 45 46 45 52 20 54 4F 0D 0D D2 |PTS, REFER TO...|
00000A70: 4F 44 44 41 27 53 20 41 52 54 49 43 4C 45 20 49 |ODDA'S ARTICLE I|
00000A80: 4E 20 54 48 45 20 C3 4F 4D 4D 4F 44 4F 52 45 0D |N THE .OMMODORE.|
00000A90: 0D 4D 41 47 41 5A 49 4E 45 20 43 49 54 45 44 20 |.MAGAZINE CITED |
00000AA0: 41 42 4F 56 45 2E 0D 0D CE CF D4 C5 3A 20 C2 45 |ABOVE.......: .E|
00000AB0: 43 41 55 53 45 20 4F 46 20 54 48 45 20 4E 41 54 |CAUSE OF THE NAT|
00000AC0: 55 52 45 20 4F 46 20 54 48 49 53 0D 50 52 4F 47 |URE OF THIS.PROG|
00000AD0: 52 41 4D 2C 20 49 54 20 43 41 4E 20 4E 4F 54 20 |RAM, IT CAN NOT |
00000AE0: 42 45 20 52 55 4E 20 46 52 4F 4D 20 54 48 45 0D |BE RUN FROM THE.|
00000AF0: CC 4F 41 44 53 54 41 52 20 45 4E 56 49 52 4F 4E |.OADSTAR ENVIRON|
00000B00: 4D 45 4E 54 2E 20 20 D4 4F 20 52 55 4E 20 35 36 |MENT. .O RUN 56|
00000B10: 0D D3 50 52 49 54 45 53 2C 20 45 58 49 54 20 CC |..PRITES, EXIT .|
00000B20: 4F 41 44 53 54 41 52 2C 20 54 59 50 45 0D CC CF |OADSTAR, TYPE...|
00000B30: C1 C4 22 35 36 20 D3 D0 D2 C9 D4 C5 D3 22 2C 38 |.."56 .......",8|
00000B40: 20 3C D2 C5 D4 D5 D2 CE 3E 20 41 4E 44 0D D2 D5 | <......> AND...|
00000B50: CE 20 3C D2 C5 D4 D5 D2 CE 3E 2E 0D 0D C6 C9 CC |. <......>......|
00000B60: C5 D3 20 D2 C5 D1 D5 C9 D2 C5 C4 3A 0D 0D 35 36 |.. ........:..56|
00000B70: 20 D3 D0 D2 C9 D4 C5 D3 0D 0D 2D 2D 2D 2D 2D 2D | .........------|
00000B80: 2D 2D 2D 2D 3C 45 4E 44 20 4F 46 20 54 45 58 54 |----<END OF TEXT|
00000B90: 3E 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 0D 0D |>-------------..|
.. 56 SPRITES.
BY. JONATHAN RODDA..COMMODORE P
OWER/PLAY MAGAZINE.APRIL/MAY, 1986.P.97.
. COMPUTER PROGRAMMERS ARE, BY..NATURE,
A BUNCH OF SHOWOFFS. IN..FACT, SOMETIM
ES THE ONLY WAY TO GET..THEM GOING IS TO
TELL THEM THAT..SOMETHING IS IMPOSSIBLE
. THEN WATCH..OUT-- THEY WILL EAT THEIR
DISK..LIBRARIES BEFORE THEY THROW IN TH
E..TOWEL.... TAKE SPRITES, FOR EXAMPLE.
..EVERYONE KNOWS THAT YOU CANNOT HAVE..M
ORE THAN EIGHT SPRITES ON THE SCREEN..AT
A TIME. END OF ARGUMENT. EVEN..PROGRA
MMERS CANNOT CHANGE THAT LAW.... BUT WI
TH ALMOST EVERY RULE, THERE..IS AN EXCEP
TION. 56 SPRITES IS AN..EXAMPLE OF JUST
SUCH AN EXCEPTION.... ONE OF THE MOST
POWERFUL FEATURES..OF THE COMMODORE 64 I
S THE RASTER..INTERRUPT. BY USING RASTE
R..INTERRUPTS, FOR EXAMPLE, YOU CAN..DIS
PLAY SEVERAL BACKGROUND COLORS ON..THE S
CREEN, OR DISPLAY GRAPHICS AND..TEXT ON
THE SAME SCREEN.... OR, AS 56 SPRITES D
EMONSTRATES, YOU..CAN HAVE MORE THAN THE
USUAL EIGHT..SPRITES ON THE SCREEN....
BUT QUICK-- WHAT EXACTLY IS A.."RASTER
INTERRUPT"? FORGET THE..INTERRUPT-- WHA
T IS A "RASTER"?... EVERYTHING CENTERS
AROUND HOW..PICTURES ARE DISPLAYED ON TH
E THE..MONITOR. THE PICTURE TUBE CONSIS
TS..OF AN ELECTRON GUN ON ONE END AND A.
.SCREEN ON THE OTHER. THE SCREEN IS..FI
LLED WITH ROWS OF PHOSPHOR DOTS..THAT GL
OW WHEN THEY ARE STRUCK BY AN..ELECTRON.
THESE DOTS ARE CALLED.."PIXELS"; A HOR
IZONTAL ROW OF PIXELS..IS CALLED A RASTE
R.... WHEN THE PICTURE SIGNAL IS FED TO
..THE ELECTRON GUN, IT SCANS EACH..RASTE
R FROM LEFT TO RIGHT, ACTIVATING..THE PI
XELS AS DETERMINED BY THE..SIGNAL. AFTE
R ONE RASTER HAS BEEN..SCANNED, THE BEAM
DROPS TO THE NEXT..LINE.... THE PICTUR
E IS REDRAWN SIXTY TIMES..PER SECOND. T
HIS DRAWING PROCESS,..HOWEVER, CAN BE ST
OPPED FOR A MOMENT..WITH A RASTER INTERR
UPT. DURING THE..TIME THAT THE DRAWING
PROCESS IS..HALTED, ANOTHER OPERATION CA
N BE..PERFORMED. THEN THE DRAWING PROCE
SS..CONTINUES WHERE IT LEFT OFF.... BEC
AUSE PIXELS CONTINUE TO GLOW FOR..A MOME
NT AFTER BEING EXCITED BY AN..ELECTRON,
IMAGES GENERATED DURING..THE RASTER INTE
RRUPT CAN APPEAR TO..EXIST SIMULTANEOUSL
Y ON THE SCREEN..WHEN IN FACT YOU ARE SE
EING THEIR..AFTERIMAGES.... FOR EXAMPLE
, THE SEVEN ROWS OF..EIGHT SPRITES YOU W
ILL SEE WHEN YOU..RUN 56 SPRITES SEEM TO
OCCUR ALL AT..ONCE ON THE SCREEN.... A
CTUALLY, THERE IS ONLY ONE ROW OF..SPRIT
ES WHICH IS REDRAWN IN A..DIFFERENT PART
OF THE SCREEN AT EVERY..SCREEN UPDATE (
ONCE EVERY 60..SECONDS). BECAUSE OF THE
SPEED OF..THE UPDATE AND THE TENDENCY O
F PIXELS..TO HOLD AN AFTERIMAGE, THERE S
EEM..TO BE 56 SPRITES ON THE SCREEN....
TO LEARN MORE ABOUT THE INS AND..OUTS O
F RASTER INTERRUPTS, REFER TO..RODDA'S A
RTICLE IN THE COMMODORE..MAGAZINE CITED
ABOVE...NOTE: BECAUSE OF THE NATURE OF T
HIS.PROGRAM, IT CAN NOT BE RUN FROM THE.
LOADSTAR ENVIRONMENT. TO RUN 56.SPRITES
, EXIT LOADSTAR, TYPE.LOAD"56 SPRITES",8
<RETURN> AND.RUN <RETURN>...FILES REQUI
RED:..56 SPRITES..----------<END OF TEXT
>-------------..
×
C64 Image
> CLICK IMAGE PREVIEW FOR FULL MODAL