-
-
Save taylus/607c9ac6cfff1655ed9637a3721a5fd0 to your computer and use it in GitHub Desktop.
Debugging Messages in no$gmb and BGB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IF !DEF(DEBUG_INC) | |
| DEBUG_INC SET 1 | |
| ; Prints a message to the no$gmb / bgb debugger | |
| ; Accepts a string as input, see emulator doc for support | |
| DBGMSG: MACRO | |
| ld d, d | |
| jr .end\@ | |
| DW $6464 | |
| DW $0000 | |
| DB \1 | |
| .end\@: | |
| ENDM | |
| ENDC ; DEBUG_INC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment