linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boris Pisarcik <boris@acheron.sk>
To: linux-kernel@vger.kernel.org
Subject: Re: Basic Text Mode (was: Re: Question about SysRq)
Date: Wed, 4 Apr 2001 09:44:12 +0200	[thread overview]
Message-ID: <20010404094412.B808@Boris> (raw)
In-Reply-To: <20010331230454.A801@Boris> <000201c0bb97$6c4e4ae0$de00a8c0@homeip.net>
In-Reply-To: <000201c0bb97$6c4e4ae0$de00a8c0@homeip.net>; from eccesys@topmail.de on Mon, Apr 02, 2001 at 04:35:56PM -0000

> It is a very good idea, and to implement quite easy. You just do have to
> diff between three types of video cards (MDA, MGA and HGC vs. CGA and AGA vs. EGA+).
> Then you do direct register writes. For the HGC I did it recently in a DOS proggy
> which switched from text to gfx and back. I had a TSR which simulated a gfx BIOS.
> Only problem is, I lost the source. But I could rewrite and test it on request.
> I even would put it under GPL for the kernel (normally this is a no-no for me),
> just ask me. I will write it in NASM then because I can't the AT&T syntax.
> For non-i386 Platforms I do not know about this topic. (IIRC the Apples didnt
> even have a text mode)
> Maybe I could look up the EGA register values somewhere.

The hardware part of mode restoring could really be done the register way and
may be interesting - i did code a lot in dos and this is what i did too, 
if i had experience with register programming and vga(..). Mostly i skipped
this arena, because i have had information about vga registers just enough
to damage monitor, so rather used VESA for video stuff :)
But i think only this way should break some internal state of console or
what driver. 

Thanks for the willingness, thought. I read from the thread - James Simmons,
console developer, is working on it, so you may eg. ask to cooperate with him,
he surely has a lot of ideas of text/vga switching in linux.

Cheers                                                               B.

  reply	other threads:[~2001-04-04  7:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-31 21:04 Question about SysRq Boris Pisarcik
2001-04-02 16:35 ` Basic Text Mode (was: Re: Question about SysRq) Thorsten Glaser Geuer
2001-04-04  7:44   ` Boris Pisarcik [this message]
2001-04-02 23:59 ` Question about SysRq Dr. Kelsey Hudson
2001-04-04  0:39   ` Boris Pisarcik
2001-04-03 22:36     ` Andreas Dilger
2001-04-12 18:51     ` Dr. Kelsey Hudson
     [not found] ` <m2n1a1pj8r.fsf@boreas.yi.org.>
2001-04-04  7:12   ` Boris Pisarcik
2001-04-03  2:59 Basic Text Mode (was: Re: Question about SysRq) James Simmons
2001-04-04  7:57 ` Boris Pisarcik

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=20010404094412.B808@Boris \
    --to=boris@acheron.sk \
    --cc=linux-kernel@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).