
CHAPTER 3 PROGRAMMING REFERENCE
21
3.4.7. INIT
Purpose :
This aommand initializes the interface card and sets the relative parameters. It can be
neglected if the parameters used are all default values.
Offset :
INIT%=0
Syntax :
CALL INIT%(IOPORT%,MYADDR%,SETTING%) ----BASIC
CALL ABSOLUTE(IOPORT%,NYADDR%,SETTING%,INIT%)
----HASIC Compiler
Parameter :
IOPORT% - I/O port of NEC7210, from hex 008 to hex 2F8 by increment of
hex 010. The value is the I/O base address plus 8. The default
value is hex 2B8 since the base address (determined by SW1) of
this card is set to hex 2B0 at factory.
MYADDR% - IEEE-488 address of the IEEE-488 interface card. The range-is
from 0 to 30. The default value is 21.
SETTING% - An integer (16 bit) to set the DMA LEVEL, IRQ LEVEL and
other parameters. The default value is 0, i.e., 8ASIC interpreter,
system controller, no IRQ and no DMA.
Komentarze do niniejszej Instrukcji