Numbered directory names

21 views
Skip to first unread message

buzbard

unread,
Nov 4, 2012, 1:36:32 AM11/4/12
to uIEC-...@googlegroups.com
I have a directory structure on my SD card like so:

C128
    +GAMES
        +40COL
        +80COL

From the games directory, if I try to change to that folder using:

OPEN15,8,15,"CD 40COL":CLOSE15

or using DOS Wedge: @CD 40COL

I get a "74,DRIVE NOT READY,00,00" error from the drive status.

But if I use "CD/40COL" it works ok.

Is this a bug or a feature that I'm unaware of?

Thanks
Ray...

Paul Förster

unread,
Nov 4, 2012, 3:45:19 AM11/4/12
to uIEC-...@googlegroups.com
Hi Ray,

> But if I use "CD/40COL" it works ok.
> Is this a bug or a feature that I'm unaware of?

... works as designed. Take a look at what C64-wiki has about changing directories:

http://www.c64-wiki.com/index.php/sd2iec_%28firmware%29#Usage

I usually use the colon as command delimiter for simplicity and because it matches the classic floppy drive command pattern and doesn't confuse me with slash characters in paths.

Hope this helps.
--
cul8er

Paul
paul.f...@gmail.com


buzbard

unread,
Nov 5, 2012, 12:24:37 PM11/5/12
to uIEC-...@googlegroups.com
Ok, I've always used "CD foldername" and it's always worked (until now), but I guess I should have been using "CD/foldername" instead.

It's hard to break the old MS-DOS habits.

Thanks
Ray...

Paul Förster

unread,
Nov 5, 2012, 12:48:43 PM11/5/12
to uIEC-...@googlegroups.com
Hi Ray,

On 05. Nov, 2012, at 18:24, buzbard <buz...@gmail.com> wrote:

> Ok, I've always used "CD foldername" and it's always worked (until now), but I guess I should have been using "CD/foldername" instead.
>
> It's hard to break the old MS-DOS habits.

... the uIEC is not MS-DOS or any other command line interface. That's why I use the colon as a delimiter. It tells the command from a path and you can't confuse a relative and absolute path with it, which you easily can if you use a slash. Also, it adheres to the classic floppy command syntax. After all, you do a format (N:xx,yy), scratch (S:file), and other commands in the same format, i.e. a colon following the command letter(s).
--
cul8er

Paul
paul.f...@gmail.com


Reply all
Reply to author
Forward
0 new messages