| | |
Addres problem
Thread Solved
![]() |
•
•
Join Date: Nov 2007
Posts: 290
Reputation:
Solved Threads: 7
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.
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.
>>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.
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.
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.
- 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.
•
•
Join Date: Dec 2007
Posts: 4
Reputation:
Solved Threads: 1
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
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
![]() |
Similar Threads
- setting up linksys router ip problem (Networking Hardware Configuration)
- Help! Getting an IP address but NO interntet connection. (Networking Hardware Configuration)
- Unreleaseable Private Addres on Wireless (Networking Hardware Configuration)
- Unable to browse with IE or Firefox in home wireless network (Networking Hardware Configuration)
- Just loaded Mac OS X and can't (OS X)
- CommonNames problem (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: IOS ::binary
- Next Thread: compile cppunit using a makefile
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ char class classes classified code coding compatible compile console conversion count date delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file filewrite forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper homeworksolutions iamthwee icon if...else ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node object output play pointer problem program programming project python random read recursion reference rpg string strings struct symbol temperature template test text text-file toolkit tree url values variable vector video win32 windows winsock wordfrequency wxwidgets






