RE: MSX Mouse

2001-06-07 Thread Pierre Gielen

we can only take a look at pilot-link source code.
I'm sure many things can be re-used.

Where can I find this source code? I do have a Palm (IIIxe) and a
(Sunrise-type) serial port on my MSX. I'm still not sure WHAT data to
exchange between them, but it would be fun to make it work.

Pierre

--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: MSX Mouse

2001-06-03 Thread Ricardo Jurczyk Pinheiro

Em sex, 01 jun 2001, Pierre Gielen escreveu:

 Maybe there ie a option to convert a PC mouse
 
 Why not use a cordless mouse and modify only the receiver part? Come to
 think of it, an infrared receiver to sync a Palm PDA to MSX would also be
 nice. The only problem is a lack of information about the hardware specs and
 protocols.

Well, I think it would be easier to sync a Palm with a MSX using 
a serial port. The protocols aren't a problem indeed, we can only 
take a look at pilot-link source code. I'm sure many things can be 
re-used. 

--
Ricardo Jurczyk Pinheiro - M. Sc. Numerical Modelling - [EMAIL PROTECTED] - 3635907
[EMAIL PROTECTED] - Anime, ABU, MSX, Linux, Gospel, ST, Rock, Math
Sola Scriptura - Sola Gratia - Sola Fide - Solo Christi - Soli Deo Gloria 

---
 MSXRio'2001 - 28/07/2001 - http://www.msxrio.cjb.net - [EMAIL PROTECTED]
---

--This Tagline is blank to save space---
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: MSX mouse

2001-06-02 Thread Takamichi Suzukawa

I said I had schematics for pc to msx mouse. I forgot to give the url:
http://homepage1.nifty.com/anikun/

One of the instructions says that I should refer to
http://anikun.hoops.ne.jp/page3.htm , so I visited.

Quick look told me the hardware that Anikun is explaining, including the
PS/2 - FM towns, assumes use of his PIC converter which is a complex
programmable box.

His apps and hardware allows use of optical and wheel mice. However, in my
personal opinion, whole this huge idea is very complex.

Takamichi

--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



RE: MSX mouse

2001-06-02 Thread Hans Otten

The schematics are clear and easy to build with lowcost. And programming the
PIC chip is quite easy, it takes only a PC with a serial port and some
simple components and freeware software.

But to build the device the PIC programming source is required and I cannot
find that on this apge.

-Original Message-
From: JP Grobler [mailto:[EMAIL PROTECTED]]
Sent: 02 June 2001 11:18
To: [EMAIL PROTECTED]
Subject: MSX mouse


Hi

I said I had schematics for pc to msx mouse. I forgot to give the url:
http://homepage1.nifty.com/anikun/

JP
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: MSX mouse

2001-06-02 Thread JP Grobler

Hi

The source a .hex file is in the .lzh archives
Serial mouse: p9bm2tmc.lzh
Ps2 mouse:ps2m2tmc.lzh

I have both and have translated the readme files in them  to english
via altavista. Mail me if you want them. I can also mail just the
binary etc.

JP
[EMAIL PROTECTED]
On 2 Jun 2001 17:24:26 +0200, in local.msx.int you wrote:

The schematics are clear and easy to build with lowcost. And programming the
PIC chip is quite easy, it takes only a PC with a serial port and some
simple components and freeware software.

But to build the device the PIC programming source is required and I cannot
find that on this apge.

-Original Message-
From: JP Grobler [mailto:[EMAIL PROTECTED]]
Sent: 02 June 2001 11:18
To: [EMAIL PROTECTED]
Subject: MSX mouse


Hi

I said I had schematics for pc to msx mouse. I forgot to give the url:
http://homepage1.nifty.com/anikun/

JP
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html

--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



RE: MSX Mouse

2001-06-01 Thread Pierre Gielen

Maybe there ie a option to convert a PC mouse

Why not use a cordless mouse and modify only the receiver part? Come to
think of it, an infrared receiver to sync a Palm PDA to MSX would also be
nice. The only problem is a lack of information about the hardware specs and
protocols.

Pierre


--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



RE: MSX Mouse

2001-06-01 Thread Edwin Ploegsma

 Maybe there ie a option to convert a PC mouse
 
 Why not use a cordless mouse and modify only the receiver part? Come to
 think of it, an infrared receiver to sync a Palm PDA to MSX would also be
 nice. The only problem is a lack of information about the hardware specs and
 protocols.
 
 Pierre
 
To build an ir-reciever is'n that big a problem, building a IR-transmitter isn't 
either (you probably need both for succesfull interaction with other devices).
I think the main problem is the software.

Would it nog be possible to use some sort of ir-extention which is sold as 
accesory with some (pc-)motherboards (it is connected tot serial port 2 i 
think) on msx? (probably needs some hardware mods' though)

Ed
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: MSX Mouse

2001-05-31 Thread Bjørn Boye Skjoldhammer

Fm-towns

Greetz from Bjørn Boye Skjoldhammer aka The Red Devil
Private hp: http://userportal.iha.dk/~00233/msxtrd/
MSX hp: http://www.trd.msxnet.org
ICQ #20449307
MS Messenger: [EMAIL PROTECTED]

- Original Message - 
From: JP Grobler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 31, 2001 11:55 AM
Subject: MSX Mouse


Hi

Is the atari and msx mouse compatible? What other systems have a mous
compatible to msx mouse?

Thanks
JP
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html


--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: MSX Mouse

2001-05-31 Thread eMeSiX

What are the specs for a MSX mouse
Maybe there ie a option to convert a PC mouse (like a logitec ps2 or serial)
to MSX standart
With a simpel 12c508 (or a nother PIC) or change the ic in the mouse to work
with MSX
and if the 12c508 option works a easy pc2 / msx port convertor can be
made


- Original Message -
From: JP Grobler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 31, 2001 11:55 AM
Subject: MSX Mouse


 Hi

 Is the atari and msx mouse compatible? What other systems have a mous
 compatible to msx mouse?

 Thanks
 JP
 --
 For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: MSX Mouse

2001-05-31 Thread eMeSiX

What are the specs for a MSX mouse
Maybe there ie a option to convert a PC mouse (like a logitec ps2 or serial)
to MSX standart
With a simpel 12c508 (or a nother PIC) or change the ic in the mouse to work
with MSX
and if the 12c508 option works a easy pc2 / msx port convertor can be
made
 http://www.carchano.com.br/admouse.htm -- this one is serial to MSX
butt now a days PS2 will be easyer

 - Original Message -
 From: JP Grobler [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, May 31, 2001 11:55 AM
 Subject: MSX Mouse


  Hi
 
  Is the atari and msx mouse compatible? What other systems have a mous
  compatible to msx mouse?
 
  Thanks
  JP
  --
  For info, see http://www.stack.nl/~wynke/MSX/listinfo.html
 
 

 --
 For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: MSX mouse info

1999-08-03 Thread Adriano Camargo Rodrigues da Cunha


MkII,

 I'm seeking MSX mouse info (hardware, software, programming, interfacing, etc.)
 We've developed a sexy multi-platform feature-packed mouse/trackball and
 we'd like of course to include full MSX support.

If you can (it's very hard), contact Ademir Carchano.
He knows every pin and voltage of MSX mouse.
He's the make of AdMouse!
[EMAIL PROTECTED]
www.carchano.com.br


Adriano Camargo Rodrigues da Cunha   ([EMAIL PROTECTED])
Engenharia de Computacao - UNICAMP
http://www.adrpage.cjb.net   MSX-TR:I have one.And you?

* LISP: Lots of Infernal and Stupid Parenthesis. *



MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: MSX MOUSE

1999-06-01 Thread Laurens Holst

How does the MSX mouse interface work ? It has something to do with Puls
Width after
it is triggered by the msx.?

What do you mean, in Basic or in Assembly?

If you r talking about Basic, read some nice book.
If you're talking about Assembly, read the articles in MiLC. Perfect source.


~Grauw




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: MSX MOUSE

1999-06-01 Thread andre . vandun

In assembly, but what i am interested in is Electronics and the interface, not the 
programming

andre





owner-msx [EMAIL PROTECTED] on 06/01/99 07:27:24 PM
Please respond to msx [EMAIL PROTECTED] @ SMTP
To: msx [EMAIL PROTECTED] @ SMTP
cc:
Subject: Re: MSX MOUSE
Classification: Restricted
How does the MSX mouse interface work ? It has something to do with Puls
Width after
it is triggered by the msx.?

What do you mean, in Basic or in Assembly?

If you r talking about Basic, read some nice book.
If you're talking about Assembly, read the articles in MiLC. Perfect source.


~Grauw




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)






MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: MSX MOUSE

1999-05-31 Thread Erik



[EMAIL PROTECTED] schreef:
 
 How does the MSX mouse interface work ? It has something to do with Puls Width after
 it is triggered by the msx.?
 
 Andre van Dun
 
 
Real coordinates are send over , don't know the format of the data
but that's why you have to trigger it first , it set's the
coordinates to 0,0

Erik de Boer

--


MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: MSX Mouse ?

1999-02-10 Thread shevek

Valery wrote:
 
 Hi all,
 
 Who know information about MSX mouse intreface and protocol (time
 diagramm )?
 
 Valery

Hi,
I don't know exact timing, but I can tell about how to access. It is
done through PSG, registers 14 and 15.
Just in case you don't know: PSG is written to in the following way:

Don't ever use this method for register 14! It is said to kill you PSG!
LD A,register_number
OUT (HA0),A
LD A,data
OUT (HA1),A

For register 14, it should be:
LD A,14
OUT (HA0),A
IN A,(HA2)

As you can see, PSG 0-13 and 15 are write only, while 14 is read only.
Register 14 has the following form:
Bit Function
 0  up
 1  down
 2  left
 3  right
 4  button A
 5  button B
 6  I don't remember
 7  cassette input
bit 0-5 refer to the joystick selected by register 15, bit 6

Register 15:
Bit Function
 0  button A joystick port 1
 1  button B joystick port 1
 2  button A joystick port 2
 3  button B joystick port 2
 4  strobe joystick port 1
 5  strobe joystick port 2
 6  joystick select (0=port 1, 1=port 2)
 7  kana-led (at least that is what I was told, I don't have a japanese
MSX myself, so I couldn't test it)

I'm not sure if I mixed up bit 1 and 2... Anyway, when using this keep
the following in mind:
R15, bit 0-5 are used to put 0 or let-go-high on the pins. If you push a
button on the joystick, it will connect the pin to earth (0). By reading
the stick (through R14), it checks the voltage on the pin. If it is
high, it returns 1, if it is earth, it returns 0. This means that if you
write 0 to R15, bit 0-3, and than read the button status, it will always
be low (forced by the computer itself), so it will return low as well
(code for pressed button). You have to watch out with that. Even worse:
The joysicks I have at home (arcade they are called, not official MSX,
but they work good) have their switches connected to strobe in stead of
earth. This means that if you set the strobe bit to 1 and than try to
read the stick (buttons or direction), it will always return 1 (except
if they are forced to 0 by writing 0 in bit 0-3, in that case it will
always be 0). So even when reading joystick, don't play with the strobe
bit...

Now why do I tell this, when you ask about reading the mouse? Because
the MSX-computer uses what is called a joystick-mouse. It is read out as
a joystick. The mouse returns the displacement from last read-out, not
the position or something like that. If 2 programs both read out the
mouse, 1 of them probably doesn't work, because the same data is not
output twice.
Anyway, how to read it? It is easy. There is 16 bit output (one byte for
each direction) and it is read as follows:

set strobe to 1
wait k clockpulses
read data xl
set strobe to 0
wait n clockpulses
read data xh
set strobe to 1
wait n clockpulses
read data yl
set strobe to 0
wait n clockpulses
read data yh

This makes clear why sometimes you have to unplug a mouse from the
computer and than plug it in again. The mouse cannot see if you are
asking for x or y data, so if it gets mixed up once, it will stay that
way.
By the way, MSX mouse does, of course connect the pins to earth. So
don't worry about reading it with strobe high.

The data is read from R14. Bit 0-3 are the wanted data, bit 4+5 are
button-status, as usual.

Other people might have wanted to know this, but I think this is not the
answer to your question. I think this, because you ask for a time
diagramm. That means you want to know the minimum values of k and n. I'm
sorry, those values I don't know. I have seen programs with the
following wait-loop:
   LD B,xx
LABEL: NOP
   DJNZ LABEL
for k, xx was taken 40 and for n 20, but this is probably not minimum.
Therefore, I also want to ask the question: What are the minimum values? 

By the way: using minimum values might of course give problems to 7MHz
(Ok Alwin, it's not 7, it's 3.59*2=7.2Mhz) MSX's and TR's. Since I don't
have any of them, I don't know if there is a built in hardware solution
for such problems, but if not, it would be advisible to make it a bit
slower. Of course TR _can_ run on it's Z80, but the users will not like
to do this just to make the mouse work a fraction faster on other MSX's.
Still, it is the choice of the programmer. If you make it working fast
on a 'normal' MSX, it is standard. So everything that doesn't work than,
is not a MSX... But of course, this is not a very nice way to look at
it.

Bye,
shevek


MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)