Hang when writting in VRAM

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
chiwaw
Posts: 15
Joined: Sun Jul 24, 2005 7:12 am

Hang when writting in VRAM

Post by chiwaw »

Apparently, if I write too much U16 in VRAM, at some point the system hang. Should I write my data using cached or non-cached transfert ? Is there anything I need to know when dumping lots of data in VRAM ?

Any tip more than welcome !
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

Non-cached.
And how much are you writing? It's only 2MB, you know.
chiwaw
Posts: 15
Joined: Sun Jul 24, 2005 7:12 am

Post by chiwaw »

Ok thanks to some clever ASSERTs, I figured that my bug came from the source buffer and not from the VRAM target.

Anyway, I'll take the occasion to ask more details on cached/non-cached transferts to VRAM. What's the big differences between the two ? And is the only thing I need to do for non-cached access is to use the 0x44000000 address ?
Post Reply