1

Topic: FAT32 file system corruption when DMA is enabled

Setup:
1. ZX Spectrum Next (personality mode - ZX Spectrum 128)
2. FlashAIR SDXC 64GB (FAT32)
3. esxDOS 0.8.8 with DMA support enabled
4. new browser with LFN support (https://spectrumcomputing.co.uk/forums/ … LX4#p37349)

Symptoms:
When DMA support for esxDOS is enabled in ESXDOS.CFG the file system gets corrupted when saving data to SD card. Reading is unaffected.

Example:
The new browser with LFN support saves memory dump to TMP/BROWSE.NMI file on SD card during start. In DMA enabled mode instead of BROWSE.NMI file there is bunch of files created with sizes of 1GB each and corrupted file names:

https://i.imgur.com/7cb5emi.png

Workaround:
Disable DMA support in ESXDOS.CFG

2

Re: FAT32 file system corruption when DMA is enabled

Hi,

Actually I was under the impression that esxDOS' DMA driver didn't work at all on the Next, so that's news to me. Please see https://www.specnext.com/forum/viewtopi … amp;t=1713 for more information.

PS. Moved to the Next section.