... | ... | @@ -18,25 +18,33 @@ Additionally, do not hesitate to come and chat with us at [#cpc](https://webchat |
|
|
|
|
|
**Using drives and path:**
|
|
|
- AlbiDOS handles file path in all API provided with a filename.
|
|
|
- Path are formed this way: [[A|B[0-15]:][path/]file.
|
|
|
- A is the MicroSD card drive, B, is the USB mass storage.
|
|
|
- 0-15 is the user which is accepted for backward compatibility but have not effet.
|
|
|
- Path are formed this way: [DEVNAME:][path/]file.
|
|
|
- Where DEVNAME can be either a logical drive or a DOS device name.
|
|
|
- Logical drives are A and B (user number can be appened like with AMSDOS but with no effect on non-AMSDOS devices). By default A points to the MicroSD card and B to the USB Mass Storage device.
|
|
|
- DOS device names are:
|
|
|
- SD for the MicroSD card.
|
|
|
- UMS for the USB Mass Storage device.
|
|
|
- DFA for the floppy disc A.
|
|
|
- DFB for the floppy disc B.
|
|
|
- TAPE for the tape.
|
|
|
- Path can have up to 8 directories in depth: dir1/dir2/.../dir7/dir8.
|
|
|
- ":" is referencing the root of the current (or predecessing) drive.
|
|
|
- LOAD":" go back to root for current path.
|
|
|
- LOAD":file": open file at the current drive root.
|
|
|
- "/" is referencing the parent directory.
|
|
|
- LOAD"/": go to parent directory for current path.
|
|
|
- LOAD"/file": open file at the parent directory from the current path.
|
|
|
- LOAD"dirA1/dirB1//dirA2/file" is equivalent to LOAD"dirA2/file".
|
|
|
- AlbiDOS retains the current active disc ROM (AMSDOS or AlbiDOS), drive (A or B) and path so that you will get them back at next reboot. This information is stored in a file named !ALBIREO.CFG at root of MicroSD card.
|
|
|
- Path navigation is done using LOAD"path":
|
|
|
- ":" is referencing the root of the current (or predecessing) drive.
|
|
|
- LOAD":" go back to root for current path.
|
|
|
- LOAD":file": open file at the current drive root.
|
|
|
- "/" is referencing the parent directory.
|
|
|
- LOAD"/": go to parent directory for current path.
|
|
|
- LOAD"/file": open file at the parent directory from the current path.
|
|
|
- LOAD"dirA1/dirB1//dirA2/file" is equivalent to LOAD"dirA2/file".
|
|
|
- LOAD"DEVNAME:" selects de provided DEVNAME as the media associated with the current drive.
|
|
|
- AlbiDOS retains the current active disc ROM (AMSDOS or AlbiDOS), current drive (A or B), current media selected for each drive, and path so that you will get them back at next reboot. This information is stored in a file named !ALBIREO.CFG at root of MicroSD card.
|
|
|
- |DISC then reboot: you will reboot using current floppy drive by default (could be A or B).
|
|
|
- |USB then reboot: you will reboot using current Albireo drive by default (could be A or B).
|
|
|
- |DOS then reboot: you will reboot using current Albireo drive by default (could be A or B).
|
|
|
- LOAD"dir1/dir2" then reboot, the default path will remain dir1/dir2.
|
|
|
|
|
|
**Integration with other DOS:**
|
|
|
- AlbiDOS integrates a passtrough for RSX and BIOS vectors, which means that when it is not ativated (for instance after a |DISC was issued or when another DOS took over read/write indirections), it will just pass commands to this ROM in a transparent manner.
|
|
|
- |USB activates AlbiDOS read/write indirections.
|
|
|
- |DOS activates AlbiDOS.
|
|
|
- |DISC, |DISC.IN, |DISC.OUT calls are wrapped to the next ROM implementing them (which is usually AMSDOS, but which could also be RODOS or any DOS ROM dealing with disc drives).
|
|
|
- |TAPE, |TAPE.IN and |TAPE.OUT are installing back firmware tape read/write indirections.
|
|
|
- All other RSX will be redirected the ROM owning read/write indirections (it ensures that |ERA, |REN, |DIR, and so on will always be used from the proper ROM).
|
... | ... | @@ -55,20 +63,23 @@ Additionally, do not hesitate to come and chat with us at [#cpc](https://webchat |
|
|
- If an incompatible configuration file is found (because of an AlbiDOS new version), it will be re-created automatically (in that case a beep is also emitted).
|
|
|
|
|
|
**Improved RSX:**
|
|
|
- |DRIVE[,"A|B"]: can now be used without parameters; it will display the list of the detected devices on the system (SDCard, USB, floppy and tape).
|
|
|
- |DRIVE[[,"A|B"][,DEVNAME]:
|
|
|
- Without parameters; it will display the list of the detected devices on the system (SDCard, USB, floppy and tape) and the A/B drives configuration and selection.
|
|
|
- With one parameter it works exactly like with AMSDOS.
|
|
|
- With two parameters, it let you select which media to attach to a drive.
|
|
|
- |REN,"new file or directory name","path to file or directory to rename": now a full path to the file to rename can be given. Please note that the new file name shall still be a stock file name (|REN cannot be used to move files).
|
|
|
- |ERA,"pattern to file or directory": now a full path to the file to delete can be given and confirmation is asked on directories and read-only files (note that erasing a symbolic link will actually delete the link itsel, not its target).
|
|
|
- |DIR,"pattern": patten can now include a path.
|
|
|
|
|
|
**New RSX:**
|
|
|
- |USB: activate Albireo drives handling (regular |DISC or |TAPE will switch you back to floppy disc or tape handling).
|
|
|
- |DOS: activate AlbiDOS media handling (regular |DISC or |TAPE will switch you back to exclusive floppy disc or tape handling).
|
|
|
- |PATH[,@a$]: return the current path (on display if no variable pointer is provided).
|
|
|
- |PROTECT,"pattern to file": mark a file as read-only.
|
|
|
- |UNPROTECT,"pattern to file or directory": mark a file as read and write.
|
|
|
- |HIDE,"pattern to file or directory": mark a file as hidden (system).
|
|
|
- |SHOW,"pattern to file or directory": mark a file as visible (user).
|
|
|
- |MAKELINK,"path to link to create","path to the file or directory to link": create a symbolic link (note that the link target can be itself a link).
|
|
|
- |READLINK,"path to link"[,@a$]: return the target path of a link (on display if no variable pointer is provided).
|
|
|
- |READLINK,"path to link"[,@a$]: return the target path of a link (on display if no variable pointer is provided).
|
|
|
- |INFO,"pattern to file": list files with detailed information (similar to Utopia's |INFO).
|
|
|
- Like with |DIR and CAT the character "*" is added at end of file if it is read-only.
|
|
|
- Hidden files are also displayed; they are marked with a "!" character.
|
... | ... | |