> If you tell me how to do it, I can try. Supposing, you now the memory layout of the VIC20 (which I don't): 10 FOR i=mem_start TO mem_end 20 POKE i,0:IF PEEK(i)<>0 THEN ?"Can't clear memory location ";i 30 POKE i,255:IF PEEK(i)<>255 THEN ?"Can't set memory location ";i 40 POKE i,85:IF PEEK(i)<>85 THEN ?"Pattern 0x55 failed on memory location";i 50 POKE i,170:IF PEEK(i)<>170 THEN ?"Pattern 0xaa failed on memory location";i 60 NEXT i where mem_start and mem_end are the appropriate values for the memory area to test. Regards, Rainer (Hell, I really had to think how to do the not-equal comparison and append a variable to a string in BASIC... Haven't used that language for years now :) -- Rainer Buchty, LRR, Technical University of Munich currently at Agere Systems Processor Architectures and Compiler Research 600 Mountain Avenue, Room 7A-312 Murray Hill NJ 07974 Phone: 1 (908) 582-4422 Dept. Fax: -4092 Message was sent through the cbm-hackers mailing list
Archive generated by hypermail 2.1.1.