summaryrefslogtreecommitdiff
path: root/gbz80disasm.py
AgeCommit message (Collapse)Author
2013-08-03make a basic python moduleBryan Bishop
2013-08-03remove dangling whitespace in source code filesBryan Bishop
2013-07-11Merge pull request #158 from yenatch/gbz80disasm-more-dataBryan Bishop
gbz80disasm bugfixes original-commit-id: 226729d1750bc6ee0c45d96e3f6b7dcf0844a609
2013-06-28gbz80disasm: don't read data where there is noneyenatch
original-commit-id: fee0f0d6a4ab194f8aa1ecc1a886cbca22052c6b
2013-06-28gbz80disasm: only track rom addresses for datayenatch
original-commit-id: 3a1f843e783a7a654ccd7e72f5e3fa4a40ea4009
2013-06-27gbz80disasm: use existing labels as addressesyenatch
original-commit-id: fe4b13e304decc48af0918fce281ed588f867a72
2013-06-25Merge branch 'github/master' into master.Bryan Bishop
Conflicts: extras/gbz80disasm.py Comments. original-commit-id: ff11134023e1a3df28edbf5c8f1638ec369d919a
2013-06-25gbz80disasm: just use lowercase labelsyenatch
original-commit-id: 2896cb93d48f6b4fb759c37753db7095d4e69ffd
2013-06-25gbz80disasm: fix data handlingyenatch
get the scalpel out of there original-commit-id: 91f7c123f4a54beddf8c9de0f8a10195ad3d7667
2013-06-25gbz80disasm: local/global address conversion + fix find_labelyenatch
original-commit-id: 6630406043cda9e4ab36f8477c62025249b647d6
2013-06-25gbz80disasm: detect data tables referenced in asmyenatch
original-commit-id: 7804dedce469cd40efbc140b80d84733ec853338
2013-06-25gbz80disasm: data detectionyenatch
the is_data flag never did anything. now it does encountering the end of a branch with outstanding labels will read anything between said labels as data original-commit-id: e199aaa8fd73d932e81ef339f4f826cf95a700b9
2013-06-23Edit some docstrings in /extras.Kat Harrison
original-commit-id: 1120eaaaf54afe16600c7b5f665edcbc621fde0f
2013-06-15gbz80disasm: fix labels outside of banks 0 and 1yenatch
original-commit-id: dfb241619203a2b1b9eb389055cbe0ff31baa7a0
2013-06-14gbz80disasm: only use gbhw/hram constants >= 0xff00yenatch
original-commit-id: 2f21ff4ef5f4b26801463db720be32f55cfaf7d4
2013-05-21gbz80disasm: rgbds uses brackets for ld hl, sp+xyenatch
original-commit-id: 399925fff577cf11a77193d997d2bf19ee72aa04
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