Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2010, 07:27 pm
Home | Help | Search | Calendar | Login | Register

Valhalla Legends Forum  |  Programming  |  Advanced Programming  |  Topic: GPU Memory Map?
« previous next »
Pages: [1] Print
Author Topic: GPU Memory Map?  (Read 2413 times)
Mad_DadD
Slave

Offline

Posts: 4

I am a Yeti

View Profile
« on: November 24, 2006, 08:45 pm »

How do I obtain the memory map for the GeForce Nvidia 7600 GT SLI Delux?

Also, how do I apply a 64 bit entry into a memory location?
Logged
Joe[x86]
King
*****
Offline

Posts: 2745


Emergency Programmer Hologram

View Profile WWW
« Reply #1 on: November 26, 2006, 05:10 am »

Also, how do I apply a 64 bit entry into a memory location?

Put the first four bytes in a 32bit location as usual. The second set of four bytes should be << 4'd and put into the location 32bit's to the right.
Logged
that made me feel like a total idiot. this entire thing was useless.
MyndFyre
[vL]
King
*****
Offline

Posts: 4747


The wait is over.

View Profile WWW
« Reply #2 on: November 26, 2006, 03:21 pm »

Also, how do I apply a 64 bit entry into a memory location?

Put the first four bytes in a 32bit location as usual. The second set of four bytes should be << 4'd and put into the location 32bit's to the right.
I'm pretty sure a bitwise shift of four will not produce the desired result.
Logged
Quote
Every generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

MyndFyre.747 on Battle.net 2.0

You've just located global warming.
TheMinistered
Warrior
**
Offline

Posts: 347


AHHH. Donuts. What can't they do!?!

View Profile
« Reply #3 on: December 30, 2006, 04:27 pm »

The GPU probably has a set of instructions for dealing with 64bit operations.  You should read the manual for the GPU.  Its basically a processor, just like the FPU and CPU.  The FPU has its own set of instructions, etc fldz being one (load zero on stack).   So does the GPU.
Logged
brew
Hearthman
****
Offline

Posts: 1018


View Profile
« Reply #4 on: March 21, 2010, 07:08 pm »

How do I obtain the memory map for the GeForce Nvidia 7600 GT SLI Delux?


You could either read the ACPI MCFG table (preferred) or reading from ports 0xCF8 and 0xCFC as described here (ugly) to get your card's configuration space. This is even simpler with Microsoft Windows 2000 and later; send an IRP_MJ_PNP packet to the PCI bus driver. Check out this link for an example.
From there, you should be able to determine the base addresses of all regions of your card, provided you have sufficient documentation. Since you're asking about nVidia, your best bet would be figure out the structure via RCEing the driver for your card.
« Last Edit: March 21, 2010, 07:10 pm by brew » Logged
<3 Zorm
Quote
[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P
Pages: [1] Print 
Valhalla Legends Forum  |  Programming  |  Advanced Programming  |  Topic: GPU Memory Map? « previous next »
 


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.136 seconds with 14 queries.