Some C# fun

Over the long weekend I decided to try out Visual Studio 2010 by working on some stuff for work.

First, a hex memory viewer, which will later become an editor. I’m using a fixed width font, however it’s still very complicated to figure out where stuff needs to be drawn. The grey lines are what I’ve calculated for future hit testing, which currently are a little hacky but seem to line up well enough. As a viewer this is pretty much complete.

image

And secondly a memory read/write heat map. Writes are red, reads are green, and their brightness indicates how recent they were. This still needs a lot of work, I have to figure out how to lay it out and make it zoom-able, and I want to print memory addresses down the left similar to the hex view. The picture here is 16k of memory (128×128 2×2 squares).

image

This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Some C# fun

  1. Manu says:

    This may be the most awesome thing I’ve ever seen!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>