CEMETECH
Leading The Way To The Future
   
Login [Register]
Username:
Password:
Autologin:
Latest Headlines
Online Users
There are a total of 52 users online: 6 members, 32 guests and 14 bots.
Members: comicIDIOT, IRC, KermMartian, merthsoft, redsoxfan, tifreak8x.
Bots: Googlebot (2), Yahoo! Slurp (2), Baidu (8), MSN/Bing (2).
RSS Feeds
[RSS] News Headlines
[RSS] Latest Posts
SAX
You must log in to view the SAX chat widget
BranchMap Beta 1
Published by KermMartian on September 17, 2009 at 2:08:01 AM CST | Discuss this article (18)

After a bit over a week of heavy-duty Python coding, I'm ready to unveil the first beta of BranchMap, a tool to simplify tracing and debugging program flow in z80 ASM source code. It takes in a plaintext z80 source file, parses it and any files included in that source file, and generates a postscript or (optionally) PDF file containing a detailed representation of the program flow. It can do all of the following and more:

:: Displays all files, labels, and jumps in source file(s)
:: Tracks and tries to determine stack depth of all instructions. Looks for unreachable blocks.
:: Displays easy-to-read color-coded cross-file call/jump references
:: Can optionally track calls and bcalls
:: Can optionally graphically track intra-routine stack manipulation
:: Easy-to-use PS/PDF output files

I've used it pretty thoroughly, testing everything from simple contrived source to Invalid Tangram to the monstrous behemoth that is Doors CS 7-in-progress. Doors CS has the most strange and tricky code, and hence had the most strange interpretations of nonstandard code, but even within the 108-page summary it produced there was a ton of useful information that I will be using to help me develop and debug faster. I humbly request that you give this little program a download, run branchmap.py -h to see what you can do, and try out some of your own z80 ASM programs on it. I look forward to all your comments, criticisms, feedback, suggestions, bug reports, and feature requests.

BranchMap Beta 1 (Direct Download)



Permalink |
News Archives Index
2003 2003 [View All]

» January (1)
» March (5)
» April (3)
» May (3)
» June (4)
» July (2)
» August (1)
» September (4)
» December (1)
2004 2004 [View All]

» January (3)
» February (4)
» March (4)
» April (3)
» May (5)
» June (9)
» July (5)
» August (2)
» September (7)
» October (5)
» November (2)
» December (3)
2005 2005 [View All]

» January (8)
» February (4)
» March (4)
» April (15)
» May (21)
» June (20)
» July (6)
» August (8)
» September (10)
» October (12)
» November (12)
» December (8)
2006 2006 [View All]

» January (7)
» February (4)
» March (5)
» April (3)
» May (4)
» June (4)
» July (13)
» August (6)
» September (7)
» October (10)
» November (6)
» December (9)
2007 2007 [View All]

» January (5)
» February (6)
» March (6)
» April (5)
» May (2)
» June (8)
» September (5)
» October (1)
» November (1)
2008 2008 [View All]

» January (2)
» March (3)
» April (2)
» May (3)
» June (3)
» July (1)
» September (1)
» November (1)
2009 2009 [View All]

» January (3)
» February (2)
» March (2)
» April (3)
» May (2)
» June (1)
» July (3)
» August (1)
» September (4)
» October (2)
» December (2)
2010 2010 [View All]

» January (6)
» February (2)
» March (1)
» April (4)
» May (6)
» June (7)
» July (6)
» August (8)
» September (2)


© Copyright 2000-2010 Cemetech & Kerm Martian :: Page Execution Time: 0.057215 seconds.