I was working on porting a SD library to the S12XE, that in the past I was using with the Atmel AVR. It uses FAT32.
The project was a CAN Bus logger that saved data to a SD card. I was still testing when I had to change to another project. I have attached the code. If you make improvements I would like a copy.