flat assembler
Message board for the users of flat assembler.

Index > DOS > POWERNOW DOS DRIVER ALPHA RELEASE AMD 64 M 3400+

Author
Thread Post new topic Reply to topic
agivney



Joined: 05 May 2005
Posts: 16
agivney
Just letting you know, we have written a basic powernow driver, which works in dos, for reducing the voltage, frequency of CPU (only works on M 3400+ at this stage).This is great for laptops, which cannot really be run in DOS mode, since they trip out if they have a powerful CPU. This is in its early stages, but works very well. Please check out the Assembler Slobs site for source and binary (com).

http://www.geocities.com/agivney

We hope to implement support for all powernow cpu's in dos, with the ability to set the frequency to what you wish. The code is still rough (Please ignore the sleep function; it is a complete joke), and written in such a way that it is VERY easy to change for your own processor. Optimisations are not necessary, as the code is run once. This code is a very simple implimentation of the K8 Linux powernow driver. Please read the site for more details. Wink
Post 23 May 2005, 11:29
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
DOS on a k8? What's the point? Smile
Post 23 May 2005, 15:51
View user's profile Send private message Visit poster's website Reply with quote
agivney



Joined: 05 May 2005
Posts: 16
agivney
The point for me, especially from an assembly language standpoint, I would prefer to have an option for programing other than Windows and Linux. This same driver should be able to be implemented in Menuet operating for instance (Kernel), yet without being able to powerdown the cpu, Menuet cannot be run for long on a K8 laptop. Also, I like programing in Dos. Before I could not, now I can. Dos does not mean using Dos, it means a system already provided to build upon, where privilage level system cpu commands can be used, e.g wrmsr,hlt, etc (Fat32 file system, mouse,etc). I plan to write a usb driver next, and hopefully begin work on the beginnings of an operating system (purely for knowledge sake). The driver enable me to do this. That is why I felt it was important to write this. Shocked
Post 24 May 2005, 01:57
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
And some people (like me, too) just love DOS enough to want to run it anywhere. Wink
Post 24 May 2005, 08:52
View user's profile Send private message Visit poster's website Reply with quote
agivney



Joined: 05 May 2005
Posts: 16
agivney
Thanks Privalov for the positive comment! Very Happy Just letting you know, I included the code (less the dos exit function) in the Menuet Kernel, and it works great!! No more noise and overheating!When I get time, I will paste the source kernel and full menuet image with Powernow support on my website. Thanks
Post 24 May 2005, 09:50
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
I've found a mistake in your source: you should not put "use32" in the beginning when you want to run it from pure DOS. However your .com file contains instructions correctly assembled for 16-bit mode - perhaps you've added the "use32" keyword later?
Also, something like "times 320 nop" might have been more handy for both writer and reader. Wink
Post 24 May 2005, 10:01
View user's profile Send private message Visit poster's website Reply with quote
agivney



Joined: 05 May 2005
Posts: 16
agivney
The changes you suggested have been implemented, and the code on the website updated. Cool Thank you for your advice, I need it.
Post 24 May 2005, 11:36
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
agivney & Privalor, i like you's like a Dos like environment, but to get over the limits of Dos, i and a group of other programmers are making a 32bit pmode Dos like OS, there even some one in the group making a usb driver for the OS, we are all learning as we go, so the code is not the most efficient or smalist asm code, but it runs and does the job well.


Last edited by Dex4u on 02 Jun 2005, 18:39; edited 1 time in total
Post 24 May 2005, 17:17
View user's profile Send private message Reply with quote
agivney



Joined: 05 May 2005
Posts: 16
agivney
I will definitely look over the source code. Thanks for the tip. I have just started researching for the writing a USB driver (Downloaded linux usb driver source , usb specification documents etc), so it is great that someone else is having a go. When I look over the code i will be touch. Very Happy
Post 25 May 2005, 01:46
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Here our forum http://dex.7.forumer.com/
and tonyMac is the programmer working on the USB, here his web site: http://tonymac.asmhackers.net/

Here are some good links for USB for dos:
http://people.freenet.de/dieterp/main.htm
http://www.frontiernet.net/~fys/usb.htm

Hope these help Smile.
Post 25 May 2005, 15:38
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.