Results 1 to 3 of 3

Thread: memory addresses for bash screen

  1. #1
    Join Date
    Jul 2009
    Location
    Karachi, Pakistan
    Beans
    194
    Distro
    Ubuntu 10.04 Lucid Lynx

    memory addresses for bash screen

    I have a very old book (Let Us C by Yashavant Kanetkar) which tells me that the first letter on-screen is stored in the memory address 0xB8000000 with its color in 0xB8000001. I can not figure out how I can apply this to bash????

  2. #2
    Join Date
    May 2007
    Beans
    245
    Distro
    Ubuntu 10.04 Lucid Lynx

    Lightbulb Re: memory addresses for bash screen

    Hi Waqar,

    Due to the way modern operating systems re-map all the memory addresses via a Virtual Memory scheme, there is no way of knowing what the true address will be at any given time. Also, due to the protective measures imposed by modern OSs, you do not have direct access to hardware resources from a user-mode application.

    http://en.wikipedia.org/wiki/Virtual_memory

    I suggest that you install a FrameBuffer driver - it is very similar to what you want to achieve.

    http://en.wikipedia.org/wiki/Framebuffer

    Nathan.

  3. #3
    Join Date
    Jul 2009
    Location
    Karachi, Pakistan
    Beans
    194
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: memory addresses for bash screen

    ^^ many thanks

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •