Fog Creek Software
Discussion Board




What can I do about PS2?

I want  to write a program with VC++ about read and write
from PS2
But I dont Know about how to write about PS2?
Thanks for answer me
regards bita

bita
Monday, May 10, 2004

Top hit on googling for ps2 programming gives

http://ps2dev.org/

That seems to cover all the bases.

Simon Lucy
Monday, May 10, 2004


You mean PS/2, not Playstation 2, right?

A Dingo Ate My Baby
Monday, May 10, 2004

dear
I want a sample similar to http://www.wince.org.uk/vc/intermediate/serialrw.htm

I dont know anything about PS2 Programming
I want a samle with VC++
thanks

bita
Monday, May 10, 2004

yes PS/2

bita
Monday, May 10, 2004

Go to http://ps2dev.org/  and they will tell you
sample with VC++
you're welcome.

Tape Loop
Monday, May 10, 2004

If you really mean PS/2, i.e. the port your keyboard/mouse is connected with, you're not going to find anything. You can't communicate via PS/2 directly.
You need to access the keyboard controller chip in your PC, but that would only make sense if you're writing your own OS.

Good luck.

-..FuLL NaME..-
Monday, May 10, 2004

If you want to program the keyboard controller directly in a non protected OS (like DOS) then find an old copy of Peter Norton's book on the PC, the keyboard controller hasn't changed all that much.

If you want to do it under Windows, then you either need to look at the virtual keyboard interface, your starting point is the Windows SDK and some standard help; or if you want to be at the device driver level the Device Driver Toolkit.

Similarly, if you want to do Serial I/O by programming the UART directly the same applies.

However, caution, caveat programmer and such, if you don't know how to do it, you probably don't need to do it at all.

Simon Lucy
Monday, May 10, 2004

> Top hit on googling for ps2 programming gives
> http://ps2dev.org/
> That seems to cover all the bases.

> Go to http://ps2dev.org/  and they will tell you
> sample with VC++
> you're welcome.

FYI ... ps2dev.org is about the Playstation 2, not PS/2. 

Immature programmer
Monday, May 10, 2004

hi ur answer is not enough
ur answer cant help me

bita
Tuesday, May 11, 2004

hhi

bita
Wednesday, May 19, 2004

*  Recent Topics

*  Fog Creek Home