Skip to content

Support building Multiboot-ROMs #122

@phijor

Description

@phijor

I'm currently dabbling with the GBA's support for loading ROMs from serial (i.e. multibooting).
To build a Multiboot ROM, one must put .text and .rodata into IWRAM EWRAM (with the entrypoint at 0x0200_0000).

Would it be possible to support this usecase in this crate?

I can imagine the following approach:

  1. Supply a Multiboot start script (rsrt0_multiboot.S).
  2. Build it by default in build.rs
  3. Instruct the user to adapt their linker scripts to include the multiboot rutime instead of rsrt0.o and put everything in IWRAM EWRAM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions