dss@cubsvax.UUCP (David Silver) (10/04/86)
Before I waste any more time on this, I'd like to know if anyone else has encountered this problem... Fish disk #5 contains code for accessing the input device (out of the RKM). When I compile input.dev.c, I get an error message on line 170 because a VOID data type is used in an assignment (Lattice error 91, a no-no). This is the line: handlerStuff.is_Code = (VOID)HandlerInterface; /* address of entry point to handler */ Previous to this, there is the declaration: extern HandlerInterface(); The external function is a small assembly language module that allows the input.task to communicate with a C language routine. Anyway, I took out the cast '(VOID)', compiled, assembled, linked, and the program crashes the machine right after giving the message that it has opened the input device. It also requires a lot of stack space for some reason. Not having any experience with the input device, nor with linking C and assembler routines, I ask you; Have you succeeded where I have failed??? Thanks for any advice! -- David Silver {philabs,rna}!cubsvax!dss cubsvax!dss@columbia