[Coco] SDC rename command

Darren A mechacoco at gmail.com
Fri Mar 4 00:25:00 EST 2016


On Thu, Mar 3, 2016 at 8:52 PM, Brett Gordon wrote:

> The SDC's rename command is the odd parameter duck out, no?  My YA-DOS
> doesn't fair well with the rename command either.  sending the target
> filename requires another buffer xfer.
>


Only one buffer is sent for the rename command. The only difference between
it and the other commands which take a file argument is that a second
null-terminated string (consisting of only the new leaf name) must
immediately follow the first, and fit within the same 256-byte buffer.

- Darren


More information about the Coco mailing list