Re: mouse API or else, let's go.

1999-09-30 Thread Tobias Barth

Andreas Beck wrote:

  implementing a graphic mouse that would use interrupt programming would
  be a good minimax (minimum programming, maximum result) option in an
  apparence point of view (interrupt driven mouse drawing does not need
  GGIFlush to happen)

 Interrupt driven ? You mean something like a timer updating the mouse more
 frequently than the rest ?

 This is something terribly hard and ugly under Unix. The whole SYNC mode
 emulation stuff is ugly for the same reason.

Is there anything speaking against hardware mouse cursors?

Ciao

Tobi



Re: 2 Hardware acceleration quiestions

1999-09-30 Thread Marcus Sundberg

Rubén wrote:
  Why don't you just use GGI ? GGI handles the colours, uses accelleration
  if available, etc. Or do you want to join us developping the driver ?
 
 I use GGI for other things (GGL development, for example) but now
 I'm porting my graphics library from DOS to Linux (almost done), because I
 want to code an Intro (of demoscene), and when coding demos/intros, It's
 very important not to use libraries not coded by myself.

Well, LibGGI is a grahics driver component, not a drawing library.
Aren't you using libc either then?

I thought it was really cool when people started coding Amiga demos
where you actually didn't have to reboot the machine after watching
it, and that would run on my VGA monitor. Sounds like the scene has
been going the opposite way since then when it comes to portability. :(

  Besides, virge ACCEL_DRAWCIRCLE does return an -E(ACCEL,BOGUS). Unless
  this error is mapped to 0, you should get an errorvalue... I'll check that
  one out tonight. (Anything but 0 is an error value)
 
 Ahh, ok, anything but 0... I thought that it should return -1 on
 error as ioctl manpage says...

Bug in fbcon-kgi.c. See my other mail.

//Marcus
-- 
---+
Marcus Sundberg| http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |   Phone: +46 707 295404
   Stockholm, Sweden   |   E-Mail: [EMAIL PROTECTED]



Re: web browser for ggi

1999-09-30 Thread Marcus Sundberg

[EMAIL PROTECTED] wrote:
 
 Did anyone try libmtk?  I would like feedback from any brave indivual who
 has tried it. 

Just very briefly. Looks quite promising. It's unfortunate though that
the only demo available (gooseegg) uses 100% CPU even when idle. This
is about the worst thing a program can do on a real OS.

 I'm thinking about working on it some more, because I need
 to make a generic card game soon and since I wrote it I can rapidy
 develop one in mtk. =)

Yes please! We really need a GUI toolkit running on LibGGI.

//Marcus
-- 
---+
Marcus Sundberg| http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |   Phone: +46 707 295404
   Stockholm, Sweden   |   E-Mail: [EMAIL PROTECTED]



Re: web browser for ggi

1999-09-30 Thread mongoose

On Fri, 1 Oct 1999, Marcus Sundberg wrote:

Just very briefly. Looks quite promising. It's unfortunate though that
the only demo available (gooseegg) uses 100% CPU even when idle. This
is about the worst thing a program can do on a real OS.

Thanks for testing and your input.  The reason it doesn't idle is because
it lacks focus/area refresh type drawing right now - it draws everything,
every frame.  =/

Heheh, yes I use a non-aceel blit for translucents/alpha and waste some
memory for being too generic on top of reflective code in some parts.

For a real treat, GooseEgg --help and run all the eyecandy options.  ;)


Yes please! We really need a GUI toolkit running on LibGGI.

Maybe when I get the basic widget set up and running (usable), I can get
some help and polish it. 


cheers,
Terry

 ---
| BotShop http://www.planetquake.com/botshop|
| Personalhttp://www.westga.edu.com/~stu7440|
|   |
| Alita is running linux 2.2.12 |



Re: Hardware cursor

1999-09-30 Thread Rubén

On 1999/Oct/01, Marcus Sundberg wrote:

  rules) with fbdev and I want to use page flipping, but I doesn't know how to
  wait the vertical retrace to flip, can I do so? and how?
 
 There is support in the fbcon API for that:
 
 #define FB_ACTIVATE_VBL  16   /* activate values on next vbl  */
 but currently no drivers implement it. :(
 You're welcome to hack support for that into KGIcon. ;)

I need it very much, so... I will try. After so much time anoying
with questions, it's time to do something usefull :)))
-- 
Regards
  _
 /_) \/ / /  email: mailto:[EMAIL PROTECTED]
/ \  / (_/   www  : http://programacion.mundivia.es/ryu
[ GGL developer ]  [ IRCore developer ]  [ GPUL member ]



Re: Hurd Help! -- FW: colortext translator

1999-09-30 Thread Jay

Ok, I know nothing about the Hurd... yet. I went to a few pages to learn more
about what you were talking about and I liked it so much, that I am swiching to
the Hurd soon :-)

BUT, from what I saw (and I must say again, I have NO experence with the Hurd
yet) all you would need to do is make a daemon that talks directly to the
hardware (about like X) in user space and leave the micro- kernel alone. In
other words, make a "KGI server"-like daemon. This might sound horrable to
Linux (and other non-MACH micro-kernel) users, but it seems to be the Hurd's
way. I mean look at what "Hurd" means: Hird of UNIX-replaceing daemons. (Sorry,
I can't remember what "Hird" meant) Does anybody have a daemon like this?

Again, Hurd dudes, feel free to shut me up if I am saying this wrong.

 GGI Folks:

 A few Hurd folks are making noises about porting KGI/GGI onto the Hurd.
 At one time a few of you were somewhat interested in this, but didn't
 make much progress.

 Can a kind, knowledgable soul join our "debian-hurd" mailing list and
 provide some technical support?

 The main questions we are trying to resolve are:

 1.  How to best break KGI/GGI into a kernel/user codebase.  Most
 processes (such as the ext2 filesystem) live in "user" space.  Only
 very specific things go in the microkernel -- those things that
 have to deal directly with the hardware.

 2.  How best to get FB support into the microkernel.

 We already have some glue code in place to make use of various
 Linux device drivers.  It shouldn't be too terrible to get others
 working now.  Unfortunately, most of the drivers are Linux 2.0.36
 level, but we could probably update the glue code for more modern
 stuff.

 Attached is a recent debian-hurd message from one of the two
 independent console-coding efforts that started recently.  Instead
 of this, we would really like to jump directly to the GGI console.

 -Brent

 -Original Message-
 From: Marcus Brinkmann [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 29, 1999 4:47 PM
 To: Kalle Olavi Niemitalo
 Subject: Re: colortext translator

 Hi Kalle,

 On Thu, Sep 30, 1999 at 01:32:44AM +0300, Kalle Olavi Niemitalo wrote:
 
  Thomas wrote those features wouldn't belong in /hurd/term, so I'm
  writing a separate translator.

 Mmmh. I see.

  Reading from it would translate
  scancodes from the keyboard, and writing to it would interpret
  escape sequences and poke characters in video memory.  The output
  half now lacks only virtual consoles, scrollback and beeping.

 Sounds good. Had you told earlier that you make such a steady progress,
 I probably would not have spent the last days to get the linux console
 working.
 (Are you subscribed to bug-hurd? You must have noticed my screams for help
 :)

   What you mean should probably be handled by a device similar to
 framebuffer
   device in Linux.
 
  Are you implying that device wouldn't parse the escape sequences?

 Sorry, I hadn't all my senses together when writing this.

 E0 scancode
  line--- keymap --- translation --- inb()
  sh --- discipline
--- esc seq -- framebuffer --- poke to
 parser  for each vc  vid mem
 
  The line discipline is handled by /hurd/term.  I imagine
  everything at its right side would be in /hurd/console, except
  the inb() which would stay in the kernel.  How would you split
  them up?

 Looks great! I have to admit I didn't know much about terminals at all until
 a few days ago, but I am learning fast.

 I think what you are doing is great (as it seems to give fast results, fits
 nice into the Hurd philosophy and the current code and gives you practice
 in writing translators).

 However, I still think it would be good to take a look at KGI, before you
 start to reinvent the wheel. But if you limit yourself to one EGA adapter
 and
 one input keyboard, there is no danger in doing so, and porting KGI would
 probably be a major undertaking.

 Have you looked at KGI yet? It is supposed to enable multihead/multiinput
 terminals. It virtualizes the mouse device. It has interfaces for libggi,
 enabling us to use the vgalib emulation and X server from the GGI project.
 It also has a terminal server.

 I don't know how much work it would be to form KGI into a proper Hurd
 translator. Can you take a look at it? A snapshot can be found in
 http://www.tu-chemnitz.de/~sse/ggi/.

 Also, how interacts your translator with the kernel logger? How does it
 interact with the keyboard driver (we need to make sure we can get X working
 with it in some way). Those are all questions I don't know an answer for
 (I face the same questions with the linux console driver in GNU Mach).

 Thanks,
 Marcus


 --
 `Rhubarb is no Egyptian god.' Debian http://www.debian.org  Check Key server

 Marcus Brinkmann  GNUhttp://www.gnu.orgfor public PGP
 Key
 [EMAIL PROTECTED]PGP Key ID
 36E7CD09