Changes for page API контроллеров AZ®
Last modified by Max on 2025/03/02 15:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -435,13 +435,13 @@ 435 435 == 014: Unmount disk == 436 436 437 437 Command code 014, to unmount the disk, you should reset the controller, send the AZ drive number to the controller DR, which should be unmounted, and send the 014 code to the controller CSR, then wait for the operation to complete (it takes a long time) and check for an error. An error is issued if the drive has not been mounted. 438 -[[AZUMNT utility example>>url:https://forum.maxiol.com/index.php?showtopic=5605&st=0&p=59418&#entry59418]]438 +[[**//пример утилиты AZUMNT//**>>url:https://forum.maxiol.com/index.php?showtopic=5605&st=0&p=59418&#entry59418]] 439 439 440 440 441 -== 015: Starttransferringtheread block==441 +== **015: Начать передачу считанного блока** == 442 442 443 - Thecommandcodeis015.Havingreceivedthis command,thecontrollerisconfiguredtooutputwordbywordthecontentsof the same built-in buffer for256words,whichwillbeoutputsequentiallythroughtheDRregister.Nowaitingisrequired,wesimplysendawordfromDRtosequentialmemorycells 256 times,andthat's it.Iflessthan256wordsare needed(thelastshortenedblock of the file),thentheremaindercansimplybediscarded without reading,resettingthecontrolleratthebeginningofthenextoperation will also reset this remainder.444 -\\ Exampleprogram:443 +Код команды - 015. Получив эту команду, контроллер настраивается на пословную выдачу содержимого того самого встроенного буфера на 256 слов, которые будут выданы последовательно через регистр DR. Никаких ожиданий не требуется, просто пересылаем 256 раз слово из DR в последовательные ячейки памяти, и все. Если нужно меньше, чем 256 слов (последний укороченный блок файла), то остаток можно просто бросить, не считывая, сброс контроллера в начале следующей операции сбросит и этот остаток. 444 +\\Пример программы: 445 445 446 446 {{code language="assembler"}} 447 447 ;..................................