• Welcome to Valhalla Legends Archive.
 

GPU Memory Map?

Started by Mad_DadD, November 24, 2006, 08:45 PM

Previous topic - Next topic

Mad_DadD

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?

Joe[x86]

Quote from: Mad_DadD on November 24, 2006, 08:45 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.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

MyndFyre

Quote from: Joex86] link=topic=16075.msg161813#msg161813 date=1164539424]
Quote from: Mad_DadD on November 24, 2006, 08:45 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.
QuoteEvery 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?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

TheMinistered

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.

brew

#4
Quote from: Mad_DadD on November 24, 2006, 08:45 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.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P