*BSD News Article 19941


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!not-for-mail
From: NEWCOMBE@AA.csc.Peachnet.EDU ("Dan Newcombe" )
Newsgroups: comp.os.386bsd.development
Subject: Doing a screen write from Protected Mode
Date: 24 Aug 1993 08:22:42 -0500
Organization: UTexas Mail-to-News Gateway
Lines: 23
Sender: daemon@cs.utexas.edu
Message-ID: <MAILQUEUE-101.930824092308.288@AA.csc.peachnet.edu>
NNTP-Posting-Host: cs.utexas.edu

[I know this is a little of subject, but please bear with me]


I am working on program that will run in protected mode.  I have
it in protected mode already and the code is being attached to
the protected mode statup code via gcc and a few other things.

But how would I do a write to the screen once I'm in protected mode?
I know that BIOS interuppts won't work, and that I basically need
to write to the address's starting at the video display b8000h, but
what do I need to do, as just moving a value there does nothing and
I keep having to press reset.

Any help'd be wonderful... Thanks!!!
  -Dan

--
Daniel A. Newcombe                                  Clayton State College
Computing Services                                  Morrow, GA 30260
E-Mail Address: newcombe@aa.csc.peachnet.edu        (404)-961-3421
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
In a hole in the ground there lived a hobbit.
                    -J.R.R. Tolkien, The Hobbit