‗RW
R/W — стандартное слово Каллисто. Конфликтует со словом R/W из стандарта ANS FORTH.
R/W в fig-FORTH Release 1 glossary, май 1979 (англ.)
R/W addr blk f -- The fig-FORTH standard disc read-write linkage. addr specifies the source or destination block buffer, blk is the sequential number of the referenced block; and f is a flag for f=O write and f=l read. R/W determines the location on mass storage, performs the read-write and performs any error checking.
Пример R/W из fig-Форта, симулирующий блоков в ОЗУ
HEX 4000 CONSTANT LO ( START OF BUFFER AREA ) 6800 CONSTANT HI ( 10 SCREEN EQUIVALENT ) : R/W >R ( save boolean ) B/BUF * LO + DUP HI > 6 ?ERROR ( range check ) R> IF ( read ) SWAP ENDIF B/BUF CMOVE ;
У этой статьи нет иллюстраций. Вы можете помочь проекту, добавив их. |
Это заготовка статьи. Вы можете помочь проекту, дополнив её. |