Last modified by Max on 2025/03/02 15:18

From version 2.20
edited by Max
on 2025/02/25 13:26
Change comment: (Autosaved)
To version 2.14
edited by Max
on 2025/02/25 12:56
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -382,22 +382,12 @@
382 382  Command code 013, the command reads the TOC record into the internal memory area and switches the pointer to it for data transfer via DR. The TOC must be open before this.
383 383  
384 384  The procedure is as follows:
385 -• Reset the controller.
386 -• Issue the command "Read the table of contents entry" to the CSR and wait for it to finish.
387 -• Issue the command "Read from controller memory" to the CSR
388 -• Read 11 words of the table of contents entry from DR
389 -\\The table of contents entry has the format:
390 -
391 -(% style="width:686px" %)
392 -|=(% style="width: 136px;" %)Offset (octal)|=(% style="width: 305px;" %)Name|=(% style="width: 242px;" %)Value
393 -|(% style="width:136px" %)0|(% style="width:305px" %)fSize|(% style="width:242px" %)File size in bytes, low word
394 -|(% style="width:136px" %)2|(% style="width:305px" %)fSize|(% style="width:242px" %)File size in bytes, high word
395 -|(% style="width:136px" %)4|(% style="width:305px" %)fDate|(% style="width:242px" %)Date in MS-DOS format
396 -|(% style="width:136px" %)6|(% style="width:305px" %)fTime|(% style="width:242px" %)Time in MS-DOS format
397 -|(% style="width:136px" %)10|(% style="width:305px" %)fAttr|(% style="width:242px" %)Attributes 1 byte
398 -
399 -
400 -Смещение  Имя Значение
385 +• Сбросить контроллер.
386 +• Выдать в CSR команду "Прочитать запись оглавления" и дождаться ее окончания.
387 +• Выдать в CSR команду "Прочитать из памяти контроллера"
388 +• Прочитать из DR 11 слов записи оглавления
389 +\\Запись оглавления имеет формат:
390 +\\См. Имя Значение
401 401  0 fSize Размер файла в байтах, младшее слово
402 402  2 старшее слово
403 403  4 fDate Дата в формате MS-DOS