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

Consistently emit code no larger than the original assembly #2

Open
mtolly opened this issue Jun 4, 2014 · 0 comments
Open

Consistently emit code no larger than the original assembly #2

mtolly opened this issue Jun 4, 2014 · 0 comments
Assignees

Comments

@mtolly
Copy link
Owner

mtolly commented Jun 4, 2014

Taking an assembly file and doing a roundtrip to MIDI and back to assembly should produce code no larger than the original. Otherwise make will probably fail because the ROM is too big. This is already satisfied for most files (they are often shorter than the originals!) but not all.

May require some combination of:

  • better cleaning of redundant/useless commands
  • using loopchannel to make small subloops (can be used inside subroutines as well)
  • more thorough investigation of possible subroutines (currently just picks the best one at each step, can get stuck on a nonoptimal local maximum)
@mtolly mtolly self-assigned this Jun 4, 2014
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