From: James S. <jsi...@tr...> - 2001-05-17 17:03:03
|
> I want to draw a picture to the fb, and allow texts only below the > picture, as it is at the bootup process. > can I do it somehow, or is it hacked into the framebuffer initialization? You have to open the tty and send a escape sequence to set what are the top and bottom rows. I believe it is \33[1;30r you have to write to the tty. The 1 represents the top row and the 30 represents the bottom row. Since this is by row you figure out how many rows the image takes you. You do this by taking the image size and divide by the font height then round it up if you have a remander. This is what you have to pass for your top row variable. Remember to reset it after exit the program :-) |