Post Reply 
50G: SD card commands
05-08-2015, 04:03 PM
Post: #4
RE: 50G: SD card commands
(05-08-2015 02:00 PM)Dave Britten Wrote:  Yeah, I was using VTYPE in my script (:3:BACKUP.50G IF DUP VTYPE 17. == ...), then I started getting an insufficient memory error. As far as I can tell, it's recalling the object to main memory to evaluate the type, so if your backup is larger than the amount of free memory, you're out of luck.

This also presents a problem for copying the backup to a different file by recalling it to the stack. I may have to try an entirely different approach if I want rotating backups.

The library I mentioned above adds programmable commands to the 50g which can copy files to a new name, rename files, or copy/move files from one SD directory to another directly, all without using main memory. And you can use its XRCL command to check whether a file exists or not, since it returns a FALSE if the file does not exist.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
50G: SD card commands - Dave Britten - 05-08-2015, 12:44 PM
RE: 50G: SD card commands - Joe Horn - 05-08-2015, 01:47 PM
RE: 50G: SD card commands - Dave Britten - 05-08-2015, 02:00 PM
RE: 50G: SD card commands - Joe Horn - 05-08-2015 04:03 PM
RE: 50G: SD card commands - Dave Britten - 05-08-2015, 05:35 PM



User(s) browsing this thread: 1 Guest(s)