MemGraph Tool v1.1
MemGraph Tool v1.1
Hi, I'm new to the forums, but I not to OS programming.
Yesterday I was bored and decided to check my 4 years old microkernel and OS (sartoris Microkernel), and as I did I found out I couldn't follow how memory was layed out. In order to help me do it I've created a simple application on which you can input memory ranges with names, and it'll create a memory image as the one attached.
It's really a simple application, and I won't be updating it probably, but I thought it might help other OS developers and decided to post it.
The application requires .NET Framework 2.0 to run.
Let's hope someone find's it useful.
Nico.
Version 1.1 Changes:
- You can now place one break on the memory image. A break will hide that portion of the image.
- New Center button. Will center the start address of the selected region on the drawing.
- Small Bugfixes.
Version 1.0 Changes:
- Now horizontal layout can be selected.
- Full image save has been removed.
- "Save Image" option now will save the complete memory drawing, if the upper part is visible, and memory height is bigger than the image.
Version 0.3. Changes are:
- Added scroll to the memory regions list.
- Now memory can be moved in any direction.
- You can now specify the memory region Height on the drawing.
Version 0.2. Changes are:
- Fixed anoying bugs (mostly when viewing the memory).
- Now the window can be Resized.
- Dragging the Memory image to the sides will move it.
- x64 memory values should be supported now.
- Now the clear button only clears the memory being displayed.
I've also uploaded the sources which I place on the Public domain. In case anyone wants to use them.
Yesterday I was bored and decided to check my 4 years old microkernel and OS (sartoris Microkernel), and as I did I found out I couldn't follow how memory was layed out. In order to help me do it I've created a simple application on which you can input memory ranges with names, and it'll create a memory image as the one attached.
It's really a simple application, and I won't be updating it probably, but I thought it might help other OS developers and decided to post it.
The application requires .NET Framework 2.0 to run.
Let's hope someone find's it useful.
Nico.
Version 1.1 Changes:
- You can now place one break on the memory image. A break will hide that portion of the image.
- New Center button. Will center the start address of the selected region on the drawing.
- Small Bugfixes.
Version 1.0 Changes:
- Now horizontal layout can be selected.
- Full image save has been removed.
- "Save Image" option now will save the complete memory drawing, if the upper part is visible, and memory height is bigger than the image.
Version 0.3. Changes are:
- Added scroll to the memory regions list.
- Now memory can be moved in any direction.
- You can now specify the memory region Height on the drawing.
Version 0.2. Changes are:
- Fixed anoying bugs (mostly when viewing the memory).
- Now the window can be Resized.
- Dragging the Memory image to the sides will move it.
- x64 memory values should be supported now.
- Now the clear button only clears the memory being displayed.
I've also uploaded the sources which I place on the Public domain. In case anyone wants to use them.
- Attachments
-
- MemGraph-v1.1.zip
- (14.11 KiB) Downloaded 102 times
-
- MemGraph-src.zip
- (18.44 KiB) Downloaded 69 times
Last edited by nicodega on Sun Aug 15, 2010 6:39 pm, edited 13 times in total.
- thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
- Contact:
Re: MemGraph (don't get lost on the memory layout of your OS
It looks like quite a useful tool, just needs a bit of polish.
When I tried to open it on my laptop (running at 1024x768) it didn't resize the window correctly and hence the Colour and range end controls were unusable. Also, it would be nice if it supported 64-bit addresses (it shouldn't be too hard to add those).
When I tried to open it on my laptop (running at 1024x768) it didn't resize the window correctly and hence the Colour and range end controls were unusable. Also, it would be nice if it supported 64-bit addresses (it shouldn't be too hard to add those).
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Re: MemGraph (don't get lost on the memory layout of your OS
It really is an app to help me see the memory layout better, it has no resize code and probably won't have.thepowersgang wrote:It looks like quite a useful tool, just needs a bit of polish.
When I tried to open it on my laptop (running at 1024x768) it didn't resize the window correctly and hence the Colour and range end controls were unusable. Also, it would be nice if it supported 64-bit addresses (it shouldn't be too hard to add those).
Maybe I'll change it to support 64bits (I should use longs instead of ints).
This is the source code, I place it on the public domain.
Re: MemGraph (don't get lost on the memory layout!) V0.2
I've uploaded a new version.
Re: MemGraph (don't get lost on the memory layout!) V0.2
Nice! Now I can say goodbye to my draws on paper This will be surely better.
Re: MemGraph (don't get lost on the memory layout!) V0.2
Is there any license or copyright related to the 'works' we can produce with it (I assume not, but it's always nice to make sure)?
Also, a feature suggestion: Maybe you could implement a second, horizontal lay-out (for in case people want a horizontal bar rather than a vertical one). Rotating the vertical bar works, but it might be handier to have the labels horizontal as well instead of vertically 'perpendicular' to the horizontal bar.
Third note: If I press 'Add' with no values in the fields, it says "Error en campos" .
Also, a feature suggestion: Maybe you could implement a second, horizontal lay-out (for in case people want a horizontal bar rather than a vertical one). Rotating the vertical bar works, but it might be handier to have the labels horizontal as well instead of vertically 'perpendicular' to the horizontal bar.
Third note: If I press 'Add' with no values in the fields, it says "Error en campos" .
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Re: MemGraph (don't get lost on the memory layout!) V0.2
Haha I'm from Argentina, my native tonge is spanish (I've changed the error message now and uploaded the zip again).Creature wrote:Is there any license or copyright related to the 'works' we can produce with it (I assume not, but it's always nice to make sure)?
Also, a feature suggestion: Maybe you could implement a second, horizontal lay-out (for in case people want a horizontal bar rather than a vertical one). Rotating the vertical bar works, but it might be handier to have the labels horizontal as well instead of vertically 'perpendicular' to the horizontal bar.
Third note: If I press 'Add' with no values in the fields, it says "Error en campos" .
I've also uploaded the sources, in case anyone wants to modify it.. you can do as you please with them since I'm releasing them to the public domain.
Oh and you can also do what you want with the images/files generated with the app.
Re: MemGraph Tool V0.3
Or Solar's PDCLib licence.berkus wrote:There is no public domain in some countries, like Germany. Releasing under a non-restrictive non-sticky license like BSD, MIT X11 or BOOST license might be a better idea. JFYI.
Re: MemGraph Tool V0.3
Truth is I really don't care what anyone might do with the code. It's not a tool I've developed and I'm proud of it, but a tool I developed for myself, and thought I could share.berkus wrote:There is no public domain in some countries, like Germany. Releasing under a non-restrictive non-sticky license like BSD, MIT X11 or BOOST license might be a better idea. JFYI.
BTW, there's a new version (this is probably the last one).
Re: MemGraph Tool V0.3
I prefer WTFPL. It's really freeberkus wrote:There is no public domain in some countries, like Germany. Releasing under a non-restrictive non-sticky license like BSD, MIT X11 or BOOST license might be a better idea. JFYI.
P.S The app is great! Thanks!
- Owen
- Member
- Posts: 1700
- Joined: Fri Jun 13, 2008 3:21 pm
- Location: Cambridge, United Kingdom
- Contact:
Re: MemGraph Tool V0.3
Doesn't matter. He lives in a country which recognizes PD and PDs it? Its public domain.berkus wrote:There is no public domain in some countries, like Germany. Releasing under a non-restrictive non-sticky license like BSD, MIT X11 or BOOST license might be a better idea. JFYI.
Rule of the shorter term applies
Re: MemGraph Tool V0.3
Hm... this is a very useful tool. Keep up the good work. If one day I write some informations about internals of my OS,
I could use this tool to describe the (complex) memory map .
I could use this tool to describe the (complex) memory map .
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa