Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!unirot!carroll From: carroll@unirot.UUCP Newsgroups: comp.sys.amiga Subject: Console Question Message-ID: <407@unirot.UUCP> Date: Wed, 11-Mar-87 23:38:43 EST Article-I.D.: unirot.407 Posted: Wed Mar 11 23:38:43 1987 Date-Received: Fri, 13-Mar-87 03:14:01 EST Reply-To: carroll@unirot.UUCP (mark carroll) Distribution: world Organization: Public Access Unix, Piscataway NJ Lines: 38 Keywords: console device speed and translation Summary: How to Translate Raw Console, COnsole Speed I have a couple of questions for the net: A> How to I translate the raw keycodes being sent when I set my IDCMPs to include RAWKEY? B> In trying to use a console device directly, by setting up IOStdReqs for the window, and giving the pointer in the io_data in the OpenDevice call, when I actually use the device, the speed is unbelievably slow. The code Im testing it with is a simple loop that sends the IOReq async, ( SendIO() ), and then checks the IO until it completes, then does a DoIO to write the inputted char to the screen. The throughput ends up being much less than that from a 300 bps modem. Why is it so slow? What is the console device doing? When I use the IDCMPs with VanillaKey, the speed is about 800% higher! With the same basic loop! C> As long as Im posting, Ill try my old Serial problem AGAIN. How can I check the carrier( Pin 5 serial port) on a modem without directly looking at the memory location associated with the port? Oh, Incidentally, the compiler is Lattice 3.10, WB 33.37, kickstart 1.2, Im not sure what version number on the kick. Its release 1.2.. and I looked at the dissasembled source for B>.. no ridicoulous quantities of code, or crazy loops or anything. Thanks in Advance, Please Reply to: ...!rutgers!carroll@aim.rutgers.edu or ...!rutgers!unirot!carroll or, if you have ARPANET access: carroll@aim.rutgers.edu ================================================================================ = Mark C. Carroll, Rutgers University Student, Part Time Programmer for Computer Systems and Methods of Somerville, NJ : (201)725-1373 ================================================================================