Page 1 of 2
Possible bug on DEV boards
Posted: Fri Jul 28, 2023 6:06 pm
by bleggett29
Possible bug on DEV boards when using * wildcard while CD to directory.
DEV0083
GIT 9D4A4D77
DOS"CD:SYS*" does not bring you to the expected SYSTEM directory on included SDCARD.
While DOS"CD:SYSTEM" works like expected.
Re: Possible bug on DEV boards
Posted: Fri Jul 28, 2023 6:49 pm
by Daedalus
Is it possible you have another directory that starts with "SYS" in the root dir?
Note that it is out of the root dir (As indicated by the . and .. directory entries.)
Do DOS"$=C while in that odd version of SYSTEM to see the path back to root.
Re: Possible bug on DEV boards
Posted: Fri Jul 28, 2023 7:55 pm
by bleggett29
DOS"$=C only shows
0 "CX16-DEV-SD " FAT32
0 "/" DIR
29443 MB FREE
BTW, there was only one folder named SYSTEM(and the only one that starts with S). Even if doing DOS"CD:SYSTEM*" it still happens. I renamed it to BSYSTEM and get the same results.
However, I tried this on another SDCARD and cannot reproduce the results. This is also not able to be reproduced on the emulator.
Is there a hidden folder on the SDCARDs that ship with the DEV boards?
Re: Possible bug on DEV boards
Posted: Fri Jul 28, 2023 9:28 pm
by kelli217
That good old Windows "System Volume Information" folder might be the culprit.
Re: Possible bug on DEV boards
Posted: Fri Jul 28, 2023 11:45 pm
by bleggett29
kelli217 wrote: ↑Fri Jul 28, 2023 9:28 pm
That good old Windows "System Volume Information" folder might be the culprit.
Yep. That was it. LOL
Re: Possible bug on DEV boards
Posted: Sat Jul 29, 2023 12:48 am
by Daedalus
bleggett29 wrote: ↑Fri Jul 28, 2023 7:55 pm
DOS"$=C only shows
0 "CX16-DEV-SD " FAT32
0 "/" DIR
29443 MB FREE
BTW, there was only one folder named SYSTEM(and the only one that starts with S). Even if doing DOS"CD:SYSTEM*" it still happens. I renamed it to BSYSTEM and get the same results.
However, I tried this on another SDCARD and cannot reproduce the results. This is also not able to be reproduced on the emulator.
Is there a hidden folder on the SDCARDs that ship with the DEV boards?
Heh. You did the DOS"$=C in the root directory. Had you done it in the directory that was supposed to be "SYSTEM" but wasn't, it would have listed each directory hop back to root, starting with it's own name... which is apparently SYSTEM VOLUME INFORMATION
And yeah, LOL
Re: Possible bug on DEV boards
Posted: Sat Jul 29, 2023 3:05 am
by bleggett29
Daedalus wrote: ↑Sat Jul 29, 2023 12:48 am
bleggett29 wrote: ↑Fri Jul 28, 2023 7:55 pm
DOS"$=C only shows
0 "CX16-DEV-SD " FAT32
0 "/" DIR
29443 MB FREE
BTW, there was only one folder named SYSTEM(and the only one that starts with S). Even if doing DOS"CD:SYSTEM*" it still happens. I renamed it to BSYSTEM and get the same results.
However, I tried this on another SDCARD and cannot reproduce the results. This is also not able to be reproduced on the emulator.
Is there a hidden folder on the SDCARDs that ship with the DEV boards?
Heh. You did the DOS"$=C in the root directory. Had you done it in the directory that was supposed to be "SYSTEM" but wasn't, it would have listed each directory hop back to root, starting with it's own name... which is apparently SYSTEM VOLUME INFORMATION
And yeah, LOL
No. It was done in the "hidden" directory SYSTEM VOLUME INFORMATION
You can ignore the TIME file. It's just a BASIC file I saved when I was messing about.
Re: Possible bug on DEV boards
Posted: Sat Jul 29, 2023 3:29 am
by Daedalus
Oh, look at that. That could be a different bug, or that weird directory messes stuff up. It should have displayed the current directory before displaying the root directory. It should have one entry for each hop of the directory path all the way down to root, starting with the current directory.
It's really long, but that should have just caused that line to be longer. It also has spaces in it, which I don't know if the x16 can parse. I've never seen a directory name with spaces, and never tried it.
I wish I had actual hardware so I could try to duplicate that!
Re: Possible bug on DEV boards
Posted: Sat Jul 29, 2023 3:33 am
by bleggett29
Daedalus wrote: ↑Sat Jul 29, 2023 3:29 am
Oh, look at that. That could be a different bug, or that weird directory messes stuff up. It should have displayed the current directory before displaying the root directory. It should have one entry for each hop of the directory path all the way down to root, starting with the current directory.
It's really long, but that should have just caused that line to be longer. It also has spaces in it, which I don't know if the x16 can parse. I've never seen a directory name with spaces, and never tried it.
I wish I had actual hardware so I could try to duplicate that!
I just did it in R43 emulator.
In windows, I mounted a SDCARD image and made a directory hidden. Then loaded up the emulator and did the above.
Re: Possible bug on DEV boards
Posted: Sat Jul 29, 2023 3:51 am
by bleggett29
DEV board seems to handle long directory names with spaces just fine.