framebuffer implementation

This is a discussion on framebuffer implementation within the Linux Programming forums, part of the Platform Specific Boards category; hello! im writing a notepad like program for linux framebuffer, currently i use just mmap-ed /dev/fd0 but problem is that ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    8

    framebuffer implementation

    hello! im writing a notepad like program for linux framebuffer, currently i use just mmap-ed /dev/fd0 but problem is that command line cursor blinks still thru, and when program is running and you switch to other terminal, pixels are also being drawn there. i checked out bogl, it work right way, it should support 32bit truecolor mode too, but i couldn't find usable example for 32bits, only 16 colours. what to do?

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Disabling the cursor

    Hi,

    You can put the below code to disable the cursor.

    handle = open(FB_TTY, O_RDWR);
    write(handle, "\033[?1c", 5);

    In this way, you can disable the cursor. I have a doubt . Please help me.

    How to display a string or a character onto a frame buffer? This is urgent. Thank you. Please mail me to mouli123@gmail.com

    With regards,
    Chandramouli

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. rand() implementation
    By habert79 in forum C Programming
    Replies: 4
    Last Post: 02-07-2009, 01:18 PM
  2. implementation file
    By bejiz in forum C++ Programming
    Replies: 5
    Last Post: 11-28-2005, 01:59 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 04:00 PM
  4. Pure virtual implementation, or not.
    By Eibro in forum C++ Programming
    Replies: 2
    Last Post: 03-19-2003, 08:05 PM
  5. implementation?
    By calQlaterb in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 10:25 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21