{"repo":"JSBattista/Characters_To_Linux_Buffer_THE_HARD_WAY","free":true,"listed":false,"github":"https://github.com/JSBattista/Characters_To_Linux_Buffer_THE_HARD_WAY","clone":"git clone https://github.com/JSBattista/Characters_To_Linux_Buffer_THE_HARD_WAY.git","description":"Quick and dirty characters to Linux Buffer in C - the hard way - with \"glyph arrays\", array fu, pointer fu, but no breasts, explosions, or car chases","language":"C","stars":47,"topics":["graphics","c","linux","framebuffer","raspberry-pi","arduino","beaglebone","arrays","pointers-and-arrays","fonts"],"license":null,"category":"self-hosted-apps","readme_excerpt":"Characters To Linux Buffer THE HARD WAY Quick and dirty characters to Linux Buffer in C - the hard way - with \"glyph arrays\", array fu, pointer fu, but no breasts, explosions, or car chases This project is all about character. When looking to put characters to screen for a Linux Buffer, I wanted to create a display for data but the actual text of the console was too small on the barbones non-GUI Raspberry Pi that was targted for this project. This project is based on other work, a good example of framebuffer handling in Linux. See http://raspberrycompote.blogspot.com/2015/01/low-level-graphics-on-raspberry-pi-part.html So what was done in for this project was a bunch of arrays of 1s and 0s representing characters and numbers were created and these arrays are looped through with a \"set pixel\" routine to determine when and where an actual pixel is written to with a color value. The fonts are based on the Aliens sentry guns. https://www.youtube.com/watch?v=HQDy-5IQvuU This demo assumes that not every system is going to be fast and have an HDMI screen (that overheats in my case - don't be me) so pay attention to this line: vinfo.bits per pixel = 8; The color values range 0 to 15. This is not the deepest color of course. If you raise this \"depth\" you could slow things down, but you get a wider range of colors. And these: vinfo.xres = 1184; vinfo.yres = 624; Your screen, be it HDMI, or some TFT LCD perhaps - it matters not to a Linux Framebuffer routine as long as you get the /dev/","default_branch":null,"files":null,"tree":[],"storefront":"/r/JSBattista","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JSBattista/Characters_To_Linux_Buffer_THE_HARD_WAY/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}