Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!rutgers!husc6!cmcl2!rna!cubsvax!dss From: dss@cubsvax.UUCP (David Silver) Newsgroups: net.micro.amiga Subject: Input Device (HELP!) Message-ID: <551@cubsvax.UUCP> Date: Fri, 3-Oct-86 19:39:10 EDT Article-I.D.: cubsvax.551 Posted: Fri Oct 3 19:39:10 1986 Date-Received: Sat, 4-Oct-86 12:50:29 EDT Reply-To: dss@cubsvax.UUCP (David Silver) Organization: Columbia Univ. Bio. CG Fac., NY Lines: 34 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