linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frederic Marmond <fmarmond@eprocess.fr>
To: icepic <icepic1984@gmx.de>
Cc: linux-assembly@vger.kernel.org
Subject: Re: writing to the videoram
Date: Mon, 16 Jun 2003 08:43:38 +0200	[thread overview]
Message-ID: <3EED671A.9000007@eprocess.fr> (raw)
In-Reply-To: <00cf01c3336a$92240550$0145a8c0@icepic>

icepic wrote:

>Hi!
>
>I have a problem.
>I want to write directly to the videoram under linux.
>Because of the realmode i have some problems..
>can someone explain how it works?
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>  
>
realmode ?!?
Hey, on which cpu are you??? ;-)
I guess you are on x86 architecture, so, some explainations:
- x86 have 3 main modes of use: real, virtual and protected (plus a 
usefull hybrid: flat)
- Linux is on protected mode
- the bootloader (lilo, grub) make the switch from real mode (when you 
switch on your PC, it is in real-mode, for 8086 compatibility!) to the 
protected mode.

If you want to write to the video memory, one basic thing would be to 
write it from the kernel (who have the right to read/write everywhere). 
 From the user-space, you'll have to ask the write access to the kernel.

Could you please ask a more precise question?!?

Fred


      reply	other threads:[~2003-06-16  6:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-15 18:18 writing to the videoram icepic
2003-06-16  6:43 ` Frederic Marmond [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EED671A.9000007@eprocess.fr \
    --to=fmarmond@eprocess.fr \
    --cc=icepic1984@gmx.de \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).