|
Geek123 on 02/05/10 - 01:49:00
hey does any one know how to read the CPU temperature through Qbasic/freebasic?? Or does any such library exist??
Todd on 02/05/10 - 22:11:42
I think you might've hit a dead end. I don't think there is such a library in QB.
There is probably some interrupt that can read that type of CPU info and send it back in the registers. You could do it in QB with a CALL INTERRUPT. Or you could cheat and write a small Windows program to read it out and then have the QB function call it and read the output from it. I know some motherboard manufacturers like ASUS write their own library for reading data like CPU temperature.
Geek123 on 02/06/10 - 01:01:55
Do you know of any library which can be used???
Geek123 on 02/06/10 - 01:03:48
i mean a 32-bit dll or sumthin.......
Todd on 02/06/10 - 09:16:16
Geek123 on 02/06/10 - 10:46:26
Thanks..... :)
Geek123 on 02/09/10 - 00:34:06
it ain't workin.......
Geek123 on 02/09/10 - 00:40:07
hey can you gimme the interrupt that I'd have to call so as to get teh CPU temperature in QBasic....
Todd on 02/09/10 - 16:30:36
I'm not sure what it is. Most CPU instruction sets do not have that interrupt easily provided and usually can be found in a CPU instruction manual or spec sheet (on the CPU manufacturer's website).
I did look up an interrupt on Ralf Brown's list and found this: http://www.delorie.com/djgpp/doc/rbinter/ix/15/8B.html I don't know if it'll work (since it mentions temperature for a "charger") but it's the only temperature-related interrupt I could find.
Geek123 on 02/11/10 - 12:04:49
I even tried using IBM DSA tool and Core Temp.... bt none seem 2 support my P4 processor..... :(
Todd on 02/11/10 - 16:20:39
What kind of P4 is it? You can use CPU-Z to find the CPU model ID and then search to see if a temperature reader exists for it.
Geek123 on 02/12/10 - 03:52:41
My problem is that I need to create a program that works not only on mine but on all systems....
Todd on 02/12/10 - 15:48:34
Not all systems have CPU temperature sensors. If you use this one program called "CPU Thermometer" it will detect CPU temperature if such a sensor exists. I have a P4 computer and it has no core temp sensor.
Geek123 on 02/13/10 - 08:17:57
myn has a temp sensor coz the BIOS shows the system zone temperature...... try checkin out your BIOS as wel..
Todd on 02/14/10 - 15:00:12
So you have read your CPU temp before on your P4? If you haven't, try this: http://www.cputhermometer.com/. It will let you know the CPU temperature and tell you if Windows can find your CPU temperature sensor.
Geek123 on 02/14/10 - 23:58:01
I've read it many times through the BIOS but have never managed to get it thru windows......
Todd on 02/15/10 - 17:34:16
Where do you see it in your BIOS? Mine is a P4 and does not have anything like that.
Geek123 on 02/17/10 - 00:42:24
It can be found in the hardware monitoring option under the 'advanced' menu. My BIOS shows the Cpu core temperature along with sum system zone temp(I dunno wt tht is)... It also shows my CPU fan speed and the SMPS voltages......
Geek123 on 02/17/10 - 23:53:48
I've assembled it.... I use an Intel Chipset....
Geek123 on 02/18/10 - 23:35:30
an Intel 845GVHZ if I'm nt wrong....
Todd on 02/20/10 - 17:28:26
I wasn't able to find any information or drivers to check the temperature in Windows. Did you try CPU Thermometer to see if it works? Because if it does, then it means Windows is set up and enabled to access your temp reader.
Geek123 on 02/21/10 - 05:45:29
i'm nt et al abl 2 use CPU thermometer.....
Todd on 02/21/10 - 09:26:08
Reply to this message
Unfortunately I couldn't find any drivers for your motherboard model so I'm guessing maybe the temperature sensor is more of an internal thing in the BIOS for detecting shut-off points when the temp gets too high.
|
|