Addres problem

Thread Solved
Reply

Join Date: Nov 2007
Posts: 290
Reputation: kv79 is an unknown quantity at this point 
Solved Threads: 7
kv79 kv79 is offline Offline
Posting Whiz in Training

Addres problem

 
0
  #1
Dec 2nd, 2007
Hi to all,
I have Windows XP professional SP2 and Dev-C++ and
when i go to the Device Manager -> Keyboard-> Resources i see
I/O Range 0064-0060
and the ports have also addres.
And all other things wich have addres.
My question is ,is it really addres or i am wrong informed and if it addres how to use in Dev-C++?is it possible?
Woud you be so good man and share information with me?
If you have any contact how to use these resource for me you will be the man who i respect .
Anyway if you do not help me thank you for your effort to read my message.
Last edited by kv79; Dec 2nd, 2007 at 8:25 am.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 15,955
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 504
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Addres problem

 
0
  #2
Dec 2nd, 2007
you make no sense
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster
Join Date: Nov 2007
Posts: 290
Reputation: kv79 is an unknown quantity at this point 
Solved Threads: 7
kv79 kv79 is offline Offline
Posting Whiz in Training

Re: Addres problem

 
0
  #4
Dec 2nd, 2007
What have no sence ?Be special.
I do not understand.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,142
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1434
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: Addres problem

 
0
  #5
Dec 2nd, 2007
>>My question is ,is it really addres or i am wrong informed and if it addres how to use in Dev-C++?is it possible?

Yes, as far as I know, those are the actual memory address. You can not access them directly with any 32-bit compiler unless you write your own device driver as Vijayan posted.

What is it that you want to do? There is probably another way to do it without accessing actual memory locations.
Last edited by Ancient Dragon; Dec 2nd, 2007 at 9:55 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 290
Reputation: kv79 is an unknown quantity at this point 
Solved Threads: 7
kv79 kv79 is offline Offline
Posting Whiz in Training

Re: Addres problem

 
0
  #6
Dec 2nd, 2007
I want to controle some robot from my computer port eg. (crane).
But if i do not use Dev-C++ then i need to learn another program witch i won't.Because takes time to learn.
And i want to command from Win App.
What to do then?
Last edited by kv79; Dec 2nd, 2007 at 3:54 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,851
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Addres problem

 
0
  #7
Dec 2nd, 2007
So what 'port' is your robot plugged into?
- Serial
- Parallel
- USB

> My question is ,is it really addres or i am wrong informed
All x86 processors have a large amount of memory address space (where your program runs from), and 64K of I/O space (where all the attached devices live).
In all modern operating systems like XP, direct access to the I/O space is not allowed, as any incorrect use of the hardware can seriously compromise the machine.

Under normal circumstances, to access the hardware you would have to go via one of the standard drivers which come with the OS. So, if you're using a standard interface, a lot of the basic stuff is already done for you.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 4
Reputation: boB_K7IQ is an unknown quantity at this point 
Solved Threads: 1
boB_K7IQ boB_K7IQ is offline Offline
Newbie Poster

Re: Addres problem

 
0
  #8
Dec 2nd, 2007
Those are not memory address locations ,but I/O Port addresses
used for external hardware control, which is what you are
looking for. If you are using a regular old intel type X86 or Pentium
type PC, you will need to do some wiring OR buy an I/O module
that plugs into the PC so you can control your robot. Depending on
how many hardware pins you need, you may be able to use a printer
port or a USB I/O "black box" device that allows you to control
motors and lights and things. In fact, I believe there is a company
called Black box that offers such things. Use Google for that kind of search.

To see how these I/O ports actually work, you would need to go to intel.com or
AMD or download a data sheet or users manual on the processor you
are working with.

boB
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 290
Reputation: kv79 is an unknown quantity at this point 
Solved Threads: 7
kv79 kv79 is offline Offline
Posting Whiz in Training

Re: Addres problem

 
0
  #9
Dec 2nd, 2007
I thought it was possible from Dev-C++ directly but anyway i need to pay them what is not a option.
Thank you for you efort.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,851
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Addres problem

 
0
  #10
Dec 3rd, 2007
That's it?
You're not going to even tell us a little bit of how your robot is attached to your PC?
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC