Commit Graph

13 Commits

Author SHA1 Message Date
Zack Marvel
4828593919 Fix bytestring slices for compatibility
In Python 2, b'asdf'[0] returns b'a', but in Python 3, it returns 97, which is
the result of ord(b'a'). In other words, there are a lot of ord() calls that
are now unnecessary for Python 3 but still necessary for Python 2.

This can be resolved by using b'asdf'[0:1], which returns b'a' in both versions.
2014-04-28 18:42:51 -04:00
Zack Marvel
c70144ddb8 Add import to extract_maps.py for print_function 2014-04-28 15:50:35 -04:00
Zack Marvel
4d168d0535 Change print statements in extract_maps.py for Python 3 compatibility 2014-04-28 15:31:44 -04:00
Bryan Bishop
ef77506d94 also import os 2013-09-11 10:57:05 -05:00
Bryan Bishop
435180a2cd fix rom path in another redtool 2013-09-11 10:56:31 -05:00
Bryan Bishop
e74f9833a1 update pokered_dir.py to use cwd for path
This will be fixed when redtools is merged into the rest of the junk,
but for now the path will just be the cwd.

This is necessary for pokered gbz80disasm.
2013-09-11 10:53:49 -05:00
Bryan Bishop
63bd0e4d6f fix grammar in redtools/README.md 2013-09-05 11:07:34 -05:00
Bryan Bishop
8d8d708c32 basic README for redtools/ 2013-09-05 11:03:32 -05:00
Bryan Bishop
43c912b4ee remove a useless comment from pokered gbz80disasm
What were these doing here, anyway?
2013-09-01 16:38:28 -05:00
Bryan Bishop
5385ccd6d7 Merge branch 'master' into september-cleanup 2013-09-01 16:30:16 -05:00
Bryan Bishop
673555a75e apply pokered changes from 'fix-analyze-incbins'
This helps to fix (pokered) gbz80disasm. These two disassemblers need to
be merged together as soon as possible.
2013-09-01 16:22:46 -05:00
Bryan Bishop
018f7cb540 fix tab in red gbz80disasm 2013-09-01 16:13:06 -05:00
Bryan Bishop
a5b718db57 dump in pokered/extras/ python stuff from b185b245 2013-09-01 02:05:18 -05:00