Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Access screen memory or entering graphic mode

Reply
Thread Tools

Access screen memory or entering graphic mode

 
 
LM-Krav
Guest
Posts: n/a
 
      12-01-2005
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.

 
Reply With Quote
 
 
 
 
Skarmander
Guest
Posts: n/a
 
      12-01-2005
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.
 
Reply With Quote
 
 
 
 
Kenny McCormack
Guest
Posts: n/a
 
      12-01-2005
In article <(E-Mail Removed) .com>,
LM-Krav <(E-Mail Removed)> 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.

 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a
 
      12-01-2005
On 1 Dec 2005 15:12:09 -0800, in comp.lang.c , "LM-Krav"
<(E-Mail Removed)> 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 =----
 
Reply With Quote
 
Kenneth Brody
Guest
Posts: n/a
 
      12-02-2005
Kenny McCormack wrote:
>
> In article <(E-Mail Removed) .com>,
> LM-Krav <(E-Mail Removed)> 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: <(E-Mail Removed)>


 
Reply With Quote
 
Kenny McCormack
Guest
Posts: n/a
 
      12-02-2005
In article <(E-Mail Removed)>,
Kenneth Brody <(E-Mail Removed)> wrote:
>Kenny McCormack wrote:
>>
>> In article <(E-Mail Removed) .com>,
>> LM-Krav <(E-Mail Removed)> 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.

 
Reply With Quote
 
Kenneth Brody
Guest
Posts: n/a
 
      12-02-2005
Kenny McCormack wrote:
>
> In article <(E-Mail Removed)>,
> Kenneth Brody <(E-Mail Removed)> wrote:
> >Kenny McCormack wrote:
> >>
> >> In article <(E-Mail Removed) .com>,
> >> LM-Krav <(E-Mail Removed)> 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: <(E-Mail Removed)>

 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      12-02-2005
http://www.velocityreviews.com/forums/(E-Mail Removed) (Kenny McCormack) writes:
[the usual]

Please don't feed the troll.

--
Keith Thompson (The_Other_Keith) (E-Mail Removed) <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.
 
Reply With Quote
 
Kenny McCormack
Guest
Posts: n/a
 
      12-02-2005
In article <(E-Mail Removed)>,
Keith Thompson <(E-Mail Removed)> wrote:
>(E-Mail Removed) (Kenny McCormack) writes:
>[the usual]
>
>Please don't feed the troll.


But I *am* the troll!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to mouseover a GRAPHIC . . . that launches another (freestanding) GRAPHIC (ie. when flash is _not_ available)? 50 SOMETHING GAL HTML 3 12-10-2006 01:10 AM
IOS user authentication when entering enable mode MayaShani@gmail.com Cisco 3 03-13-2006 07:07 AM
Firefox 1.5 entering FIND mode randomly partytildawn Firefox 1 12-07-2005 11:43 PM
How to make GridView entering edit mode by code? Michael ASP .Net 2 11-09-2005 04:28 PM
Problem of entering setup mode Keung Cisco 0 11-26-2004 03:19 PM



Advertisments