On Sat, 24 Aug 2002, Ilya Konstantinov wrote:

> On Sat, Aug 24, 2002 at 11:29:28PM +0300, Noam Meltzer wrote:
> > hi!
> > I have this weird problem that after I start X I can't return to console
> > mode any more. (I'm talking here even on a minimal X - aka. running:
> > "X")
> 
> Can any Asm wiz here code a (root-privileges-requiring, of course)
> program to do a mode switch to 80x25 via int 10 or direct memory
> access or however its possible in Linux?

I don't know about "Asm wiz"es, but svgalib includes three programs for
restoring a textmode:
restoretextmode - depends on svgalib support of the video card, and
requires prior saving of textmode
mode3 - uses vesa command 4f02 to set mode.
vga_reset - calls vga bios reset routine at c000:0003




-- 
Matan Ziv-Av.                         [EMAIL PROTECTED]



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to