Download August 1983
Transcript
FEATURE mining, called PITS!. Some comments on me prograrns.. Firstly the lack of documentation was very frustratmg, particulariy if the program reqwrea somemlng special sucn as Joystlcl<s. Several programs needed them, but it was not mentioned anywhere. Several people ~,ent m notes with their programs, but tnese gOt mlsplacea In the Juaglng, ana an instruction file, or rem statements in front at the program would have served far betler and kept the entire thing intact. Secondly, some at the programs were well conceived and well presented, and they ran all right. but in some, seldom used subroutine they crashed!!!! - That was 100 bad, because we took a lot of points otf for that. We also had our share of load errors Why didn't you put two copies of the program on the tape or dlSK·t JUSt In case!! Some at the games worked awfully ~;Iowly. And that's typical of BASIC. I would nave liked to have seen some BASIC programs with a few machine language GUorOUlines to pUSh tnem along when they got SlOW. By and large. we had an excellent group aT entries, ana my manKS go to all or you who worked so hard to get those entries in. Look in the mail soon, as I will get back to all of you eventually with copies at tne appropriate OISK Tor your library. If you sent In a VIC entry. we'll sen a YOlJ a VIC tape at the contest entries. If you sent in a disk, we'll send it back with the Pet entries. Thanks again, and nave a gooa summer. •••••••••••••••••• Thirdly. sometimes it was hard to figure Out me oOJect or me prograrn. ~ ~~ Farquharson Features... by AI Farquharson PEEKS AND POKES Those betore computers would consider thiS " be a story about some mustachioed, top-hatted character In black who would peek around the curtain and run out to poke someone in the nose. Us c.o.'s (clever one's) with computers know better. The concept is very Simple. PEEKS Some of us have seen a hotel clerk's counte: With a large number ot boxes located behind the clerk on the wall. Some of the boxes contain door keys and messages, letters, etc. You may ask the clerk, "Is there any mall for me?" He Will likely reply With a question. "What is your room number sir?" You say room 212. The clerk and yourself will bott', look up to box 212 to see if any mall is there. There may be hundreds of boxes but you are only interested in one, room 212. This is precisely the way a computer handles a peek. What number is located in memory location 212? The answer IS always a number from 0 to 255. So what good is that? It may represent many t,)lngs when interpreted by the computer and/or you but it is only a number. If you wish a different value to be stored there, you may change it PEEKING DOES NOT CHANGE COMPUTER VALUES STORED IN .\NY LOCATION. POKES You have a letter tor me and the clerk says am not In my hotel room at the moment He will "poke" the letter into room 212 and I may pick it up later. Poking to a location (a memory address) will destroy or change the former value of the number at location 212 and place in it the new value: some new number. Try to keep the number no greater than 255 or the computer will tell you about your Sin: syntax error . ••••••••••••••••••••• TORPET August 83 page 5