flat assembler
Message board for the users of flat assembler.

Index > Windows > reading / displaying gameport pins.

Author
Thread Post new topic Reply to topic
adnimo



Joined: 18 Jul 2008
Posts: 49
adnimo 12 Jul 2009, 10:45
I'd like to debug an adapter I'm working on but for this I'd need to view on screen the status, etc. of each pin in the game-port.

I managed to do this with the parallel port, which seemed quite hard in XP so I ended up using a dll that handles it on a driver-level. However, I couldn't find a similar library for the gameport.

Ideas?

I guess I could build a hardware based "debugger" (with LEDs for instance) but I'm trying to avoid this.

PS: How would one go about sending joystick input through code?. I guess this could only work if I went to the lowest level possible... Are there any debugging drivers for the gameport?. In an ideal world I would use USB and worry about other issues of my project, but USB interfaces aren't cheap where I'm from.
Post 12 Jul 2009, 10:45
View user's profile Send private message Reply with quote
adnimo



Joined: 18 Jul 2008
Posts: 49
adnimo 12 Jul 2009, 10:49
I forgot to mention, is there any application for displaying the pins from the parallel port? mine sucks badly (it's console based, not graphical at all due to my limited artistic skills)
Post 12 Jul 2009, 10:49
View user's profile Send private message Reply with quote
adnimo



Joined: 18 Jul 2008
Posts: 49
adnimo 12 Jul 2009, 10:54
This answers my second request: http://neil.fraser.name/software/lpt/
Post 12 Jul 2009, 10:54
View user's profile Send private message Reply with quote
adnimo



Joined: 18 Jul 2008
Posts: 49
adnimo 12 Jul 2009, 11:08
This could answer my first, partially: http://www.epanorama.net/documents/joystick/joytest.zip
Post 12 Jul 2009, 11:08
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.