KarolS / millfork

Millfork: a middle-level programming language targeting 6502- and Z80-based microcomputers and home consoles
https://karols.github.io/millfork/
GNU General Public License v3.0
253 stars 21 forks source link

Other label format support? #128

Closed joshop closed 2 years ago

joshop commented 2 years ago

I've decided to rewrite my homebrew NES game in Millfork before I get too far with it in assembly, and previously used Mesen for debugging. However, according to the docs, of the label formats (.lbl, .fns, .sym, .nl), it looks like only .fns is supported by Mesen, and only for games with exactly 32KiB PRG-ROM does this format work, which mine does not have. Is there a way to produce other label formats (i.e. .dbg, .mlb), or will this be implemented in the future?

KarolS commented 2 years ago

Currently, there is no way to add custom label formats, but I'm open to adding commonly used formats to the compiler. Do you have some example files I could use for reference?

joshop commented 2 years ago

Here's a link about the .mlb (Mesen labels) format that Mesen supports. There's also this, which is a sample NES ca65 project - ca65 generates .dbg files which are also supported by Mesen. I don't know about any other formats.

KarolS commented 2 years ago

Implemented in 0.3.30.