PA 1500
Functions of the board
Example with the DEBUG program under DOS
C:> DEBUG (CR)
- o 392, 01 (CR)
(* Set output 1
*)
- o 393, 80 (CR)
(* Set output 16
*)
- q
(* Quit the DEBUG program *)
Example in Basic
OUT &H392, 1
(* Set output 1
*)
OUT &H393, &H80 (* Set output 16
*)
Did you select the 16-bit data bus access
? (Jumper J3 is set)
One
address is available in the I/O address range:
Base +2
for the outputs 1-16.
Example in ASSEMBLER
MOV DX, 392
; Base address on 0392H
MOV AX, 0FFFFH
OUT DX, AX ; Read the outputs 1-->16
Example in Pascal
Procedure
Set_Outputs ( w_Value :
WORD
);
begin
(* Set the outputs the 16-bit data bus width w_Base := $392 *)
portw[ 2] := w_Value;
end;
Special functions
Different diagnostic bits are set:
-
if a short-circuit has happened on an output,
-
if a component has overtemperature
-
or if the external voltage supply drops.
These error data are available through an interrupt routine.
See API functions: i_PA1500_SetBoardIntRoutineXX,
i_Pa1500_ResetBoardIntRoutine.
Jumper
♦
Select the data bus access with jumper J3.
-
J3 is set :
16-bit access
-
J3 is open: 8-bit access
9.4
Interrupt
The board
PA 1500
has an interrupt line.
It must be connected through the jumper field J4 to an interrupt line of the
PC bus.
The following lines are available:
IRQ3, IRQ5, IRQ10, IRQ11, IRQ12, IRQ14, IRQ15.
37