Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

ring0

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 03-13-02, 07:13 PM Thread Starter   #1
Bmxpunk86pl
Member

 
Bmxpunk86pl's Avatar 

Join Date: Sep 2001
Location: CT/Poland

 
ring0


hey i need to get ring0 to use hardware in C++ right, so how do i get it? Whats the code for it? any guides or readings on this?

thanks,
adam
Bmxpunk86pl is offline   QUOTE Thanks
Old 03-14-02, 01:36 AM   #2
XWRed1
Senior Member

 
XWRed1's Avatar 

Join Date: Oct 2001

 
Uhh.... I think that if you run code in ring 0, then you are running in kernel space, which is usually a no-no unless you are writing a device driver or an operating system.

I'm guessing that whatever you want to do can be accomplished through a safe means via the OS. What exactly do you want to do?
XWRed1 is offline   QUOTE Thanks
Old 03-14-02, 06:47 AM   #3
ButcherUK
Member



Join Date: Nov 2001
Location: York, UK

 
On a modern OS ring 0 requires a kernel mode driver. If you really need this you'll have to find info on writing drivers for your OS of choice. Windows you can find the DDK (driver dev kit) on MS' website.
ButcherUK is offline   QUOTE Thanks
Old 03-14-02, 05:39 PM Thread Starter   #4
Bmxpunk86pl
Member

 
Bmxpunk86pl's Avatar 

Join Date: Sep 2001
Location: CT/Poland

 
no i just had a question thats all. thanks for ur help!! alright but i got a nother question: What the stl in c++ cuz i have been looking for alot of guides on the net for like advanced programming and i was wondering what the STL is.

thanks!!
Bmxpunk86pl is offline   QUOTE Thanks
Old 03-14-02, 06:26 PM   #5
XWRed1
Senior Member

 
XWRed1's Avatar 

Join Date: Oct 2001

 
Standard Template Library. IIRC, its a set of headers that define some more advanced data types than the basic primitives provided by C/C++, and most people use it when they need those types.
XWRed1 is offline   QUOTE Thanks
Old 03-14-02, 06:43 PM   #6
ButcherUK
Member



Join Date: Nov 2001
Location: York, UK

 
Also provides some handy algorithms such as sorting and searching etc.
All of STL works with any type of data (almost).
ButcherUK is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 01:06 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?