git.y1.nz

gbdk-2020

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

commit 0013e02a371fa1221629b0da3c70d20194919b84
parent 9847045975ad8ebaffbabcea2bdaa859474d471b
Author: bbbbbr <bbbbbr@users.noreply.github.com>
Date:   Fri, 10 Jun 2022 20:29:47 -0700

Merge pull request #373 from bbbbbr/docs_4_1_0

Docs: Update lib paths to new location
Diffstat:
Mdocs/pages/06b_supported_consoles.md6+++---
Mdocs/pages/09_migrating_new_versions.md3++-
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/docs/pages/06b_supported_consoles.md b/docs/pages/06b_supported_consoles.md @@ -33,12 +33,12 @@ When compiling with @ref sdcc-settings "sdcc": - `-m<port>`, `-D__PORT_<port>` and `-D__TARGET_<plat> ` When assembling with @ref sdasgb-settings "sdasgb" (for GB/AP) and @ref sdasz80-settings "sdasz80" (for SMS/GG): - - Select the appropriate include path: `-I<gbdk-path>lib/small/asxxxx/<plat>` + - Select the appropriate include path: `-I<gbdk-path>lib/<plat>` When linking with @ref sdldgb-settings "sdldgb" (for GB/AP) and @ref sdldz80-settings "sdldz80" (for SMS/GG or MSXDOS): - - Select the appropriate include paths: `-k <gbdk-path>lib/small/asxxxx/<port>`, `-k <gbdk-path>lib/small/asxxxx/<plat>` + - Select the appropriate include paths: `-k <gbdk-path>lib/<port>`, `-k <gbdk-path>lib/<plat>` - Include the appropriate library files `-l <port>.lib`, `-l <plat>.lib` - - The crt will be under ` <gbdk-path>lib/small/asxxxx/<plat>/crt0.o` + - The crt will be under ` <gbdk-path>lib/<plat>/crt0.o` MSXDOS requires an additional build step after makebin to create the final binary: - `makecom <image.bin> [<image.noi>] <output.com>` diff --git a/docs/pages/09_migrating_new_versions.md b/docs/pages/09_migrating_new_versions.md @@ -9,7 +9,8 @@ This section contains information that may be useful to know or important when u - GBDK now requires SDCC 4.2 or higher with GBDK-2020 patches for the the z80 linker - The default calling convention changed in SDCC 4.2, see @ref sdcc_calling_convention "Calling Conventions" for more details. - 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/`. + - For example `lib/small/asxxxx/gb` becomes `lib/gb` ## Porting to GBDK-2020 4.0.6 - Renamed `bgb_emu.h` to `emu_debug.h` and BGB_* functions to EMU_*

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