summaryrefslogtreecommitdiff
path: root/gbz80disasm.py
AgeCommit message (Collapse)Author
2013-05-17load labels only once in gbz80disasmBryan Bishop
original-commit-id: f10019710f70f855beaa67c1170337e28cc7a57f
2013-05-15gbz80disasm: include comments on unresolved backward relative jumpsyenatch
original-commit-id: 5521aa5ce0ad5249ff0d369dd33b4f63cd804b73
2013-05-15gbz80disasm: don't look for outstanding labels that are behind the originyenatch
original-commit-id: b38e2874095266d45df984be778d9fe68832aaac
2013-05-15gbz80disasm: don't include comments on relative jumpsyenatch
original-commit-id: a6fee3622a9705d060cbe467bd32e425a1ff2bc4
2013-05-15gbz80disasm: reti is an enderyenatch
original-commit-id: 81e42e41da5a664aa528ad4f9284119456b15817
2013-05-15gbz80disasm: space out blocks of asmyenatch
original-commit-id: 3cf6603b455530fa0c17e946118484a0126e2bf9
2013-05-15gbz80disasm: clean up $ff00+x handlingyenatch
original-commit-id: 82d723840b14fc6b55c00f107a453bc0b0d80772
2013-05-14gbz80disasm: read labels from wram/gbhw/hramyenatch
original-commit-id: 1bdcac1fe11746b67f17285d2f04e3b9c52772d1
2013-05-14gbz80disasm: bank 1 was being read as bank 0yenatch
original-commit-id: aed0202999656cf4cafd26c52bd98d9fcf5e63d4
2013-05-14transition gbz80disasm to use a bytearray instead of RomStryenatch
original-commit-id: 5b95c5aad7d840a09727d3d56626ba624cddbbf3
2013-05-14remove redundant code from find_label in gbz80disasmyenatch
original-commit-id: 313e853e391e69f9bca875fa37f431c84fb32cbe
2013-05-14fix bank-checking for labels in gbz80disasmyenatch
bank 1 is not fixed like bank 0 original-commit-id: b9bd11e34def340afdc7befc29fcca15e3bf71cb
2013-05-08make gbz80disasm understand bank:offset syntaxSanky
original-commit-id: d01369178b0ced3b299903b1cdf0084bdf067c43
2013-02-27update gbz80disasm for handling known fall-throughsBryan Bishop
When disassembling a group of functions, sometimes there are other functions known in advance. By passing in a list called stop_at to gbz80disasm, it is possible to prevent disassembled asm from running on for longer than necessary. original-commit-id: 01e10a11b27978c40e0f5fc3334dfd66c1a004a3
2013-02-27include_last_address for disassemblerBryan Bishop
This is an extra option that is on by default for gbz80disasm, which is useful in situations where you may not want the last address to be included (like if the output of the disassembler is going to be sent to to_asm anyway). original-commit-id: 381d3e76b73302672c0d568600f78f15f5cd0fcf
2013-02-03simplify load_rom in gbz80disasmBryan Bishop
original-commit-id: 57200b6cf75040b9696ae54bdac69d5e452a2c48
2013-02-03enable labels in gbz80disasmBryan Bishop
fixes #102 original-commit-id: 82b8b5121a574b6e29c72a95fd305134fd0a08cf
2013-01-27make gbz80disasm work with python2.6 againBryan Bishop
There was an incompatible change to the json module api between py26 and py27, causing gbz80disasm to not work with py26. The fix is to simply alias the new loads method to the old read function. A possibly better plan might be to not support py26 at all. original-commit-id: db5208b41f8a505f68ddbccb34dca206df9ca77e
2013-01-27remove extra whitespace in gbz80disasmBryan Bishop
original-commit-id: ac47399e66c333dd733a352e2c93689908eaba3b
2013-01-27remove a broken, unfinished disassembler (DisAsm)Bryan Bishop
This removes DisAsm from romstr.py, which was the only reason that gbz80disasm wasn't able to import RomStr from romstr.py. DisAsm was an experimental gbz80 disassembler that was meant to replace gbz80disasm eventually. The goals were to write cleaner code and write more unit tests. But it never worked and the code quality looks close to being the same as gbz80disasm anyway. original-commit-id: 00f1b71cd48f7992d70309a82ccd0a2d0f5ac8db
2013-01-27add character encoding header in gbz80disasm.pyBryan Bishop
original-commit-id: 500d47f4cca9a4f9c7a6909c9fd6f340abf1d022
2012-12-23Merge remote branch 'remotes/yenatch/master'Bryan Bishop
fixes #49 original-commit-id: 3b20ea29160760a85db9d84f61a92a957d14efb3
2012-12-16update gbz80disasm to not use $ff00+$ff syntaxBryan Bishop
original-commit-id: 531ccfb5f65bbbfa90e2a5c8493d9584dc2012be
2012-12-14make gbz80disasm easier to use externallypadz
original-commit-id: 3bae3a53135da32b30d5166d52a2e8e4117fc95e
2012-11-15play nice w/ cygwin; undeprecate used commandpadz
original-commit-id: 1b54f73323e98b59bfe238fa79a0f8d081d3e5d3
2012-09-10generate labels.json automagically in gbz80disasmBryan Bishop
original-commit-id: e1ff7f98def8810aa61814eddcce6b96ae0bd643
2012-07-07Add some functions from Mobile Stadium.IIMarckus
original-commit-id: fa019d2f51893bc7772bde2ccad5ae3c07b51cf4
2012-06-10somewhat improved disassemblerBryan Bishop
original-commit-id: 10a5a6518d709c92df04ce5938d5fedf2c6df685
2012-06-07almost complete new disassembler versionBryan Bishop
original-commit-id: 7dd0c86a6b6ebe03ed00dc7bd75d54d7b33db374
2012-06-06more cleaningBryan Bishop
original-commit-id: 0768fead4fc4c0ff5b88637b02b5fb46484153df
2012-06-06remove more code cruftBryan Bishop
original-commit-id: c79db81d43ad6ba993cac3c6e6f0e3e6b6ef86b5
2012-06-06remove some code cruft from gbz80disasmBryan Bishop
original-commit-id: 48b2237b820fdf0347ad65d31305eeffdea97696
2012-06-06get RomStr from romstr.py in gbz80disasmBryan Bishop
original-commit-id: 315edbe14bd630e3d4dbdbeb362fc9dacc0e358d
2012-05-31temporarily disable label-usage (find_label) in gbz80disasmBryan Bishop
original-commit-id: 376f65a4fd13eb1cdd3286d9edc2401539a4c896
2012-04-26don't delete tempt_opt_table in gbz80disasmBryan Bishop
original-commit-id: ece37237e3960bce6e72c6c97f1a4479dd6536aa
2012-03-15gbz80disasm for crystalBryan Bishop
original-commit-id: f20786a43217a181b54d51f95d6e4bd9a02b17df