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

Implement FCOPY #23

Open
tschak909 opened this issue Jul 27, 2021 · 0 comments
Open

Implement FCOPY #23

tschak909 opened this issue Jul 27, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tschak909
Copy link
Contributor

FCOPY needs to be implemented that implements the [C]opy function that is in CONFIG, as a tool that can be used outside of CONFIG.

You can use any of the F* or N* tools as a template to get any code you need.

How it needs to work:

FCOPY <source_host_slot>,<sourch_path>,<destination_host_slot>,<destination_path>

example:

D1:FCOPY 2,/some/path/to/file,1,/some/path/to/destination/file

The copy command is described here:
https://github.com/FujiNetWIFI/fujinet-platformio/wiki/SIO-Command-%24D8-Copy-File

and the code that config uses, is here:
https://github.com/FujiNetWIFI/fujinet-config/blob/master/src/diskulator_copy.c

@tschak909 tschak909 added enhancement New feature or request good first issue Good for newcomers labels Jul 27, 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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant