Connecting Tech Pros Worldwide Forums | Help | Site Map

Access screen memory or entering graphic mode

LM-Krav
Guest
 
Posts: n/a
#1: Dec 1 '05
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.


Skarmander
Guest
 
Posts: n/a
#2: Dec 1 '05

re: Access screen memory or entering graphic mode


LM-Krav wrote:[color=blue]
> 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,
>[/color]

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.
Kenny McCormack
Guest
 
Posts: n/a
#3: Dec 1 '05

re: Access screen memory or entering graphic mode


In article <1133478729.883174.186460@g44g2000cwa.googlegroups .com>,
LM-Krav <grnadav@gmail.com> wrote:[color=blue]
>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,[/color]

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.

Mark McIntyre
Guest
 
Posts: n/a
#4: Dec 1 '05

re: Access screen memory or entering graphic mode


On 1 Dec 2005 15:12:09 -0800, in comp.lang.c , "LM-Krav"
<grnadav@gmail.com> wrote:
[color=blue]
>Hey all,
>
>i'm trying to access the screen memory,
>and generaly - enter the graphic mode.[/color]

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 =----
Kenneth Brody
Guest
 
Posts: n/a
#5: Dec 2 '05

re: Access screen memory or entering graphic mode


Kenny McCormack wrote:[color=blue]
>
> In article <1133478729.883174.186460@g44g2000cwa.googlegroups .com>,
> LM-Krav <grnadav@gmail.com> wrote:[color=green]
> >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,[/color]
>
> 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.[/color]

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:ThisIsASpamTrap@gmail.com>


Kenny McCormack
Guest
 
Posts: n/a
#6: Dec 2 '05

re: Access screen memory or entering graphic mode


In article <438F91FA.D6640208@spamcop.net>,
Kenneth Brody <kenbrody@spamcop.net> wrote:[color=blue]
>Kenny McCormack wrote:[color=green]
>>
>> In article <1133478729.883174.186460@g44g2000cwa.googlegroups .com>,
>> LM-Krav <grnadav@gmail.com> wrote:[color=darkred]
>> >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,[/color]
>>
>> 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.[/color]
>
>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.[/color]

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

Kenneth Brody
Guest
 
Posts: n/a
#7: Dec 2 '05

re: Access screen memory or entering graphic mode


Kenny McCormack wrote:[color=blue]
>
> In article <438F91FA.D6640208@spamcop.net>,
> Kenneth Brody <kenbrody@spamcop.net> wrote:[color=green]
> >Kenny McCormack wrote:[color=darkred]
> >>
> >> In article <1133478729.883174.186460@g44g2000cwa.googlegroups .com>,
> >> LM-Krav <grnadav@gmail.com> 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.[/color]
> >
> >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.[/color]
>
> Agreed, but I think my version was a lot more succint and
> newbie-accessible. Says everything yours does, with far fewer words.[/color]

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:ThisIsASpamTrap@gmail.com>

Keith Thompson
Guest
 
Posts: n/a
#8: Dec 2 '05

re: Access screen memory or entering graphic mode


gazelle@yin.interaccess.com (Kenny McCormack) writes:
[the usual]

Please don't feed the troll.

--
Keith Thompson (The_Other_Keith) kst-u@mib.org <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.
Kenny McCormack
Guest
 
Posts: n/a
#9: Dec 2 '05

re: Access screen memory or entering graphic mode


In article <lnwtine4l2.fsf@nuthaus.mib.org>,
Keith Thompson <kst-u@mib.org> wrote:[color=blue]
>gazelle@yin.interaccess.com (Kenny McCormack) writes:
>[the usual]
>
>Please don't feed the troll.[/color]

But I *am* the troll!

Closed Thread