File system
General
- The file system of the OPN-2500 & OPN-6000 is a 2mB FLASH drive
- The file system has a flat directory structure, so no folders are supported
- The file names are in MS-DOS 8.3 format, that is from 1 to 8 characters for the name, and 3 characters or less for the extension
- The maximum number of files that can exist in the file system is 50. The maximum number of files that can be open at the same time is 17, plus stdin, stdout and stderr.
- The file system is based on ChaN's FatFs Generic file system, which uses functions like `f_open` and `f_close` (from `ff.h` and `FileSystem.h`)
- For backwards compatibility: `stdio.h` functions like `fopen` and `fclose` are supported using a wrapper
- Low-level I/O functions: `open`, `close`, `read`, `write` are no longer supported.