Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 117 users online: 3 members, 79 guests and 35 bots. Members: CalebHansberry. Bots: VoilaBot (4), Spinn3r (1), Magpie Crawler (5), VoilaBot (4), Googlebot (19), MSN/Bing (2).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55742 Location: Earth, Sol, Milky Way
|
Posted: 07 Oct 2009 01:39:35 am Post subject: BranchMap v1.0 |
|
|
A month of planning and coding between other projects has brought BranchMap v1.0 to completion. Written entirely in Python, and tested on Linux and Windows, this program allows you to generate postscript or PDF files containing a summary and semi-graphical overview of z80 ASM code. I intended this project as a way to trace program flow without staring at thousands of lines of z80 code for hours. It can do all of the following and more:
:: Displays all files, labels, and jumps in source file(s)
:: Optionally track and displays calls and bcalls
:: Tracks and tries to determine stack depth of all instructions. Looks for unreachable blocks.
:: Finds and warns of dangerous stack manipulation, such as returning from a call with the stack pointer misset.
:: Displays easy-to-read color-coded cross-file call/jump references
:: 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, including 14 stack manipulation warnings.
BranchMap v1.0 (Direct Download)
Edit: BranchMap v1.0 has been featured on ticalc.org, the flagship community website. Thanks to everyone's positive comments there.
 _________________

Last edited by KermMartian on 09 Oct 2009 03:33:00 pm; edited 1 time in total |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10232 Location: A galaxy far far away......
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55742 Location: Earth, Sol, Milky Way
|
Posted: 07 Oct 2009 10:15:13 am Post subject: |
|
|
| elfprince13 wrote: | | That looks great! Have you uploaded it to ticalc.org yet? | Thanks, and of course! I look forward to it being available there soon; when they process it, I'll update the article with a link. And as always, feel free to hit me with comments, questions, criticism and praise, and most importantly, feature requests and bug reports. _________________
 |
|
| Back to top |
|
|
Eeems

Super-Expert

Joined: 22 Jan 2009 Posts: 832 Location: Edmonton, Alberta
|
Posted: 08 Oct 2009 04:00:57 pm Post subject: |
|
|
congrats on the feature on ticalc Kerm! _________________
        |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55742 Location: Earth, Sol, Milky Way
|
Posted: 08 Oct 2009 04:43:09 pm Post subject: |
|
|
| Eeems wrote: | | congrats on the feature on ticalc Kerm! | Thanks, Eeems. I hope that brings the project a bit more attention, and it makes me hopeful that DCS7 might actually be featured once it's released/ _________________
 |
|
| Back to top |
|
|
Ultimate Dev'r

Join us on #cemetech-vaporware

Joined: 16 Mar 2005 Posts: 7297
|
Posted: 08 Oct 2009 06:14:54 pm Post subject: |
|
|
| KermMartian wrote: | | Eeems wrote: | | congrats on the feature on ticalc Kerm! | Thanks, Eeems. I hope that brings the project a bit more attention, and it makes me hopeful that DCS7 might actually be featured once it's released/ |
Why wouldn't it be? Not like anything else is going on in the calc world  _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55742 Location: Earth, Sol, Milky Way
|
Posted: 09 Oct 2009 03:31:29 pm Post subject: |
|
|
| Ultimate Dev'r wrote: | | KermMartian wrote: | | Eeems wrote: | | congrats on the feature on ticalc Kerm! | Thanks, Eeems. I hope that brings the project a bit more attention, and it makes me hopeful that DCS7 might actually be featured once it's released/ |
Why wouldn't it be? Not like anything else is going on in the calc world  | Doors CS has never previously been featured on ticalc.org, mostly because Michael Vincent was the news editor, and Michael Vincent is not too fond of me for the n00b that I once was. He has never really forgiven me for that for some reason.  _________________
 |
|
| Back to top |
|
|
BrandonW
Calculator Über-Deity

Joined: 20 Sep 2006 Posts: 390
|
Posted: 15 Oct 2009 07:53:23 am Post subject: |
|
|
| Ultimate Dev'r wrote: | | KermMartian wrote: | | Eeems wrote: | | congrats on the feature on ticalc Kerm! | Thanks, Eeems. I hope that brings the project a bit more attention, and it makes me hopeful that DCS7 might actually be featured once it's released/ |
Why wouldn't it be? Not like anything else is going on in the calc world  |
There is of course the legal battle between us, the EFF, and TI for the right to release third-party operating systems as well as the official method of creating them which the whole world is watching. _________________
 |
|
| Back to top |
|
|
Ultimate Dev'r

Join us on #cemetech-vaporware

Joined: 16 Mar 2005 Posts: 7297
|
Posted: 15 Oct 2009 03:22:47 pm Post subject: |
|
|
| brandonw wrote: | | Ultimate Dev'r wrote: | | KermMartian wrote: | | Eeems wrote: | | congrats on the feature on ticalc Kerm! | Thanks, Eeems. I hope that brings the project a bit more attention, and it makes me hopeful that DCS7 might actually be featured once it's released/ |
Why wouldn't it be? Not like anything else is going on in the calc world  |
There is of course the legal battle between us, the EFF, and TI for the right to release third-party operating systems as well as the official method of creating them which the whole world is watching. |
I read about that on google news; is the EFF going to pay for a lengthly legal battle? _________________
 |
|
| Back to top |
|
|
calc84maniac

Epic z80 roflpwner

Joined: 01 Aug 2006 Posts: 1503 Location: The ex-planet Pluto
|
Posted: 15 Oct 2009 03:41:37 pm Post subject: |
|
|
| Ultimate Dev'r wrote: | | brandonw wrote: | | Ultimate Dev'r wrote: | | KermMartian wrote: | | Eeems wrote: | | congrats on the feature on ticalc Kerm! | Thanks, Eeems. I hope that brings the project a bit more attention, and it makes me hopeful that DCS7 might actually be featured once it's released/ |
Why wouldn't it be? Not like anything else is going on in the calc world  |
There is of course the legal battle between us, the EFF, and TI for the right to release third-party operating systems as well as the official method of creating them which the whole world is watching. |
I read about that on google news; is the EFF going to pay for a lengthly legal battle? | How lengthy could it be when TI has no ground to stand on? _________________ ~calc84maniac has spoken.
Projects:
TI-Boy SE
F-Zero
Super Mario (aka Project M) |
|
| Back to top |
|
|
Ultimate Dev'r

Join us on #cemetech-vaporware

Joined: 16 Mar 2005 Posts: 7297
|
Posted: 15 Oct 2009 05:16:43 pm Post subject: |
|
|
| calc84maniac wrote: | | Ultimate Dev'r wrote: | | brandonw wrote: | | Ultimate Dev'r wrote: | | KermMartian wrote: | | Eeems wrote: | | congrats on the feature on ticalc Kerm! | Thanks, Eeems. I hope that brings the project a bit more attention, and it makes me hopeful that DCS7 might actually be featured once it's released/ |
Why wouldn't it be? Not like anything else is going on in the calc world  |
There is of course the legal battle between us, the EFF, and TI for the right to release third-party operating systems as well as the official method of creating them which the whole world is watching. |
I read about that on google news; is the EFF going to pay for a lengthly legal battle? | How lengthy could it be when TI has no ground to stand on? |
This is America; he with the most money, lawyers and connections wins. _________________
 |
|
| Back to top |
|
|
JustBasicElial
Newbie

Joined: 25 Nov 2009 Posts: 2
|
Posted: 25 Nov 2009 02:16:18 pm Post subject: |
|
|
| Ultimate Dev'r wrote: | | This is America; he with the most money, lawyers and connections wins. |
Ain't that the truth! This nation is so going to pot! (except for the pot comment )
By the way, great program! Is there anyway you could port it over into binary files for the two systems? (Windows at least?) That would be great since the only time I have to do this kind of stuff is at the library or at school, it would be nice to be able to click and run without installing python. Thanks!  |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55742 Location: Earth, Sol, Milky Way
|
Posted: 25 Nov 2009 03:13:11 pm Post subject: |
|
|
Thanks! I don't see why not, isn't there a way to package Python scripts as executables? Elfprince, Kllrnohj, Python gurus? _________________
 |
|
| Back to top |
|
|
Tari

Systems Integrator

Joined: 03 Jul 2006 Posts: 2107 Location: Always-winter, Michigan
|
Posted: 25 Nov 2009 04:19:21 pm Post subject: |
|
|
py2exe/py2app will work for Windows and Mac respectively, and there's also cx_freeze, which apparently works on all platforms supported by Python.
Note that I've never tried any of those.. _________________
Ask questions the smart way · タリ |
|
| Back to top |
|
|
Kllrnohj

PH34R |\/|3

Joined: 24 May 2005 Posts: 8189
|
Posted: 25 Nov 2009 11:59:17 pm Post subject: |
|
|
| KermMartian wrote: | | Thanks! I don't see why not, isn't there a way to package Python scripts as executables? Elfprince, Kllrnohj, Python gurus? |
The last time I looked into such a thing it basically just created a C app that embedded the python runtime and called the script, so you still needed the python dll and such. It should work for what JustBasicElial wants, though. _________________ There are only two kinds of programming languages: those people always bitch about and those nobody uses. (Bjarne Stroustrup) |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55742 Location: Earth, Sol, Milky Way
|
Posted: 14 Dec 2009 04:53:21 pm Post subject: |
|
|
JustBasicElial, do you still need this? I realized I haven't dealt with this in quite some time. _________________
 |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.044532 seconds.
|