gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit b3d9a60cbe1e615baca6fe768d63af7e0bc5b25c parent fe7322f2b1a2baa4e412392730770562a4b9cb29 Author: bbbbbr <bbbbbr@users.noreply.github.com> Date: Sun, 23 Jan 2022 22:09:30 -0800 Merge pull request #305 from bbbbbr/docs_4_0_6 Docs: additional links to makebin MBC settings Diffstat:
| M | Makefile | 1 | + |
| M | docs/pages/05_banking_mbcs.md | 6 | +++++- |
| M | docs/pages/06_toolchain.md | 5 | +++-- |
| M | docs/pages/08_faq.md | 2 | +- |
| M | docs/pages/20_toolchain_settings.md | 1 | + |
5 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile @@ -376,6 +376,7 @@ ifneq (,$(wildcard $(BUILDDIR)/bin/)) # makebin echo \@anchor makebin-settings >> $(TOOLCHAIN_DOCS_FILE); echo \# makebin settings >> $(TOOLCHAIN_DOCS_FILE); + echo Also see \@ref setting_mbc_and_rom_ram_banks >> $(TOOLCHAIN_DOCS_FILE); echo \`\`\` >> $(TOOLCHAIN_DOCS_FILE); $(BUILDDIR)/bin/makebin -h >> $(TOOLCHAIN_DOCS_FILE) 2>&1 echo \`\`\` >> $(TOOLCHAIN_DOCS_FILE); diff --git a/docs/pages/05_banking_mbcs.md b/docs/pages/05_banking_mbcs.md @@ -53,8 +53,12 @@ At the link stage this is done with @ref lcc using pass-through switches for @re - `-Wl-yoA` may be used for automatic bank size. - `-Wl-ya<N>` where `<N>` is the number of RAM banks. 2, 4, 8, 16, 32 - `-Wl-yt<N>` where `<N>` is the type of MBC cartridge (see below). + - Example: `Wl-yt0x1A` + +The MBC settings below are available when using the makebin MBC switch. + +Additional details available at [Pandocs](https://gbdev.io/pandocs/The_Cartridge_Header.html#0147---cartridge-type "Pandocs") -The following MBC settings are available when using the makebin MBC switch. ``` # From Makebin source: # diff --git a/docs/pages/06_toolchain.md b/docs/pages/06_toolchain.md @@ -180,9 +180,10 @@ Checks .ihx files produced by @ref sdldgb for correctness. ## makebin IHX to ROM converter -For detailed settings see @ref makebin-settings +- For detailed settings see @ref makebin-settings +- For makebin `-yt` MBC values see @ref setting_mbc_and_rom_ram_banks -Converts .ihx files produced by @ref sdldgb into ROM files (.gb, .gbc). +Converts .ihx files produced by @ref sdldgb into ROM files (.gb, .gbc). Also used for setting some ROM header data. - Arguments can be passed to it through @ref lcc using `-Wm-<argument>` diff --git a/docs/pages/08_faq.md b/docs/pages/08_faq.md @@ -19,7 +19,7 @@ - `-yC` : GameBoy Color only - `-ys` : Super GameBoy compatible <!-- --> - - How do I set the ROM @ref MBC type? + - How do I set the ROM @ref MBC type, and what MBC values are available to use with the `-yt` @ref makebin flag? - See @ref setting_mbc_and_rom_ram_banks <!-- --> # Errors / Compiling / Toolchain diff --git a/docs/pages/20_toolchain_settings.md b/docs/pages/20_toolchain_settings.md @@ -386,6 +386,7 @@ Example: "ihx_check build/MyProject.ihx" ``` @anchor makebin-settings # makebin settings +Also see @ref setting_mbc_and_rom_ram_banks ``` makebin: convert a Intel IHX file to binary or GameBoy format binary. Usage: makebin [options] [<in_file> [<out_file>]]
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.