 |
|
 |
hi,
Application error- Exception priviledged information error occur when executing the program in XP.
I am new to this domain and help me towrite it for XP
thanks and regards,
KSMH
|
|
|
|
 |
|
 |
for io in winxp you will need "winio"
WinIo - This library allows direct I/O port and physical memory access under Windows 9x/NT/2000 and XP. Version 2.0 provides faster I/O port access, better memory mapping support and can be used from non-administrative accounts under Windows NT/2000 and XP.
http://www.internals.com/utilities/winio.zip
|
|
|
|
 |
|
 |
i wanted to know what is address of supported CMOS????
How can i get it with (MFC) programatically.
-- modified at 23:36 Monday 15th January, 2007
-- modified at 23:39 Monday 15th January, 2007
Pavan
|
|
|
|
 |
|
 |
i'm sorry but, i'm new to all the things you're doing here, and to begin, i'd like to know (well defined preferently) WHAT is CMOS...
I also have to say that i'm too tired to google on this, and as i have an expert here, let's use its knowledge...
thank you
TOXCCT >>> GEII power
|
|
|
|
 |
|
 |
Heh, if you are too lazy to google on this then you definitely do not need to know the answer.
|
|
|
|
 |
|
|
 |
|
 |
As B.T. stated, this works under Win9x (don't people read?!). It seems only Hardware Eng/Computer Eng/Low Level Programmer will appreciate code that does only one thing in a specific enviornment. This code performs that one task, nothing more, nothing less. Great Job
|
|
|
|
 |
|
 |
Well I have to say that this wont work, but you can create a boot disk and from that boot disk run this code. NT, Win2k and XP will not want this code HAL Hardware Abstraction Layer will stop it before it even executes BTW you can du the same stuff with the debugger but I am not sure if debugger is shipped with NT, W2k or XP.
|
|
|
|
 |
|
 |
Hello,
Don't know if you already know but in Windows 'out/in' are privileged instructions and cannot be executed just from user mode code.
You would need a device driver in order to carry these instructions.
Regards,
Elias
|
|
|
|
 |
|
 |
Hello,
You are wrong there. _inp and _outp instructions are privileged instructions which should be coded in a device driver type module. But there are libraries available which could make them work in unprivileged mode. There are plenty of drivers there which would give you a Ring0 privilege with access to ports. If you just need to install those drivers these would work fine.
Regards,
Sreekanth Muralidharan
|
|
|
|
 |
|
 |
What will happen if i start this on my PC?
|
|
|
|
 |
|
 |
it will clear you password, successfully, if you uncomment that for(...) loop, it will clear all the bios values, after booting it will set to default values.
|
|
|
|
 |
|
 |
i started to boot my pc,but grrrrrrrrrrrrrrr..
|
|
|
|
 |
|
 |
Good article!, I find usefull write a new password from my app. Could one do? thanks..
|
|
|
|
 |
|
 |
How can I read the system's or processor's temperature?
|
|
|
|
 |
|
 |
I know this is not an easy question. There are many different chips that monitor this information and you need to know the correct parameters to get the correct output.
John
|
|
|
|
 |
|
 |
I have a nice and easy work-around for this:
Download Motherboard Monitor from http://mbm.livewiredev.com/
This is a program to display the information in you toolbar. They support mostly all the chipset.
They also have also copy all the information regarding your system to a shared memory location and they publish the structure on their web site under the Information \ Shared Memory page
This is just amazing
|
|
|
|
 |
|
 |
I have used it and it is a good tool but there are too many mobos that I have used it on where it gives me bogus results for temps and voltages so I tend to use the mobo's temp monitor if there is one...
John
|
|
|
|
 |
|
|
 |
|
 |
I think this article could do with some improvment. Firstly I really don't understand what you mean by CMOS - or rather it took a while to figure it out given you didn't tell us. After all isn't a PC made out of about 50 CMOS chips?! Presumably you mean writing values into the BIOS config or somthing? So is there any danger doing this - I'd imaging that if it really does work it could screw things up really badly, especially when you clear the first 256 entries of data! As for outp - I thing windows XP & NT protect CMOS against functions like that: it could so easily be abused by viruses.
*¨¨`)
¸¸.·´ ¸.·*¨¨`)
(¸¸.·* ¸ .·*
¸¸.·*
(¸¸.~~> Joel Holdsworth.
|
|
|
|
 |
|
 |
_outp is a privileged instruction and can not be used in windows NT4.0+(2K, XP, 2003) unless it is in a device driver so this will not work for most people.
John
|
|
|
|
 |