Andreas Beck wrote:

> If possible, it would be nice, if you could insulate the emulation layer, so
> that we could write other emus as need arises, e.g. a Linux-console-emu or a
> vt100 emu etc. Should be pretty straightforward - just a few interfaces for
> I/O and blitting fonts.

I'v been thinking about a generic emulator as well. The idea is similar to SAX,
an event based XML interface. If you consider the I/O as a stream with embedded
control sequences, all you need is a parser which filters out these sequences,
and calls registered callbacks, synchronized with the rest of the stream.

Whatever the client does with that stream and the callbacks, is irrelevant at
this point.

Regards,        Stefan
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: [EMAIL PROTECTED]

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...

Reply via email to