Is there an SD card present?
|
01-12-2017, 08:57 AM
Post: #1
|
|||
|
|||
Is there an SD card present?
Hi all,
I've been writing a wrapper around the ARCHIVE and RESTORE functions to do a system backup complete with stack contents, flags and current PATH either to the SD card if one is present or to Flash ROM if not. This is on a 50g. I do have a way of detecting the presence of an SD card using the following in userRPL: Code:
It just seems a bit long-winded having to do all of this probing in port 3 just to see if there's an SD card present. Is there not a SysEval or something else that will give me the same information? Running search engine queries to find this information throws up oodles of documents explaining how to use an SD card assuming one is present, not how to detect its presence in the first place. Any ideas? Cheers, G. Stewart. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Is there an SD card present? - grsbanks - 01-12-2017 08:57 AM
RE: Is there an SD card present? - MNH - 01-12-2017, 02:35 PM
RE: Is there an SD card present? - rprosperi - 01-12-2017, 03:04 PM
RE: Is there an SD card present? - grsbanks - 01-12-2017, 03:08 PM
|
User(s) browsing this thread: 1 Guest(s)