Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POSIX: Detailed design and implementation of POSIX file interface #72

Open
alvieboy opened this issue Apr 2, 2021 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@alvieboy
Copy link
Owner

alvieboy commented Apr 2, 2021

Detailed design and implementation of POSIX file interface.

  • Support commands for POSIX file operations in spectcmd.c
  • Support RST$08 interface for Spectrum interfacing.

This will need a file handle interface to separate ESP32 handles from Spectrum handles. To be understood if we also need some sort of driver infrastructure.

API should implement equivalent methods for the following POSIX functions:

  • getcwd
  • chdir
  • open
  • close
  • read
  • write
  • opendir
  • readdir
  • closedir
  • ioctl
  • fcntl

The directory handles are still TBD, because we need to map those to the internal ESP32 directory handles as well.
The DEVELOPMENT document shall be updated to include detailed information about the command API.
The SPECTRUMAPI document shall be updated to include the RST$08 API.

@alvieboy alvieboy added this to the RELEASE_A2 milestone Apr 2, 2021
@alvieboy alvieboy added the enhancement New feature or request label Apr 2, 2021
alvieboy added a commit that referenced this issue Apr 5, 2021
…ler, add ROM switch for 128K mode so we inject keys
alvieboy added a commit that referenced this issue Apr 16, 2021
alvieboy added a commit that referenced this issue Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant