Mounting ATRs with your SIO2USB


Mounting ATRs with your SIO2USB

von Dietrich » Sa 19. Apr 2008, 23:45
Currently I'm working a lot with SIO2USB and therefore I have some useful hints for this great device, which might be of interest for you all:

1) Directory structure
If you have a lot of ATR files, build up a directory structure and don't put the files in just one directory. The reason is, you can find your files better on the ATARI via S2USHELL or the device menu. I recommend to have around 10 files per directory. If you have more, simply split the directory in two new ones.

My directory structure for games is based on the first two letters of the file names. It looks like this:
In the main directory: A-F, G-O, P-Z
These are only 3 directories since I have some other dirs here also.
2nd level directories: A, B, C, D, E-F, G-H, I-J, K-L, M- N-O, P, Q-R, S, T-V, W-Z
3rd level directories: AB-AI, AJ-AR, AS-AX, BA, BC-BE, BI-BO, BR-BU
CA, CE-CH, CL-CU, DA-DE, DI-DO, DR-DY, E, FA-FI, FL, FO-FR
GA-GE, GH-GO, GR-GY, HA, HE-HY, I, JA-JE, JO-JU
KA-KE, KI-KU, LA, LE-LU, MA, ME, MI, MO, MR-MU, N, OB-OL, ON-OU
PA-PH, PI, PL-PO, PR-PU, Q, RA, RE, RI-RU, SA-SE, SH-SL, SN-SO, SP, ST, SU-SW
TA-TE, TH-TO, TR-TU, U-V, WA-WH, WI-WU, X-Y, Z

These are only 3-6 subdirs per dir, so you can split them without crossing the 10 entries per dir rule.

In every 3rd level dir I have 5-10 ATR files. This structure is sufficient for 500 ATRs.
If you have more files, split some directories again (or put more than 10 files in one dir).
If you want to mount an ATR simply go through the directory levels. You can do this even on the SIO2USB device menu without too much scrolling.

2) Filenames
SIO2USB uses for its file system FAT. This means that every long filename or name with special characters (even lower case letters) uses more than one directory entry. The S2USHELL directory listing is of course slower with long filenames. If you have only 10 files per directory this doesn't matter. But with more files you should consider using only 8.3 filenames like "LASTSTFI.ATR" without any special chars. This is especially true, if you want to use the device menu for mounting, which shows only short names.
As a compromise you can use 8.3 char filenames like "LastStFi.atr". These filenames can be identified more easily than standard uppercase names (LASTSTFI.ATR).

von CharlieChaplin » So 20. Apr 2008, 00:43
Hmm,
since I use SIO2PC under MS-DOS 6.22 the 8.3 filenames are standard for me... ;-) But how about the underscore/underline "_" character (or however it is called) like in "ACE80_A.ATR" - does it affect the S2USHELL in a negative way ?!? Well, MS-DOS, as well as MyDOS and Sparta allow this character...

Hmm, less than 10 files per Directory - not me ! On the PC (with SIO2PC) I tried to keep the Directory entries below 100 files and that worked well, but less than 10 files per SUBDIR is impossible for me... -Andreas Koch.

von Dietrich » So 20. Apr 2008, 01:20
Yes, all MS-DOS filenames are legal with SIO2USB.
On the PC 100 files per dir is no problem, but if you want to mount a file via the SIO2USB device menu, its a pain to scroll through 100 files. In my working dirs are much more than 10 files but not in the ready-for-use dirs.

von Bunsen » So 20. Apr 2008, 10:06
I've got a weired mounting problem:

I wanted to update the firmware for the sio2usb. So I put the atr on the usb flash stick and mounted it with the shell. All seemed to be ok. But after booting I got a surprise: Agent U.S.A was loaded :?::?::?:
After some different tries I was not able to boot this firmware-atr...
I copied it on a real disk and it worked. After updating, the same error(?) occurs, also with other atrs.

von cas » So 20. Apr 2008, 11:00
Bunsen hat geschrieben:I've got a weired mounting problem:

I wanted to update the firmware for the sio2usb. So I put the atr on the usb flash stick and mounted it with the shell. All seemed to be ok. But after booting I got a surprise: Agent U.S.A was loaded :?::?::?:
After some different tries I was not able to boot this firmware-atr...
I copied it on a real disk and it worked. After updating, the same error(?) occurs, also with other atrs.


Hello Gunnar,

was Agent USA on the Internal SD Card (directory /INT) or also on the USB Stick?

If the SIO2USB looses contact to the USB Stick, is switches automaticllay to the internal SD-Card and mounts the ATRs that were last mounted on the SD-Card.

Does it also happen when you mount with the Device-Buttons (not with the shell?)

von Bunsen » So 20. Apr 2008, 14:16
Hi Carsten,

I 've found the error.

My XL has a switchable OS-Selector. My _standard_ OS is the HIAS-HISpeedOS (patched 800 XL-OS). The described errors only occurs with this OS. With the other OSses all is all right.

Thanks for answering.

Gunnar.

P.S.: I had already several incompatibilities with Hias' OS, e.g. booting the ABBUC mag disk fails...

von HiassofT » So 20. Apr 2008, 15:49
Hi Gunnar!
Bunsen hat geschrieben:P.S.: I had already several incompatibilities with Hias' OS, e.g. booting the ABBUC mag disk fails...

I'm currently working on an updated version of the highspeed SIO patch which fixes several compatibility problems (eg. with TurboDos) and also improves stability.

I'll contact you by email/PM and send you my current snapshot.

so long,

Hias

von Bunsen » So 20. Apr 2008, 20:16
Hi Hias,

cool, *your* OS is my favourite OS. ( Not really right: two weeks ago SD explained me his QMEG+OS. Since then this is my favourite).
I wonder that so less people use your patch...

Greetings,
Bunsen