Path: news1.icaen!news.uiowa.edu!NewsNG.Chicago.Qual.Net!nyd.news.ans.net!newsfeeds.ans.net!news.idt.net!newspeer.monmouth.com!sunqbc.risq.qc.ca!news.uow.edu.au!david From: david@uow.edu.au (David Wilson) Newsgroups: comp.sys.apple2 Subject: Re: Game port Date: 24 Dec 98 00:05:53 GMT Organization: University of Wollongong, Australia Lines: 17 Message-ID: References: <367C206E.7C6FFED2@cyberhighway.net> <367C41C1.751DC19C@cyberhighway.net> <367C9297.41580E52@swbell.net> <367CC1E9.1D1C7356@cyberhighway.net> <1dkd6b1.j7kiko1m9m3n2N@dempson.actrix.gen.nz> <367DD123.327F76D7@swbell.net> <367FF3E1.98B98229@swbell.net> NNTP-Posting-Host: wraith.cs.uow.edu.au X-Trace: wyrm.its.uow.edu.au 914458861 12829 130.130.64.1 (24 Dec 1998 00:21:01 GMT) X-Complaints-To: usenet@wyrm.its.uow.edu.au NNTP-Posting-Date: 24 Dec 1998 00:21:01 GMT X-Newsreader: NN version 6.5.0 #15 (NOV) Xref: news1.icaen comp.sys.apple2:143305 Rubywand writes: > Okay. Thanks for correction. How about this ... Getting closer. > DB-9 Female Socket on Computer DB-9 Male Plug on Mouse Those should read DE-9. DB-9 does not exist :-) Looking at the //c technical reference I found that pin 4 of the DE-9 (XDIR) can be read as a digital signal at $C066 in place of the non-existant PDL2. Pin 8 (PDL1/YDIR) can be read digitally at $C067 in place of PDL3. These are standard TTL inputs (to a 74HCT251) so may not have the same limitations that the other digital inputs have. -- David Wilson School of IT & CS, Uni of Wollongong, Australia david@uow.edu.au Path: news1.icaen!news.uiowa.edu!NewsNG.Chicago.Qual.Net!vixen.cso.uiuc.edu!news-peer1.sprintlink.net!news-in-east1.sprintlink.net!news.sprintlink.net!cyclone.swbell.net!typhoon01.swbell.net.POSTED!not-for-mail Message-ID: <368200B6.DC8E7976@swbell.net> From: Rubywand Reply-To: rubywand@swbell.net X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.apple2 Subject: Re: Game port References: <367C206E.7C6FFED2@cyberhighway.net> <367C41C1.751DC19C@cyberhighway.net> <367C9297.41580E52@swbell.net> <367CC1E9.1D1C7356@cyberhighway.net> <1dkd6b1.j7kiko1m9m3n2N@dempson.actrix.gen.nz> <367DD123.327F76D7@swbell.net> <367FF3E1.98B98229@swbell.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 60 Date: Thu, 24 Dec 1998 02:52:06 -0600 NNTP-Posting-Host: 207.193.8.33 X-Complaints-To: abuse@swbell.net X-Trace: typhoon01.swbell.net 914489203 207.193.8.33 (Thu, 24 Dec 1998 00:46:43 PDT) NNTP-Posting-Date: Thu, 24 Dec 1998 00:46:43 PDT Organization: SBC Internet Services Xref: news1.icaen comp.sys.apple2:143328 David Wilson writes ... > > Rubywand writes: > > Okay. Thanks for correction. How about this ... > > Getting closer. > So far, so good! > > DB-9 Female Socket on Computer DB-9 Male Plug on Mouse > > Those should read DE-9. DB-9 does not exist :-) Good to know. This led to a check through eem99 plus a couple catalogs. Actually, it looks like nobody uses "DB" or "DE" anymore. 7-pin, 9-pin, 25-pin, ..., they are all called "D Sub" connectors now. > > Looking at the //c technical reference I found that pin 4 of the DE-9 (XDIR) > can be read as a digital signal at $C066 in place of the non-existant PDL2. > Pin 8 (PDL1/YDIR) can be read digitally at $C067 in place of PDL3. These are > standard TTL inputs (to a 74HCT251) so may not have the same limitations that > the other digital inputs have. .... The new info is added-in below ... Dsub-9 Female Socket on Computer Dsub-9 Male Plug on Mouse ,---------------------. ,---------------------. \ 5 4 3 2 1 / \ 1 2 3 4 5 / \ 9 8 7 6 / \ 6 7 8 9 / `-----------------' `-----------------' Mouse Usual //c, IIc+ Game Port Function 1 MOUSE ID Pushbutton 1 2 +5V +5V 3 GND GND 4 XDIR no Game Port function on //c, IIc+; this TTL-compatible input can be read at $C066 5 XMOVE Game Control 0 or PDL0 (Joystick X-axis) 6 n.c. (no Game Port function on //c, IIc+) 7 MOUSE BUTTON Pushbutton 0 8 YDIR Game Control 1 or PDL1 (Joystick Y-axis) 9 YMOVE no Game Port function on //c, IIc+; this TTL-compatible input can be read at $C067 One thing, are YDIR and YMOVE correct? XDIR goes to a TTL input. Should pin 9 be YDIR and pin 8 be YMOVE? Rubywand