Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ HsiSignal(3H) — Pixar HSI 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigvec(2)

HsiOpen(3H)

HsiPP(3H)

HsiSetup(3H)

signal(3)

hsi(4)

HSISIGNAL(3H)  —  MISC REFERENCE MANUAL PAGES

NAME

HsiSignalDone− signal when HSI operation completes
HsiSignalPPActive− signal when HSI parallel port goes active

SYNOPSIS

#include <hsidefs.h>

int HsiSignalDone(hsi, signo)
HSIDEV ∗hsi;
int signo;

int HsiSignalPPActive(hsi, signo)
HSIDEV ∗hsi;
int signo;

DESCRIPTION

HsiSignalDone requests that the user process receive the UNIX signal signo when the HSI completes a transmit or receive operation.  It returns immediately to its caller.  HsiSignalDone is useful principally in HSI operations where something other than the host CPU is exchanging data with the HSI (examples are the parallel port and the Pixar Fast-Disk).  Signo must be between 0 and NSIG-1 (see /usr/include/signal.h).  A signo value of 0 disables signaling.  The effects of this function endure until a subsequent HsiSignalDone call is issued, or until the HSI is closed. 

HsiSignalPPActive resets the HSI hardware and causes a the process to receive the signal signo when the external device connected to the HSI parallel port goes active (i.e., asserts the hardware PP.EXT.∗EN line).  Signo must be between 1 and NSIG-1.  HsiSignalPPActive returns immediately to its caller.  Its effect endures until the next time the HSI is reset.  Another call to HsiSignalPPActive is necessary to catch another parallel port event. 

RETURN VALUE

Both functions return a value of 0 to indicate success, or a value of −1 to indicate an invalid signo argument. 

SEE ALSO

sigvec(2), HsiOpen(3H), HsiPP(3H), HsiSetup(3H), signal(3), hsi(4)

HSI Tutorial

Sun Release 4.1  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026