... | @@ -114,20 +114,20 @@ Additionally, do not hesitate to come and chat with us at [#cpc](https://webchat |
... | @@ -114,20 +114,20 @@ Additionally, do not hesitate to come and chat with us at [#cpc](https://webchat |
|
- DE = 64 bytes buffer where to store the list.
|
|
- DE = 64 bytes buffer where to store the list.
|
|
- Output:
|
|
- 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.
|
|
- 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.
|
|
- **CMD_DEVICE_INFO (2):** get detailled information about a DOS device.
|
|
- Input:
|
|
- Input:
|
|
- DE = 64 bytes buffer whore to store information.
|
|
- DE = 64 bytes buffer whore to store information.
|
|
- Output:
|
|
- Output:
|
|
- DE = pointer to the input buffer with device detailled information:
|
|
- DE = pointer to the input buffer with device detailled information:
|
|
- 1 byte: device attributes
|
|
- 1 byte: device attributes
|
|
- Bit 0: device availability (a media is inserted).
|
|
- Bit 0: device availability (a media is inserted).
|
|
- Bit 1: device supports directories.
|
|
- Bit 1: device supports directories.
|
|
- Bit 2: device is write protected.
|
|
- Bit 2: device is write protected.
|
|
- Bit 3: device is removable.
|
|
- Bit 3: device is removable.
|
|
- 1 byte: filesystem identified (not implemented yet, always 255).
|
|
- 1 byte: filesystem identified (not implemented yet, always 255).
|
|
- 4 bytes: free space in kilo-bytes (LSB first).
|
|
- 4 bytes: free space in kilo-bytes (LSB first).
|
|
- 4 bytes: capacity 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).
|
|
- 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).
|
|
- **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).
|
|
|
|
|
... | | ... | |