Re:Another Game Boy emulator for your terminal
by glhaynes on Friday February 13, 2015 @03:18PM
(#9046921)
It's using a console font:
Ubuntu users may see the message "Failed to set font height." Term Boy uses the setfont command to change the font height, which looks for the font default8x16.psfu in /usr/share/consolefonts. The font can be downloaded from the Kbd project. Download any of the archives and the font will be located in data/consolefonts.
Re:Another Game Boy emulator for your terminal
by cogburnd02 on Saturday February 14, 2015 @04:44AM
(#9049224)
How is this font able to do graphics like this?
Re:Another Game Boy emulator for your terminal
by glhaynes on Saturday February 14, 2015 @02:34PM
(#9050529)
The original Game Boy display was 160x144 pixels. The font's name implies that it's made of 8x16 pixel characters. So I'm guessing each glyph in it is used to represent a unique configuration of 2x4 Game Boy pixels because that'd mean an 80x36 character terminal, a fairly common terminal size, would fit perfectly. Since the Game Boy display only has 2-bit color depth (so, 4 colors), that means the font would need 4^8 (65,536) glyphs.
I expected the grayscale pixels to be drawn with some kind of grayscale characters (like "-=#$"), but judging from the screenshots those are actual graphics.
Is it messing with the framebuffer, or does it really work with a simple terminal, like over SSH?