Skip to content

Read sym file #34

@jendrikw

Description

@jendrikw

The rgbds toolchain (https://github.com/rednex/rgbds) can output a .sym file, where all labels used in the assembler code are given with their location. It looks something like this.

; this is a comment
; the format is
; bank:address label
00:08f4 Start.mainloop
00:09b0 memcpy
00:09b4 memcpy.repeat
00:09b7 memcpy.start

The bgb emulator reads the file if it has the same name as the rom file (except the file extension is .sym) and displays the labels in the disassembly, which looks like this:

image

The labels are very helpful while debugging and it would be awesome if binjgb could support it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions