linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Richard Cooper" <peajay@funrestraints.com>
To: linux-assembly@vger.kernel.org
Subject: Re: How to Use the vm86 System Call
Date: Thu, 15 Sep 2005 18:07:10 -0400	[thread overview]
Message-ID: <op.sw5zp8fmnro9m0@sucks.airplane.fire> (raw)
In-Reply-To: <op.sw5v2ltgnro9m0@winfuck>

On Thu, 15 Sep 2005 16:48:18 -0400, Richard Cooper  
<peajay@funrestraints.com> wrote:

> I'll have a look [at various source codes]and see if I can figure  
> anything out.

Damn, I wish I would have just done that right from the beginning...

Turns out SVGAlib does all of the vm86 stuff through a file called  
lrmi.c.  So I looked in lrmi.c and at the top is this comment about how  
it's the "Linux Real Mode Interface" and some other stuff that makes it  
sound an awful lot like public domain.

So I went and found the "Linux Real Mode Interface" and downloaded it.

It's just a few C files along with a makefile to make a little test  
program.  It looks pretty nice, at least the test program compiled without  
warnings and didn't require me to install any libraries, and as an added  
surprise, worked without a problem.  (looks like all the test program does  
is let you pick a VESA mode, then it sets it for five seconds, then  
restores the old mode, but that's enough to say that it works)

Since it's mostly compatible with public domain, I don't even have to try  
to figure out how it works, I can just use it.  I'm not sure if the test  
program does VBE 1.2 or not, but I'm sure I can figure that out on my own.

I'd still like to know how that vm86 call works, but this should work just  
fine for what I'm doing.

It's so nice to be in Linux again...  Copy and paste doesn't work in  
Windows.  (At least not with the middle mouse button, which is how I  
usually do it.)

Interestingly, I've learned that there're 357 people signed up to this  
mailing list.  I had no idea.  I thought it was more like 20 or 30.

  reply	other threads:[~2005-09-15 22:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 18:04 How to Use the vm86 System Call Richard Cooper
2005-09-15 19:52 ` Claudio Fontana
2005-09-15 20:48   ` Richard Cooper
2005-09-15 22:07     ` Richard Cooper [this message]
2005-09-16  6:28       ` Richard Cooper

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=op.sw5zp8fmnro9m0@sucks.airplane.fire \
    --to=peajay@funrestraints.com \
    --cc=linux-assembly@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 read-only IMAP folder(s) and NNTP newsgroup(s).