Since the PPC uses paths much like a desktop, I'd think accessing the card would just involve knowing the path to the card.
From what I see, though, different devices may use different names for the card path, so you might have to use if/else to test for where each device's card is.
What comes to mind is to try creating a file on the SD card, then test to see if it exists. If you create the file, then can find it, you have a valid path. If you can't find it, that path doesn't exist on the device. Some different paths I know of that different devices use for the SD card are "\Storage Card", "\SafeStore", and "\SD Card".
I haven't tested the code below, but something similar to this might help you find the path to the SD card on many devices.
Code:
variables;
string path;
end;
file testfile; end;
function findpath;
open testfile,"\Storage Card\Program Files\myfile";
if exists(\Storage Card\Program Files\myfile");
path="\Storage Card\Program Files\\";
else;
open testfile,"\SafeStore\Program Files\myfile";
if exists(\SafeStore\Program Files\myfile");
path="\SafeStore\Program Files\\";
else;
open testfile,"\SD Card\Program Files\myfile";
if exists(\SD Card\Program Files\myfile");
path="\SD Card\Program Files\\";
end_if;
end_if;
end_if;
end;