Fork of fbida from https://www.kraxel.org/blog/linux/fbida/