| RGBLINK(1) | General Commands Manual | RGBLINK(1) | 
rgblink —
rgblink | 
    [-dtVw] [-m
      mapfile] [-n
      symfile] [-O
      overlayfile] [-o
      outfile] [-p
      pad_value] [-s
      symbol] [-l
      linkerscript] file ... | 
  
rgblink program links objects created by
  rgbasm(1) into a single Game Boy ROM file.
By default, ROM0 sections created by the assembler are placed in
    the 16KiB bank 0, and ROMX sections are placed in any bank except bank 0. If
    your ROM will only be 32KiB, you can use the -t
    option to override this.
Similarly, WRAM0 sections are placed in the first 4KiB of WRAM
    bank 0 and WRAMX sections are placed in any bank except bank 0. If your ROM
    doesn't use banked WRAM you can use option -w option
    to override this.
Also, if your ROM is designed for DMG, you can make sure that you
    don't use any prohibited section by using the option
    -d, which implies -w but
    also prohibits the use of VRAM bank 1.
The arguments are as follows:
-m
    mapfile-n
    symfile-O
    overlayfile-o
    outfile-p
    pad_value-s
    symbol-w-d-w.-t-l
    linkerscript-VThe resulting bar.gb will not have correct checksums (unless you put them in the assembly source). You should use rgbfix(1) to fix these so that the program will actually run in a Game Boy:
rgblink was originally written by Carsten
  Sørensen as part of the ASMotor package, and was later packaged in
  RGBDS by Justin Lloyd. It is now maintained by a number of contributors at
  https://github.com/rednex/rgbds.
| January 26, 2018 | RGBDS Manual |