Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!mips!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple Subject: Re: memory Message-ID: <37441@apple.Apple.COM> Date: 20 Dec 89 21:56:01 GMT References: <8590.net.apple@pro-lep> Organization: Apple Computer Inc, Cupertino, CA Lines: 31 In article <8590.net.apple@pro-lep> j_p@pro-lep.cts.com (Jason Perez) writes: >I've got a small program that will display 320x200 $C1(uncompressed) >pictures from Prodos 8 ( got it from Incider). I've modified it so it will >search a pathname and get all the type $C1 pictures and then put them into an >array. Before doing any displaying I printed out the entire array and it >contained about 250+ files (from a Vulcan). Then I entered the loop to >display all the files one at a time. The program works up to around the 43rd >pictures, then crashes. I printed out the variable in question and it was all >hosed up(garbage characters). What's the problem, is it memory? I've got a >ROM 01 GS w/ 3Megs of RAM. It sounds like your program is in Applesoft and is not managing memory properly--it works "by accident" until your string garbage grows down far enough to collide with some memory you're using down below. Are you BLOADing anything into bank 0? If so, I recommend putting your Applesoft program *above* the area you'll be BLOADing into, something like this: 0 N=64 : IF PEEK(104)<>N THEN POKE 104,N : POKE 256*N,0 : PRINT CHR$(4);"RUN MYPROGRAM" -- --David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.