... | ... | @@ -93,20 +93,43 @@ Additionally, do not hesitate to come and chat with us at [#cpc](https://webchat |
|
|
- ">" for an AlbiDOS link file.
|
|
|
|
|
|
**New BIOS vectors:**
|
|
|
- CTRL J: set option.
|
|
|
- CTRL J: command.
|
|
|
- Input:
|
|
|
- C = option identifier.
|
|
|
- OPT_CAT_ADD_FAKED_PARENT (0): automatically add a faked « parent » directory entry at the beginning of the CAS_IN_CATALOG buffer. This entry is named "/".
|
|
|
- &00: Yes.
|
|
|
- &FF: No (default).
|
|
|
- A = option value.
|
|
|
- C = command identifier.
|
|
|
- Other input registers depends on the command.
|
|
|
- Output:
|
|
|
- Carry = 1: success (A = old option value).
|
|
|
- Carry = 0: failure (unknown option or invalid value).
|
|
|
- Carry = 1: success (registers values depends on the command).
|
|
|
- Carry = 0: failure (unknown command or invalid input).
|
|
|
- Altered:
|
|
|
- AF
|
|
|
- BC
|
|
|
- CTRL Z: alias to |USB RSX. To be used to detect that AlbiDOS is a DOS ROM compatible with AMSDOS and to provide a generic way to activate it. Any newly coded DOS ROM should implement this BIOS vector (for instance, iMPdos does).
|
|
|
- Only command output registers are modified.
|
|
|
|
|
|
- Available commands:
|
|
|
- CMD_CAT_FAKED_PARENT (0): automatically add a faked « parent » directory entry at the beginning of the CAS_IN_CATALOG buffer. This entry is named "/".
|
|
|
- Input:
|
|
|
- A = status, &00=Yes, &FF=No (default).
|
|
|
- Output:
|
|
|
- A = old value.
|
|
|
- CMD_DEVICE_LIST (1): return the list of the supported DOS devices names.
|
|
|
- Input:
|
|
|
- DE = 64 bytes buffer where to store the list.
|
|
|
- Output:
|
|
|
- DE = pointer to the input buffer filled with the list of the supported DOS devices. Each device name is a string terminated with a bit 7 to 1 on the last character. The character 255 marks the end of the list.
|
|
|
- CMD_DEVICE_INFO (2): get detailled information about a DOS device.
|
|
|
- Input:
|
|
|
- DE = 64 bytes buffer whore to store information.
|
|
|
- Output:
|
|
|
- DE = pointer to the input buffer with device detailled information:
|
|
|
- 1 byte: device attributes
|
|
|
- Bit 0: device availability (a media is inserted).
|
|
|
- Bit 1: device supports directories.
|
|
|
- Bit 2: device is write protected.
|
|
|
- Bit 3: device is removable.
|
|
|
- 1 byte: filesystem identified (not implemented yet, always 255).
|
|
|
- 4 bytes: free space in kilo-bytes (LSB first).
|
|
|
- 4 bytes: capacity in kilo-bytes (LSB first).
|
|
|
- n bytes: description of the device (string terminated with bit 7 = 1).
|
|
|
|
|
|
- CTRL Z: alias to |DOS RSX. To be used to detect that AlbiDOS is a DOS ROM compatible with AMSDOS and to provide a generic way to activate it. Any newly coded DOS ROM should implement this BIOS vector (for instance, iMPdos does).
|
|
|
|
|
|
**CAS_IN_OPEN:**
|
|
|
- If a directory path is given as input, then it will enter it and update the current path. In this case it will return with NC and Z flags, and A = DSK_ERR_DIRECTORY_CHANGED (23) or DSK_ERR_QUIET_DIRECTORY_CHANGED (23+128). No file is actually opened.
|
... | ... | |