DSLink (microSD Card)

From DLDIWiki

Jump to: navigation, search

Contents

[edit] Version 1

DLDI file Source Author Last update Read Write
dlms.dldi dlms.zip Rudolph (ported by Lick) 2006-12-26 Failed Failed



[edit] Moonshell version

DLDI file Source Author Last update Read Write
dlms_moon.dldi Not available Moonlight 2006-12-30 Works Unknown



[edit] Version 3

DLDI file Source Author Last update Read Write
dlms3.dldi dlms3.zip Diddl 2007-03-02 Works Works


Note: this version does not work in DSLINUX because of the swiDelay() call.

Note: there is a bug making writes unpredictable:

function writeSectors()

        for(i=0, addr=sector*512; i<numSecs; i++, addr+=512)

        {

                DC_FlushRange(buffer, 512);

                     memcpy(buffer, pt, 512);

                      pt += 512;

                DLMS_Write_s(addr, buffer, 512);

        }

The DC_FlushRange must be AFTER the call to memcpy, to ensure that all copied bytes are written to memory before the DMA is running.


[edit] Version 4

DLDI file Source Author Last update Read Write
dlms4.dldi dlms4.zip Amadeus 2007-05-20 Works Works


This version fixes the bugs present in version 3.

Personal tools