summaryrefslogtreecommitdiff
path: root/extras/gbz80disasm.py
AgeCommit message (Collapse)Author
2012-01-24update gbz80disasm to find labels betterBryan Bishop
hg-commit-id: 10be245776b4
2012-01-23gbz80disasm - only use labels when the bank matchesBryan Bishop
hg-commit-id: caf3eb99db86
2012-01-23gbz80disasm now prints out known labelsBryan Bishop
hg-commit-id: f54b2dfb9512
2012-01-23$039e -> HandleMidJumpBryan Bishop
hg-commit-id: f18a7d446304
2012-01-21use labels in more commands in gbz80disasmBryan Bishop
hg-commit-id: b49550d941d7
2012-01-21replaced $3e2e with GiveItem in some textsBryan Bishop
hg-commit-id: dda17ec62888
2012-01-20update gbz80disasm to account for conditional relative forward jumpsBryan Bishop
hg-commit-id: 86a98b551bf2
2012-01-18The python tools should spit out tabs, not spaces.IIMarckus
hg-commit-id: fc09f0bbe4b3
2012-01-15ItemUseNotTime for gbz80disasmBryan Bishop
hg-commit-id: cb4aedaf6142
2012-01-15GenRandom for gbz80disasmBryan Bishop
hg-commit-id: 99c7713bd905
2012-01-13code to insert main scripts and subscriptsBryan Bishop
hg-commit-id: 807e8743e682
2012-01-13a very slow tool to find script pointers for each mapBryan Bishop
hg-commit-id: a61a85fd7577
2012-01-12update gbz80disasm for TextScriptEndBryan Bishop
hg-commit-id: f519c306bc00
2012-01-12clean up trailing whitespace in gbz80disasmBryan Bishop
hg-commit-id: 1ef910ea7bbf
2012-01-12stop disassembling when unconditional relative jumps go backBryan Bishop
This adds the condition that it should stop disassembling even if there are unsatisfied labels (example: from before the text script began). hg-commit-id: 0b6ebcb02348
2012-01-12update gbz80disasm based on sawakita's changesBryan Bishop
Changes include: * .ASM_ labels now include their offset in the label * byte_labels keeps better track of when a label is defined versus used * reverse relative jumps now work * reverse unconditional relative jumps can end a script hg-commit-id: 8afc93fce17a
2012-01-11remove extra output from gbz80disasmBryan Bishop
hg-commit-id: 2c4886b28a2f
2012-01-11fix gbz80disasm to not treat $00 as the second byte of an opcodeBryan Bishop
hg-commit-id: 290296b59823
2012-01-11add end address to gbz80disasm output in a commentBryan Bishop
hg-commit-id: 1d79cd8b426a
2012-01-10lowercase two-byte ops that don't have paramsBryan Bishop
hg-commit-id: 4b518c1bd0a0
2012-01-10fix gbz80disasm for multi-byte opcode incrementationBryan Bishop
hg-commit-id: ad1ae67c5991
2012-01-10gbz80disasm stops at all unconditional jumps unless there's a missing labelBryan Bishop
hg-commit-id: c23fcf211c19
2012-01-10RockTunnel1 texts and update gbz80disasm to not handle $8Bryan Bishop
hg-commit-id: 86d0d495afbc
2012-01-10pick some reasonable defaults for gbz80disasm op codesBryan Bishop
hg-commit-id: c249e08cbe9b
2012-01-10prefer "jp hl" over "ld pc, hl" for $E9Bryan Bishop
hg-commit-id: 4788aae09066
2012-01-10add GetMachineName address to gbz80disasmBryan Bishop
hg-commit-id: 8ba8806f333f
2012-01-10call $00b5 -> call CopyDataBryan Bishop
hg-commit-id: e6a487cf2186
2012-01-10replace call $3e6d -> call PredefBryan Bishop
hg-commit-id: 8045c9d0d1a1
2012-01-10call $2f9e -> call GetMonNameBryan Bishop
hg-commit-id: 7bb690c08a4d
2012-01-10fix gbz80disasm line repetition bugBryan Bishop
Certain two-byte op codes would be printed twice. hg-commit-id: 8c7650a614b7
2012-01-10implement two-byte op codes in gbz80disasmBryan Bishop
Previously, two-byte commands in gbz80disasm would not read or allow parameters. This update fixes gbz80disasm to read both the "x" and "?" parameters. x = one-byte parameter ? = two-byte parameter hg-commit-id: 1494e8a88115
2012-01-10fix gbz80disasm pretty printer for non-08 scriptsBryan Bishop
hg-commit-id: 6f16741dc45f
2012-01-10add has_outstanding_labels to gbz80disasmBryan Bishop
This checks for whether or not there are relative jumps that have not been accounted for. When it finds that a label on a relative jump is outstanding, it will continue past any byte or command that would usually end the script. hg-commit-id: 20fba34f0ae2
2012-01-10replace call pointers with labels in gbz80disasmBryan Bishop
Also, this changes how output_bank_opcodes works. Instead of calling lower() on the entire output, each opcode and each line is individually lowercased. As a result, the calls end up with correctly-capitalized labels. hg-commit-id: bdde4aa404da
2012-01-10call $3927 -> call AddPokemonToPartyBryan Bishop
hg-commit-id: a4ec02195797
2012-01-10fix extra whitespace from gbz80disasmBryan Bishop
hg-commit-id: a244eb0b11fd
2012-01-10insert_asm in insert_texts for function asmBryan Bishop
hg-commit-id: dc34a93f0f47
2012-01-10call $3c49 -> call PrintTextBryan Bishop
hg-commit-id: 2d9bb23f9db3
2012-01-10remove debug output from gbz80disasmBryan Bishop
hg-commit-id: 65f6c206f6e1
2012-01-10fix gbz80disasm to optionally load a module in analyze_textsBryan Bishop
hg-commit-id: 0504f841a9d5
2012-01-09updates to asm injection codeBryan Bishop
hg-commit-id: 6748c9773b32
2012-01-09insertion code for $08 text script asmBryan Bishop
hg-commit-id: 5668ca41238c
2012-01-09a simple gameboy disassemblerBryan Bishop
hg-commit-id: 69a312de70de