Re: [Free60-Devel] RE: Shaders ?

2005-12-28 Thread Bobby Bingham
On Thu, 29 Dec 2005 02:42:52 +0100
Arne Olav [EMAIL PROTECTED] wrote:

  The Demo Disc containing  king kong, has all it's vector 
  shaders source code
  + vector source code compiled on the disc.
  
  It looks like it is loading them.
 
 Isn't this huge news? I read up on the Xenos graphics processor in
 this article
 ( http://www.beyond3d.com/articles/xenos/index.php?p=10 ): In simple
 terms the MEMEXPORT function is a method by which Xenos can push and
 pull vectorised data directly to and from system RAM.
 
 If the data containing the shaders for the king kong demo isn't signed
 (which it isn't if it's not inside the executables?) it could be
 modified to use the MEMEXPORT instruction to read and write anything
 to the xbox 360's unified memory and output information to the screen.

It may be possible, assuming the executable doesn't check the shader's
hash before loading it.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
free60-devel mailing list
free60-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/free60-devel


Re: [Free60-Devel] RE: Shaders ?

2005-12-28 Thread Cody Brocious
On 12/28/05, Bobby Bingham [EMAIL PROTECTED] wrote:
 On Thu, 29 Dec 2005 02:42:52 +0100
 Arne Olav [EMAIL PROTECTED] wrote:

   The Demo Disc containing  king kong, has all it's vector
   shaders source code
   + vector source code compiled on the disc.
  
   It looks like it is loading them.
 
  Isn't this huge news? I read up on the Xenos graphics processor in
  this article
  ( http://www.beyond3d.com/articles/xenos/index.php?p=10 ): In simple
  terms the MEMEXPORT function is a method by which Xenos can push and
  pull vectorised data directly to and from system RAM.
 
  If the data containing the shaders for the king kong demo isn't signed
  (which it isn't if it's not inside the executables?) it could be
  modified to use the MEMEXPORT instruction to read and write anything
  to the xbox 360's unified memory and output information to the screen.

 It may be possible, assuming the executable doesn't check the shader's
 hash before loading it.

It also must be considered that it may not go through the hypervisor,
and thus would give you the encrypted memory (as if you were reading
it straight off the chips)

- Cody

--
Not all martyrs see divinity, but at least you tried.
- Maynard James Keenan - Tool -  Eulogy

But if I expire today, let it be in sight of thee.
- Emily Dickinson


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
free60-devel mailing list
free60-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/free60-devel


RE: [Free60-Devel] RE: Shaders ?

2005-12-28 Thread tser
The final version of king kong still has this shader directory,with a binary
inside, which contains several shaders.

It does not longer contain the .hsl file though, but looking inside the .bin
file, it looks like it is clearable reading there.


According to the reference model of shader languages,  shaders can contain
array of variables, like ints.

Technically that sounds like, creating a array of say 2, and trying to see
what will happen if you touch position [3]

I got my direct X December 2005 sdk (legally, downloadable at
msdn.microsoft.com) which contains the correct high level shader compiler.

continues digging :

i am trying to figure out 3 things here
- one, is it possible at all to mess with the shaders  (simple replace blue
water by red water)
- two is it possible, to read from any memory location at all ,using an
array overrun
- Three is it possible to write to that memory also 

one would be fun to have 
two would really be useful, but i doubt if the gpu has no overrun protection
and three sounds currently to  impossible to believe for myself



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
free60-devel mailing list
free60-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/free60-devel