CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 112 users online: 6 members, 81 guests and 25 bots.
Members: Ashbad, flyingfisch, hellninjas, LuxenD, shkaboinka, willwac.
Bots: Spinn3r (2), Magpie Crawler (4), Googlebot (18), MSN/Bing (1).
RSS & Social Media
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
2009 Articles
January 2009 January 2009 [Back to News Archives Index]

» File Updates Added to Archives published January 10, 2009 by KermMartian
» Cemetech Contest #6 published January 12, 2009 by KermMartian
» DHCPgen Beta 1 Released published January 18, 2009 by KermMartian

February 2009 February 2009 [Back to News Archives Index]

» Contest #6 Deadline Reminder published February 14, 2009 by KermMartian
» DHCPgen v1.0 published February 27, 2009 by KermMartian

March 2009 March 2009 [Back to News Archives Index]

» Happy Pi Day published March 14, 2009 by noahbaby94
» Promotions, 3m Words, 7th Anniversary published March 26, 2009 by KermMartian

April 2009 April 2009 [Back to News Archives Index]

» Simms AI vs. Turing Test: 2/3 Say 'Human' published April 1, 2009 by KermMartian
» Contest #6 [Utility] Results! published April 10, 2009 by KermMartian
» Simms AI v1 Technical Report published April 13, 2009 by KermMartian

May 2009 May 2009 [Back to News Archives Index]

» Multichord Musical Instrument published May 10, 2009 by KermMartian
» CPRR1 Technical Report published May 17, 2009 by KermMartian

June 2009 June 2009 [Back to News Archives Index]

» College Graduation; #11 of All Time published June 18, 2009 by KermMartian

July 2009 July 2009 [Back to News Archives Index]

» Doors CS Wiki Back Online published July 14, 2009 by KermMartian
» Photos Module Upgrades published July 17, 2009 by KermMartian
» Doors CS 7 Development Underway published July 25, 2009 by KermMartian

August 2009 August 2009 [Back to News Archives Index]

» Site Downtime published August 3, 2009 by KermMartian

September 2009 September 2009 [Back to News Archives Index]

» One Thousand Users; More Numbers! published September 5, 2009 by KermMartian
» TBG/Freebuild: Status Update published September 7, 2009 by KermMartian
» [Idea] Calculator Laptop published September 11, 2009 by KermMartian
» BranchMap Beta 1 published September 17, 2009 by KermMartian

October 2009 October 2009 [Back to News Archives Index]

» BranchMap v1.0 published October 7, 2009 by KermMartian
» TI, the DMCA, and the Calculator Programming Community published October 30, 2009 by KermMartian

December 2009 December 2009 [Back to News Archives Index]

» SaxJax IRC Linker Back Online published December 9, 2009 by KermMartian
» Forum Category Changes published December 28, 2009 by KermMartian


© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.023005 seconds.