Access screen memory or entering graphic mode

L

LM-Krav

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.
 
S

Skarmander

LM-Krav said:
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.
 
K

Kenny McCormack

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.
 
M

Mark McIntyre

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.
 
K

Kenneth Brody

Kenny said:
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:[email protected]>
 
K

Kenny McCormack

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.
 
K

Kenneth Brody

Kenny said:
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:[email protected]>
 
K

Keith Thompson

(e-mail address removed) (Kenny McCormack) writes:
[the usual]

Please don't feed the troll.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top