gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 545244841712f069677027b960561677dc1eadd5 parent 8d79fc6949a03ca05cad62f36acbe2f8701e98dd Author: bbbbbr <reg+github@roughhousing.com> Date: Fri, 23 Jul 2021 23:15:48 -0700 Update BGB debug example Change website url to https, fix loop debug printing, remove XRAM that is a duplicate of SRAM Diffstat:
| M | gbdk-lib/examples/gb/bgb_debug/bgb_debug.c | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gbdk-lib/examples/gb/bgb_debug/bgb_debug.c b/gbdk-lib/examples/gb/bgb_debug/bgb_debug.c @@ -17,7 +17,7 @@ // // See the BGB Manual for more information // ("expressions, breakpoint conditions, and debug messages") -// http://bgb.bircd.org/manual.html#expressions +// https://bgb.bircd.org/manual.html#expressions int main(void) { @@ -99,7 +99,7 @@ int main(void) } // Elapsed cycle count output is in hex. // Remember to divide by 2 for the result (Normal Speed) - BGB_PROFILE_END(NOP TIME); + BGB_PROFILE_END(LOOP TIME); } @@ -113,7 +113,6 @@ int main(void) // Which Banks are currently active (for MBC based cartridges) BGB_MESSAGE("Current ROM bank: %ROMBANK%"); - BGB_MESSAGE("Current XRAM bank: %XRAMBANK%"); BGB_MESSAGE("Current SRAM bank: %SRAMBANK%"); // These are only banked in the CGB BGB_MESSAGE("Current VRAM bank: %VRAMBANK%");
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.