Update documentation for new -x option

This commit is contained in:
ISSOtm
2020-04-27 11:04:29 +02:00
parent 8b1351fc3e
commit 8958e352df
2 changed files with 10 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
.Nd Game Boy linker
.Sh SYNOPSIS
.Nm
.Op Fl dtVvw
.Op Fl dtVvwx
.Op Fl l Ar linker_script
.Op Fl m Ar map_file
.Op Fl n Ar sym_file
@@ -102,6 +102,14 @@ Print the version of the program and exit.
Verbose: enable printing more information to standard error.
.It Fl w , Fl Fl wramx
Expand the WRAM0 section size from 4 KiB to the full 8 KiB assigned to WRAM and prohibit the use of WRAMX sections.
.It Fl x , Fl Fl nopad
Disables padding the end of the final file.
This option automatically enables
.Fl t .
You can use this when not not making a ROM.
When making a ROM, be careful that not using this is not a replacement for
.Xr rgbfix 1 Ap s Fl p
option!
.El
.Sh EXAMPLES
All you need for a basic ROM is an object file, which can be made into a ROM image like so: