參數(shù)資料
型號(hào): NSB8
廠商: Electronic Theatre Controls, Inc.
英文描述: BASIC interpreter for Z80 family
中文描述: Z80的BASIC解釋為家庭
文件頁數(shù): 76/158頁
文件大小: 752K
代理商: NSB8
grifo
ITALIAN TECHNOLOGY
Page 64
NSB8 Rel. 5.10
INP (<numeric expression>)
This function performs an 8080 or Z80 IN instruction from the input port specified by the argument
value. The numeric value returned by the function is the contents of the accumulator (in the range
of 0 to 255) after the IN instruction. Note that INP will not wait for valid data, as do INCHAR$,
INPUT, and INPUT1, but instead fetches whatever byte value exists at the input port, whether or not
that value represents useful data.
CIO=INP(128)
<status>=CALL(17200,<acquire>)
This function checks if the console input device has a character ready and it manages its acquisition
according with <acquire> numeric parameter. The result of this check is returned in the numeric
variable <status>, with the following meaning:
<status> = 0 ->
no character available;
<status> > 255 ->
one character available; in this condition if:
<acquire> = 0 -> the available character is not acquired;
<acquire> = 1 -> the available character is acquired and returned on
the <status> low byte.
To correctly use this function, the special keys management must be disabled (see discussion:
CONTROL-C, THE PANIC BUTTON).
Example:
10 IF CALL(17200,0)=0 THEN GOTO 10 \ REM Wait one character with no acquisition
20 IF CALL(17200,1)=0 THEN GOTO 20 \ REM Wait one character with acquisistion
30 T=CALL(17200,1) \ REM Check if character available and acquire it
40 IF T>255 THEN T=T-256 \ REM If character available, calculates its numeric code
<not used>=CALL(17152,<I/O add.>)
This function define the 16 bit I/O address for the other input output functions. The <I/O add.>
parameter should evaluate to an integer from 0 to 65535, while the returned value is not significant.
10 H=CALL(17152,12) \ REM Sets I/O address = 12 = 000CH
<data in>=CALL(17168)
This function perform an input operation, at the 16 bit address specified by the previous function,
and it returns the acquired value (an integer from 0 to 255) on the numeric variable <data in>.
20 I=CALL(17168) \ REM Get input at 000CH address and saves it on I variable
<not used>=CALL(17184,<data out>)
This function perform an output operation, at the 16 bit address defined by the first function, with
the value of the numeric variable <data out> (an integer from 0 to 255).
30 H=CALL(17184,0) \ REM Performs output at 000CH address with the value 0
相關(guān)PDF資料
PDF描述
NSB9435T1 High Current Bias Resistor Transistors(高強(qiáng)度電流偏置電阻晶體管)
NSBA114EDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
NSBA114YDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
NSBC143TPDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
NSBC144EPDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
NSB8AT 制造商:VISHAY 制造商全稱:Vishay Siliconix 功能描述:Glass Passivated General Purpose Plastic Rectifier
NSB8AT/31 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產(chǎn)品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復(fù)時(shí)間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel
NSB8AT/45 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產(chǎn)品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復(fù)時(shí)間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel
NSB8AT/81 功能描述:二極管 - 通用,功率,開關(guān) 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:STMicroelectronics 產(chǎn)品:Switching Diodes 峰值反向電壓:600 V 正向連續(xù)電流:200 A 最大浪涌電流:800 A 配置: 恢復(fù)時(shí)間:2000 ns 正向電壓下降:1.25 V 最大反向漏泄電流:300 uA 最大功率耗散: 工作溫度范圍: 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:ISOTOP 封裝:Tube
NSB8AT-E3/31 功能描述:整流器 50 Volt 8.0 Amp 125 Amp IFSM RoHS:否 制造商:Vishay Semiconductors 產(chǎn)品:Standard Recovery Rectifiers 配置: 反向電壓:100 V 正向電壓下降: 恢復(fù)時(shí)間:1.2 us 正向連續(xù)電流:2 A 最大浪涌電流:35 A 反向電流 IR:5 uA 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:DO-221AC 封裝:Reel