felipesanches / AnotherWorld_VMTools

Toolchain for software development targeting the virtual machine originally designed for Eric Chahi's Another World game.
21 stars 2 forks source link

Some bytes are not being disassembled while they should! #13

Closed felipesanches closed 2 years ago

felipesanches commented 2 years ago

Here's an example of a short portion of the disasm of level zero from MSDOS release, as output by AWVM_trace.py:

Screenshot from 2022-03-24 20-19-16

The four bytes at LABEL_007B: should have been disassembled as mov [HACK_VAR_54], 0x0080, which makes a lot of sense if compared to the next instruction. Not sure why this was not disassembled, but searching for LABEL_007B on that disasm listing gave me no results other than the label itself.

felipesanches commented 2 years ago

I addressed this today with https://github.com/felipesanches/AnotherWorld_VMTools/commit/77afe53c63896f6ef92781321111be38ebacb9e2