diff --git a/bmp2font.c b/bmp2font.c index d9a2066..cfef059 100644 --- a/bmp2font.c +++ b/bmp2font.c @@ -1,3 +1,13 @@ +/* This script os meant to convert a 256x256 pixel bitmap into an bitmap of + * 8x8 pixel characters. When deciding upon the output format, i had the + * video output of scanlines in mind. So there are 8 sections for each row + * of pixels for a character cell, each secton containing the the pixel line + * data of all 256 character codes. If you align this blob to 256-bytes, you + * quickly fetch the data by pointing bx to the begin of the section for the + * pixel line you are currently drawing, then set bl to the character value + * you want to print and dereference [bx]. + */ + #include #include #include