AnsweredAssumed Answered

vrf HELP - PeekPoke death Screen - Typos.

Question asked by ashley on Feb 9, 2004
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><XETA http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><XETA content="MSHTML 6.00.2600.0" name="GENERATOR"><STYLE></STYLE><META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD><BODY bgColor=#ffffff><DIV><FONT face=Arial size=2>Hello Gerard,</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Thanks for the prompt reply and 1000 apologies for the typos in the title !! I was half asleep!!</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>This routine looks great and works fine with keyboard and does not give any errors if I change to #H201 (Joyport). I will have to now try on customers PC later. interestingly, my PC has no Joyport connector but it seems the hardware in there, possibly part of the onboard sound on the Motherboard. I am going to use this I think instead of PeekPoke</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>SHAWN -- What was wrong with the PeekPoke routine do you think? The only difference is the Win2K on the customers PC has Service Pack4. If I manually run LOADDRV /  io.config, I get a 'successful' message and I think the vee routine  (attached to last email) to GiveIO is also working OK. But if I try to read the port - disaster. I am using VEE 5.01</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Thanks again for you help,</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Ashley</FONT></DIV><BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>  <DIV   style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>   <A title=gerard.geurts@connectix.co.uk   href="mailto:gerard.geurts@connectix.co.uk">Gerard Geurts</A> </DIV>  <DIV style="FONT: 10pt arial"><B>To:</B> <A   title=ashley@smartsolutions.karoo.co.uk   href="mailto:ashley@smartsolutions.karoo.co.uk">Ashley Derrick</A> ; <A   title=vrf@agilent.com href="mailto:vrf@agilent.com">VRF</A> </DIV>  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 10, 2004 2:49   AM</DIV>  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [vrf] HELP - PeekPoke death   Screen</DIV>  <DIV><BR></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004>Ashley,</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=930513110-10022004>I   have never used the PeekPoke thing, looks way too complicated to   me.</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=930513110-10022004>Have   you considered using the Inpout32.dll which has been discussed on the VRF a   few times? Is said to work on 9x and NT based systems. I have attached an   example of a keystroke logger, which monitors port #H60 (the keyboard   port on my system). I have also used this DLL to access the system   speaker in my PC.</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=930513110-10022004>If   you change the address to your game port address it should give you what you   need, although I cannot try it since I don't have a joystick port on my   system.</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=930513110-10022004>To   avoid some of the recent problems with file attachments, I have added   .txt to the original name of the archive.</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004>Regards</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004>Gerard Geurts</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004>Connectix Ltd</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=930513110-10022004></SPAN></FONT> </DIV>  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma     size=2>-----Original Message-----<BR><B>From:</B> Ashley Derrick     [mailto:ashley@smartsolutions.karoo.co.uk]<BR><B>Sent:</B> Tuesday, 10     February 2004 18:08<BR><B>To:</B> VRF<BR><B>Subject:</B> [vrf] HELP -     PekkPoke daeth Screen<BR><BR></FONT></DIV>    <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>This is possibly one for SHAWN. I am reading     the 'standard' joystick port using peek-poke.</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>I did this using Win98 - dead easy. Then     with Win2k with great difficulty. But after help from SHAWN and others, it     worked OK.</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>I now have a customers PC but can't get it to     work. I get the dreaded screen of death error 974. My game port is at     address 0201 to 0206</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>The attached files are excerpts from the main     program..</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2><STRONG><U><FONT color=#ff0000>CAUTION DON'T     RUN UNLESS YOU UNDERSTAND PEEK POKE</FONT>.</U></STRONG></FONT></DIV>    <DIV><FONT face=Arial size=2><STRONG><U></U></STRONG></FONT> </DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>What am I doing wrong? Hope someone can     help.</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>Regards,</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>Ashley</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BLOCKQUOTE>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".<BR>Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!</BODY></HTML>  

Outcomes