Use DMA for SCSI and SD card transfers for a massive performance boost.
[SCSI2SD-V6.git] / software / SCSI2SD / src / sd.h
index 4f1e9dbe38987ef8ae3130bbb1412ebb2c927686..ffa4dd0115dcbcd8cb47a19491f9fd602cd965dc 100755 (executable)
@@ -58,13 +58,16 @@ typedef struct
 extern SdDevice sdDev;
 
 int sdInit(void);
-void sdPrepareWrite(void);
-int sdWriteSector(void);
+
+void sdWriteMultiSectorPrep(void);
+void sdWriteMultiSectorDMA(uint8_t* outputBuffer);
+int sdWriteSectorDMAPoll();
 void sdCompleteWrite(void);
 
-void sdPrepareRead(void);
-void sdReadSectorMulti(void);
-void sdReadSectorSingle(void);
+void sdReadMultiSectorPrep(void);
+void sdReadMultiSectorDMA(uint8_t* outputBuffer);
+void sdReadSingleSectorDMA(uint32_t lba, uint8_t* outputBuffer);
+int sdReadSectorDMAPoll();
 void sdCompleteRead(void);
 
 #endif