git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 12a8da50805bea66f1ce604c536773e8a2bcda84
parent 2c1a13fa8b5146e1a602d23ceae4a7c9a6e96a5e
Author: bbbbbr <bbbbbr@users.noreply.github.com>
Date:   Thu, 27 Oct 2022 00:51:04 -0700

Merge pull request #430 from bbbbbr/docs_4_1_0

Docs: Misc minor updates
Diffstat:
Mdocs/pages/05_banking_mbcs.md2+-
Mdocs/pages/09_migrating_new_versions.md1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/pages/05_banking_mbcs.md b/docs/pages/05_banking_mbcs.md @@ -61,7 +61,7 @@ Note: You can use the `NONBANKED` keyword to define a function as non-banked if ## Setting the RAM bank for a Source file - - Using the lcc switch for RAM bank `-Wf-ba<N>`. Example (RAM bank 3): `-Wf-ba3` + - Using the lcc switch for Cartridge SRAM bank `-Wf-ba<N>`. Example (Cartridge SRAM bank 3): `-Wf-ba3` @anchor setting_mbc_and_rom_ram_banks diff --git a/docs/pages/09_migrating_new_versions.md b/docs/pages/09_migrating_new_versions.md @@ -10,6 +10,7 @@ This section contains information that may be useful to know or important when u - The default calling convention changed in SDCC 4.2, see @ref sdcc_calling_convention "Calling Conventions" for more details. - If you are linking to libraries compiled with an older version of SDCC / GBDK then you may have to recompile them. - If there are functions written in ASM which receive parameters, they should also be reviewed to make sure they work with the new `__sdcccall(1)` calling convention, or have their header declaration changed to use `OLDCALL`. + - If you are using tools such as `rgb2sdas` (from hUGETracker/Driver) you may need to edit the resulting .o file and replace `-mgbz80` with `-msm83` in addition to using `OLDCALL` - The SDCC `PORT` name for the Game Boy and related clones changed from `gbz80` to `sm83`. - Additional details in the @ref console_port_plat_settings "Console Port and Platform Settings" section and @ref faq_gbz80_sm83_old_port_name_error "FAQ entry". @ref lcc will error out if the old `PORT` name is passed in. - The library base path changed from `lib/small/asxxxx/` to `lib/`.

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.