-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Including a lot of cleanup + bugfixes, more features, and an example program
- Loading branch information
Showing
18 changed files
with
2,134 additions
and
836 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "example/hardware.inc"] | ||
path = example/hardware.inc | ||
url = git@github.com:gbdev/hardware.inc.git |
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 |
---|---|---|
@@ -1,2 +1,12 @@ | ||
# gb-vwf | ||
A Variable-Width Font engine for the Game Boy. | ||
A very powerful Variable-Width Font engine for the Game Boy & Game Boy Color. | ||
|
||
For detailed instructions, including installation and usage, please check [the wiki](https://github.com/ISSOtm/gb-vwf/wiki) out. | ||
|
||
Bugs can be checked out and reported on [the issue tracker](https://github.com/ISSOtm/gb-vwf/issues), or by bugging me on the GBDev Discord, which you can find [here](https://gbdev.io). | ||
|
||
## Licensing | ||
|
||
The VWF engine itself is licensed under the MIT license; the example program is public domain, assets included. | ||
|
||
According to US law, fonts cannot be copyrighted. You can find some [here](https://github.com/pinobatch/bitmap-fonts/tree/master/vwf). |
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,10 @@ | ||
*.vwf | ||
*.2bpp | ||
*.o | ||
*.gb | ||
*.sym | ||
*.map | ||
charmap.asm | ||
*.sn* | ||
*.sav | ||
*.srm |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
for font in fonts/*.png; do | ||
python3 ../make_font.py $font ${font%.png}.vwf | ||
done | ||
rgbasm -Wall -Wextra -o vwf_config.o vwf_config.asm > charmap.asm | ||
|
||
rgbgfx -h -o button.2bpp button.png | ||
rgbgfx -o border_top.2bpp border_top.png | ||
rgbgfx -o border_vert.2bpp border_vert.png | ||
rgbgfx -o border_bottom.2bpp border_bottom.png | ||
rgbasm -Wall -Wextra -o main.o main.asm | ||
rgblink -d -n vwf.sym -m vwf.map -o vwf.gb vwf_config.o main.o | ||
rgbfix -v -p 0xff -m 0x11 vwf.gb | ||
rm fonts/*.vwf charmap.asm button.2bpp border_top.2bpp border_vert.2bpp border_bottom.2bpp main.o vwf_config.o |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Submodule hardware.inc
added at
3082d5
Oops, something went wrong.