Access screen memory or entering graphic mode

Discussion in 'C Programming' started by LM-Krav, Dec 1, 2005.

  1. LM-Krav

    LM-Krav Guest

    Hey all,

    i'm trying to access the screen memory,
    and generaly - enter the graphic mode.
    and do not know it's address or the commandline for it,
    please tell me what it is (the address or command line),
    and Assembly code will do just as well,

    Thanks,

    LM-krav.
    LM-Krav, Dec 1, 2005
    #1
    1. Advertising

  2. LM-Krav

    Skarmander Guest

    LM-Krav wrote:
    > Hey all,
    >
    > i'm trying to access the screen memory,
    > and generaly - enter the graphic mode.
    > and do not know it's address or the commandline for it,
    > please tell me what it is (the address or command line),
    > and Assembly code will do just as well,
    >


    It's impossible to tell, since you haven't said what OS or hardware is
    involved. Even if you did, though, this is not a C-specific problem. Please
    read http://www.ungerhu.com/jxh/clc.welcome.txt and the FAQ at
    http://www.eskimo.com/~scs/C-faq/top.html. You should be able to find a more
    appropriate newsgroup.

    S.
    Skarmander, Dec 1, 2005
    #2
    1. Advertising

  3. In article <>,
    LM-Krav <> wrote:
    >Hey all,
    >
    >i'm trying to access the screen memory,
    >and generaly - enter the graphic mode.
    >and do not know it's address or the commandline for it,
    >please tell me what it is (the address or command line),
    >and Assembly code will do just as well,


    Allow me to be the first to say this - and I say it from the deepness of my
    heart, with all the kindness and love one has come to associate with the
    helpful posts you get in this newsgroup:

    Not portable. Can't discuss it here. Blah, blah, blah.
    Kenny McCormack, Dec 1, 2005
    #3
  4. On 1 Dec 2005 15:12:09 -0800, in comp.lang.c , "LM-Krav"
    <> wrote:

    >Hey all,
    >
    >i'm trying to access the screen memory,
    >and generaly - enter the graphic mode.


    You can't, not in ISO C, and generally speaking not under any modern
    OS since direct hardware access is forbidden.

    You need to ask this is a group specialising in your particular OS,
    and be prepared to discover that many OSen will stop you doing this
    unless you're the operating system kernel.
    --
    Mark McIntyre
    CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
    CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

    ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
    ----= East and West-Coast Server Farms - Total Privacy via Encryption =----
    Mark McIntyre, Dec 1, 2005
    #4
  5. Kenny McCormack wrote:
    >
    > In article <>,
    > LM-Krav <> wrote:
    > >Hey all,
    > >
    > >i'm trying to access the screen memory,
    > >and generaly - enter the graphic mode.
    > >and do not know it's address or the commandline for it,
    > >please tell me what it is (the address or command line),
    > >and Assembly code will do just as well,

    >
    > Allow me to be the first to say this - and I say it from the deepness of my
    > heart, with all the kindness and love one has come to associate with the
    > helpful posts you get in this newsgroup:
    >
    > Not portable. Can't discuss it here. Blah, blah, blah.


    Considering that the question can't be answered, even if it were on
    topic, it's not really relevent that any answer that might be posted
    won't be portable.

    And the correct answer is "you can't do it at all in C", since many
    systems don't allow you direct access to screen memory, and there are
    others that don't even have screen memory.

    --
    +-------------------------+--------------------+-----------------------------+
    | Kenneth J. Brody | www.hvcomputer.com | |
    | kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
    +-------------------------+--------------------+-----------------------------+
    Don't e-mail me at: <mailto:>
    Kenneth Brody, Dec 2, 2005
    #5
  6. In article <>,
    Kenneth Brody <> wrote:
    >Kenny McCormack wrote:
    >>
    >> In article <>,
    >> LM-Krav <> wrote:
    >> >Hey all,
    >> >
    >> >i'm trying to access the screen memory,
    >> >and generaly - enter the graphic mode.
    >> >and do not know it's address or the commandline for it,
    >> >please tell me what it is (the address or command line),
    >> >and Assembly code will do just as well,

    >>
    >> Allow me to be the first to say this - and I say it from the deepness of my
    >> heart, with all the kindness and love one has come to associate with the
    >> helpful posts you get in this newsgroup:
    >>
    >> Not portable. Can't discuss it here. Blah, blah, blah.

    >
    >Considering that the question can't be answered, even if it were on
    >topic, it's not really relevent that any answer that might be posted
    >won't be portable.
    >
    >And the correct answer is "you can't do it at all in C", since many
    >systems don't allow you direct access to screen memory, and there are
    >others that don't even have screen memory.


    Agreed, but I think my version was a lot more succint and
    newbie-accessible. Says everything yours does, with far fewer words.
    Kenny McCormack, Dec 2, 2005
    #6
  7. Kenny McCormack wrote:
    >
    > In article <>,
    > Kenneth Brody <> wrote:
    > >Kenny McCormack wrote:
    > >>
    > >> In article <>,
    > >> LM-Krav <> wrote:
    > >> >Hey all,
    > >> >
    > >> >i'm trying to access the screen memory,
    > >> >and generaly - enter the graphic mode.
    > >> >and do not know it's address or the commandline for it,
    > >> >please tell me what it is (the address or command line),
    > >> >and Assembly code will do just as well,
    > >>
    > >> Allow me to be the first to say this - and I say it from the deepness of my
    > >> heart, with all the kindness and love one has come to associate with the
    > >> helpful posts you get in this newsgroup:
    > >>
    > >> Not portable. Can't discuss it here. Blah, blah, blah.

    > >
    > >Considering that the question can't be answered, even if it were on
    > >topic, it's not really relevent that any answer that might be posted
    > >won't be portable.
    > >
    > >And the correct answer is "you can't do it at all in C", since many
    > >systems don't allow you direct access to screen memory, and there are
    > >others that don't even have screen memory.

    >
    > Agreed, but I think my version was a lot more succint and
    > newbie-accessible. Says everything yours does, with far fewer words.


    On the other hand, I don't detect the hints at sarcasm in mine as I did
    in yours. :)

    --
    +-------------------------+--------------------+-----------------------------+
    | Kenneth J. Brody | www.hvcomputer.com | |
    | kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
    +-------------------------+--------------------+-----------------------------+
    Don't e-mail me at: <mailto:>
    Kenneth Brody, Dec 2, 2005
    #7
  8. (Kenny McCormack) writes:
    [the usual]

    Please don't feed the troll.

    --
    Keith Thompson (The_Other_Keith) <http://www.ghoti.net/~kst>
    San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
    We must do something. This is something. Therefore, we must do this.
    Keith Thompson, Dec 2, 2005
    #8
  9. In article <>,
    Keith Thompson <> wrote:
    > (Kenny McCormack) writes:
    >[the usual]
    >
    >Please don't feed the troll.


    But I *am* the troll!
    Kenny McCormack, Dec 2, 2005
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael
    Replies:
    2
    Views:
    6,242
    Michael
    Nov 9, 2005
  2. John J Lee
    Replies:
    3
    Views:
    470
    bruno at modulix
    Dec 1, 2005
  3. 50 SOMETHING GAL
    Replies:
    3
    Views:
    398
  4. =?Utf-8?B?QWRhciBXZXNsZXk=?=

    GridView not entering Line Editing mode when inside FormView

    =?Utf-8?B?QWRhciBXZXNsZXk=?=, May 10, 2007, in forum: ASP .Net
    Replies:
    5
    Views:
    519
    Steven Cheng[MSFT]
    May 28, 2007
  5. Michael

    GridView disapears after entering edit mode.

    Michael, Mar 21, 2006, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    208
    Ukraine
    Apr 2, 2006
Loading...

Share This Page