Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: A couple of things can be added so when outputed asm is compiled in asar it can auto remap all pointers and jumps after adding or removing asm and auto add empty data #103

Open
slidelljohn opened this issue May 24, 2024 · 0 comments

Comments

@slidelljohn
Copy link

Here is a modification that I have to make to the outputted disassembly in order for all pointers and jumps to auto remap in asar after adding or removing asm:

I have to manually add this label "LDX.W #CODE_0081C9" that points to where high score data is in Gradius 3:
manually add label

There is a few modifications that I have to make for empty space to automatically be calculated:

  1. Manually remove empty space "0xff..............". Last empty byte removed = $00FFBF
  2. Add starting point for data/asm after manually remove empty space = ORG $00FFC0
  3. Add fill byte code to beginning of asm file so all empty space is 0xFF.
    empty space

I have seen some roms have set patterns for empty space that can be multiple bytes but Im not sure what the limitations of "fillbyte" is in asar.

Having DiztinGUIsh set that label is the most important issue. Having the empty space to automatically be calculated/added might or might not be something that can be useful. I would like to hear others opinions on the empty space part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant