linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* writing to the videoram
@ 2003-06-15 18:18 icepic
  2003-06-16  6:43 ` Frederic Marmond
  0 siblings, 1 reply; 2+ messages in thread
From: icepic @ 2003-06-15 18:18 UTC (permalink / raw)
  To: linux-assembly

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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: writing to the videoram
  2003-06-15 18:18 writing to the videoram icepic
@ 2003-06-16  6:43 ` Frederic Marmond
  0 siblings, 0 replies; 2+ messages in thread
From: Frederic Marmond @ 2003-06-16  6:43 UTC (permalink / raw)
  To: icepic; +Cc: linux-assembly

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-16  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-15 18:18 writing to the videoram icepic
2003-06-16  6:43 ` Frederic Marmond

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