Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.trs-80 » Reading 1000 joysticks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Reading 1000 joysticks [message #117357] Thu, 10 October 1985 21:50 Go to next message
john is currently offline  john
Messages: 294
Registered: February 2013
Karma: 0
Senior Member
Article-I.D.: moncol.523
Posted: Thu Oct 10 21:50:49 1985
Date-Received: Sat, 12-Oct-85 21:33:48 EDT
Organization: Monmouth College, West Long Branch, NJ 07764
Lines: 19

Since the tech. manual isn't available to the public yet, I was wondering:

Does anybody know the way to read the 1000's joysticks from a language
other than BASIC?

I tried the program in this month's BYTE (written for the IBM-PC) to read
them from Turbo PASCAL, but I only get meaningful results for the buttons.

Thanks in advance.


-- 
Name:		John Ruschmeyer
US Mail:	Monmouth College, W. Long Branch, NJ 07764
Phone:		(201) 222-6600 x366
UUCP:		...!vax135!petsd!moncol!john	...!princeton!moncol!john
						   ...!pesnta!moncol!john

	    "If it was empty, it wasn't a package of anything."
Re: Reading 1000 joysticks [message #117360 is a reply to message #117357] Fri, 11 October 1985 10:47 Go to previous message
toma is currently offline  toma
Messages: 16
Registered: May 2013
Karma: 0
Junior Member
Article-I.D.: tekchips.287
Posted: Fri Oct 11 10:47:20 1985
Date-Received: Mon, 14-Oct-85 04:17:11 EDT
References: <523@moncol.UUCP>
Reply-To: toma@tekchips.UUCP (Tom Almy)
Organization: Tektronix, Beaverton OR
Lines: 41
Summary: 

In article <523@moncol.UUCP> john@moncol.UUCP (John Ruschmeyer) writes:
 > Since the tech. manual isn't available to the public yet, I was wondering:
 > 

GREAT NEWS (for me at least), I got the tech manual yesterday.  I had one on
order, and they had my money, since March!  Don't give up hope!!

 > Does anybody know the way to read the 1000's joysticks from a language
 > other than BASIC?
 > I tried the program in this month's BYTE (written for the IBM-PC) to read
 > them from Turbo PASCAL, but I only get meaningful results for the buttons.
 > 
 > Thanks in advance.

The joysticks read just fine from a Forth routine I have which was written
for the PC, and they work fine with games.  Port decoding is slightly
different which might be causing the problems with the BYTE article (which I
haven't seen.  In general you do the following:

1. Write to port 200H to start the integrator.
2. THe appropriate bit in port 201H goes true when the integrator voltage
   reaches that provided by the stick.  Its up to you to measure the time
   (which is <= 1.12 msec).

Port read pin assignments are:
bit
0	Left, X
1	Left Y
2 	Right X
3	Right Y
4	Left button #1
5	Left button #2
6	Right button #1
7	Right button #2

BTW, the technical reference manual 1) has no index, 2) has no page numbers
for most of its length, and 3) has an enormous number of typos (at least one
per page on average).  


Tom Almy
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Model 100 info?
Next Topic: Modem 1000 for sale
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed May 15 05:03:21 EDT 2024

Total time taken to generate the page: 0.08910 seconds