-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/build | ||
/target | ||
bx_enh_dbg.ini | ||
out.txt | ||
|
||
.idea |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
pub const SPLASH: &'static str = | ||
"▄ ▄ ▄ | ||
██▄ ▄██ | ||
█ ▀█▄ ▄█▀▐█ | ||
█ ▀▄ ▄▀ ▐█ | ||
█ ▀█ █▀ ▐█ | ||
█ ██▄ ▀█▄ ▄█▀ ▄█▌ ▐█ | ||
█ █▌▀█▄ ▀██ ██▀ ▄█▀▐▌ ▐█ | ||
█ █▌ ▀▄ ▄▀ ▐▌ ▐█ | ||
█ ▐██ ▄▀ ██ ▀▄ ██▌▐█ | ||
█ █▀ ▐▌ ▀█ ▐█ | ||
█ ▄█▀ ▐▌ ▀█▄ ▐█ | ||
█▄█▀ ▐▌ ▀█▄█ | ||
█▀ ▐▌ ▀█ | ||
▐▌ | ||
▀█▄▄▄▄▄▄▄▄▄▄ ▐▌ ▄▄▄▄▄▄▄▄▄▄█▀ | ||
▐▌ | ||
▐▌ | ||
▄▄ ▐▌ ▄▄ | ||
▀█▄▄▄▄▄▄▄▄▄▄▄▄▄▄██ ▄▄▄▄▄▄▄▄▄▄ ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▀ | ||
▀██████▀ | ||
▀▀▀▀▀▀▀▀▀▀▀▀▀▀██ ▀██▀ ██▀▀▀▀▀▀▀▀▀▀▀▀▀▀ | ||
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ||
Press any key to start..."; | ||
|
||
pub fn splash() { | ||
for c in SPLASH.chars() { | ||
match c { | ||
'▀' => print!("{}", 0xdf as char), | ||
'▐' => print!("{}", 0xde as char), | ||
'▌' => print!("{}", 0xdd as char), | ||
'▄' => print!("{}", 0xdc as char), | ||
'█' => print!("{}", 0xdb as char), | ||
'\n' => {}, | ||
_ => print!("{}", c), | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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