www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/22/14:06:46

Message-Id: <3.0.16.19980322200001.2c4757ba@hem1.passagen.se>
Date: Sun, 22 Mar 1998 20:00:07 -0500
To: djgpp AT delorie DOT com
From: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
Subject: Portable Kernel Ideas (off-topic)
Mime-Version: 1.0

I would like suggestions and ideas concerning a portable "kernel"
interface. I.e. an interface of functions and objects for diffrent things
such as Video-output interface, Keyboard/Mouse input interface,
Multithreading interface, Timers and perhaps other things that should be
included in a "kerlen" for ex. a GUI.  By portable I mean that it should be
possible to implement this interface on "any" OS/Machine type.

Ofcourse I don't mean ex. a portable mouse driver because that would be
impossible to create but an interface for an in this case mouse driver that
can be implemented, i.e. a driver can be written from that interface on any
(most) OS's/Machines.

A lot of problems occur here as anyone can see. Concerning keyboard and
mouse for an example, is it possible to implement this so that a callback
function is automatically called whenever an
keystroke/keydown/keyup/moseclick etc. occurs, or is it neccessary to
constantly poll for these events? On a i386 architecture it should be
possible to have a callback function called I think, is this not correct?
(I know it is true under DOS, but what about Linux, Windows, OS/2 etc?).

There is also a lot of other concerns, so if you have ANY ideas about this,
any experience or anything else you think may be useful, please write me
back and tell me so. Any feedback will be highly appreciated.

Sincerely, Peter Palotas.
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --

******************************************************
* A brief description of DJGPP:                      *
* NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY! *
******************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019