mtolly / pokemid

Import/export Pokémon Red/Blue music as MIDI
39 stars 2 forks source link

Support other label formats #15

Closed mtolly closed 9 years ago

mtolly commented 9 years ago

Currently just label:: is supported; label: and .label should be added.

mtolly commented 9 years ago

From https://github.com/bentley/rgbds/blob/master/doc/asm/labels.htm

On asm->mid we should support all 3 kinds and not care about exportedness (but of course match repeated occurrences of the same local label correctly). On mid->asm we should use exported labels for the channel start points, and then either use locals or non-exported globals (I'm leaning towards non-exported globals) for subroutines.