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
| #!/bin/sh | |
| # Ry's shell profile | |
| # prompt colors (xterm-256color values) | |
| # comment-out a color to disable it | |
| COLOR_USER=014 | |
| #COLOR_AT=049 | |
| COLOR_HOST=013 | |
| COLOR_DIR=190 |
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
| #include <nds.h> | |
| #include <stdio.h> | |
| void printCharacterDelay(char c, unsigned int delay) { | |
| do { swiWaitForVBlank(); } while (--delay); | |
| putchar(c); | |
| } | |
| void printStringDelay(const char* str, unsigned int delay) { | |
| for (char c; (c = *str++);) { |