git.y1.nz

gbdk-2020

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

commit d2387e6fcd33237e2b010e917b195138e71391d2
parent 2e2022fb0ad4ff1633836dc40865d34a66601c8b
Author: bbbbbr <bbbbbr@users.noreply.github.com>
Date:   Thu,  8 Aug 2024 19:57:34 -0700

Merge pull request #711 from bbbbbr/docs/4_3_next_etc

Docs: misc links, tool output
Diffstat:
Mdocs/pages/02_links_and_tools.md19++++++++++++++++++-
Mdocs/pages/06b_supported_consoles.md1+
Mdocs/pages/08_faq.md3++-
Mgbdk-support/png2asset/process_arguments.cpp6+++---
4 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/docs/pages/02_links_and_tools.md b/docs/pages/02_links_and_tools.md @@ -43,6 +43,14 @@ This is a brief list of useful tools and information. It is not meant to be comp https://www.smspower.org/ +@anchor links_megaduck_docs +# Mega Duck / Cougar Boy Documentation + - @anchor megaduckdev + __MegaDuck.dev__ + A collection of technical information and resources for the Mega Duck / Cougar Boy console. + https://megaduck.dev/ + + @anchor links_gbdk_tutorials # Tutorials - @anchor tutorials_larolds @@ -91,7 +99,7 @@ This is a brief list of useful tools and information. It is not meant to be comp @anchor tools_music -# Music And Sound Effects +# Music And Sound Effects for the Game Boy - @anchor hUGEdriver __hUGEtracker__ and __hUGEdriver__ A tracker and music driver that work with GBDK and RGBDS. @@ -115,6 +123,15 @@ This is a brief list of useful tools and information. It is not meant to be comp https://github.com/AntonioND/gbt-player Docs from GBStudio that should mostly apply: https://www.gbstudio.dev/docs/music/ +# Music And Sound Effects for the SMS/Game Gear + - @anchor Banjo + __Banjo__ + A sound driver for Sega Master System and Game Gear which can import from Furnace tracker. + - https://github.com/joffb/banjo + An example of using it with GBDK can be found in the CrossZGB engine. + - https://github.com/gbdk-2020/CrossZGB/commit/8ecd46639f3af420cfe139fc155740e8aa14d7c5 + + @anchor tools_emulators # Emulators diff --git a/docs/pages/06b_supported_consoles.md b/docs/pages/06b_supported_consoles.md @@ -568,6 +568,7 @@ The Mega Duck is (for practical purposes) functionally identical to the Original - Display registers and flag definitions: Some changed - Audio registers and flag definitions: Some changed - MBC ROM bank switching register address: `0x0001` (many Game Boy MBCs use `0x2000 - 0x3FFF`) + - Also see @ref links_megaduck_docs "links for megaduck development" ### Best Practices In order for software to be easily ported to the Mega Duck, or to run on both, use these practices. That will allow GBDK to automatically handle _most_ of the differences (for the exceptions see @ref megaduck_sound_register_value_changes "Sound Register Value Changes"). diff --git a/docs/pages/08_faq.md b/docs/pages/08_faq.md @@ -118,7 +118,8 @@ - You can use the @ref lcc_debug "lcc debug flag" `-debug`to turn on debug output. It covers most uses and removes the need to specify multiple flags such as `-Wa-l -Wl-m -Wl-j`. Also see @ref tools_debug. <!-- --> - Is it possible to generate a debug symbol file (`.sym`) compatible with an emulator? - - Yes, turn on `.noi` output (LCC argument: `-Wl-j` or `-debug` and then use `-Wm-yS` with LCC (or `-yS` with makebin directly). <!-- --> + - Yes, turn on `.noi` output (LCC argument: `-Wl-j` or `-debug` and then use `-Wm-yS` with LCC (or `-yS` with makebin directly). + - Also see additional information about using @ref tools_debug "debugging tools".<!-- --> - How do I move the start of the `DATA` section and the `Shadow OAM` location? - The default locations are: `_shadow_OAM=0xC000` and 240 bytes after it `_DATA=0xC0A0` diff --git a/gbdk-support/png2asset/process_arguments.cpp b/gbdk-support/png2asset/process_arguments.cpp @@ -96,9 +96,9 @@ int processPNG2AssetArguments(int argc, char* argv[], PNG2AssetArguments* args) printf("-py <y coord> metasprites pivot y coordinate (default: metasprites height / 2)\n"); printf("-pw <width> metasprites collision rect width (default: metasprites width)\n"); printf("-ph <height> metasprites collision rect height (default: metasprites height)\n"); - printf("-spr8x8 use SPRITES_8x8\n"); - printf("-spr8x16 use SPRITES_8x16 (this is the default)\n"); - printf("-spr16x16msx use SPRITES_16x16\n"); + printf("-spr8x8 for 8x8 hardware sprites (use SPRITES_8x8)\n"); + printf("-spr8x16 for 8x16 hardware sprites (use SPRITES_8x16) (the default)\n"); + printf("-spr16x16msx MSX only: for 16x16 hardware sprites (use SPRITES_16x16)\n"); printf("-sprite_no_optimize keep empty sprite tiles, do not remove duplicate tiles\n"); printf("-b <banknum> Bank number (default: fixed bank)\n"); printf("-area <area name> Area name. Alters \"pragma bank ...\" output to constseg style. (Ex: -area LIT)\n");

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