Comments (6)
I'm in the other camp: I use these comments all the time, and wish they had even more information (banks)!
They're extremely useful for ROM hacking. I concede that the symbol file can replace some use cases, but they're especially useful for keeping a constant budget of bytes (for minimizing patch sizes).
from ladx-disassembly.
Oh, okay! Never mind then. :)
This is just my personal input! My use case may be very fringe.
Do you mean they're "extremely useful" for binary-hacking a ROM, using the disassembly just for reference? Or is LADX not yet fully relocatable, so you can't just insert/delete code and expect the rest to work even when shifted?
I use the disassembly itself for hacking (not binary hacking, although rgblink
's --overlay
option allows a middle ground), and it is fully relocatable. However, ROM hacks are distributed as patches that just contain the binary diff between the old ROM and the new. If there is major relocation in the new ROM, the patch will be big and (perhaps more importantly) it will contain the relocated parts, even the unchanged ones which are copyrighted.
As long as the disassembly maps one-to-one to the ROMs, I find it useful to have a view of both the code and the bytes side by side.
from ladx-disassembly.
Oh, okay! Never mind then. :) Do you mean they're "extremely useful" for binary-hacking a ROM, using the disassembly just for reference? Or is LADX not yet fully relocatable, so you can't just insert/delete code and expect the rest to work even when shifted?
from ladx-disassembly.
I'm also using these comments a lot, and even updated/added them where they where missing. They match the 1.0 EN rom perfectly, which is the default build. As LADXR is build around binary patching, I need to know the addresses for any patch. And yes, I would have loved to have the banks in the comments as well.
I also use them during reverse engineering to quickly jump to specific instructions to set breakpoints in bgb.
I understand how they can look "useless" but they are far from it for a bunch of us.
from ladx-disassembly.
as a personal note they're frustrating, because if you want to update or change something you not only have to make the change (say, updating or fixing code) but also then have to go back and adjust/fix all the comment lines or they look horrid
they also make adding simple end-of-line comments largely impossible if you want to keep line length bloat down
from ladx-disassembly.
We have a script to align those comments, it's in the repo.
from ladx-disassembly.
Related Issues (20)
- Regarding tilemap and attrmap encoding HOT 1
- Name the few unamed tilemaps HOT 3
- Label palettes pointer tables
- Convert palettes to RGB format
- Rename `Velocity` to `Speed` HOT 5
- Find what `LINK_MOTION_UNKNOWN_0A` is used for HOT 2
- Make Octorock / Octorok spelling consistent HOT 1
- Make data formats friendlier to external editors HOT 2
- Label palettes data HOT 4
- Document entities helper functions
- Rename 'cyclop key' to 'slime key' HOT 1
- Make WRAM shiftable
- Rename hMapId HOT 1
- Label dialog constants
- `convert_background.py` fails on `menu_file_selection_commands.tilemap.encoded` HOT 5
- Makefile: add targets for Debug builds HOT 1
- convert_background should ignore filler byte for game_over.tilemap
- Some gfx need to be processed
- Some palettes need to be converted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ladx-disassembly.