From: Linus Torvalds <torvalds@osdl.org>
To: "Richard B. Johnson" <linux-os@analogic.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Screen regen buffer at 0x00b8000
Date: Fri, 20 May 2005 13:03:36 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0505201259560.2206@ppc970.osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0505200944060.5921@chaos.analogic.com>
On Fri, 20 May 2005, Richard B. Johnson wrote:
>
> Why can't I consistantly write to the VGA screen regen buffer
> and have it appear on the screen????
Don't do it.
> It looks like access there is cached??? One needs to change
> VT consoles to make it appear!!
No.
> The screen-regen buffer at this address is hardware, in the
> chip! It should not be cached!
It's not cached, and it's hardware, and you don't know your VGA well
enough.
0x00b8000 may be the beginning of video memory (in certain text
configurations) but it is _not_ where the screen is. That is offset by the
text offset register (I forget what index that is), and what you're seeing
is almost certainly due to the fact that the kernel VGA console driver
scrolls by just changing that offset, instead of moving lots of slow PCI
memory around.
Switching consoles works for you, because it ends up resetting the offset.
Anyway, you really _really_ shouldn't do anything like this in the first
place.
Linus
next prev parent reply other threads:[~2005-05-20 20:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-20 13:48 Richard B. Johnson
2005-05-20 14:14 ` Jan-Benedict Glaw
2005-05-20 14:43 ` Marco Rogantini
2005-05-20 15:24 ` Richard B. Johnson
2005-05-20 16:34 ` Marco Rogantini
2005-05-20 15:31 ` Richard B. Johnson
2005-05-20 19:26 ` Geert Uytterhoeven
2005-05-20 19:45 ` Valdis.Kletnieks
2005-05-20 19:59 ` Richard B. Johnson
2005-05-20 20:03 ` Linus Torvalds [this message]
2005-05-20 20:17 ` Richard B. Johnson
2005-05-20 21:21 ` Jon Smirl
2005-05-20 21:27 ` Richard B. Johnson
2005-05-20 23:39 ` James Simmons
2005-05-23 18:28 ` Gábor Lénárt
2005-05-23 18:56 ` Richard B. Johnson
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=Pine.LNX.4.58.0505201259560.2206@ppc970.osdl.org \
--to=torvalds@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.com \
/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
all inboxes | Powered by JetHome®