> If you put all devices on the same port, that means that all device plugins
> need to be invoked on every port access in order to check if the message was
> meant for them.  Slow!

ah... put I meant something different:

have a generic host <->guest plugin/plex86 part register a specific
plex86 port.

next plugins can request a host <-> guest callback by means of a
specific ID.

the packet which address was written to the plex86 port contains
information about a specific ID & other data. now the plugin/plex86 part
looks in a ID table for a callback and calls the plugins function.

this way we have a one port entry point for the plex86 host <-> guest
packet communication instead of having to register specific ports for
every plugin.
(but if you'd rather have the last option, I don't mind....)
-- 
        Best regards,
                
                Jeroen Janssen

+++
It was hard enough to kill a vampire. You could stake them down and turn
them into dust and ten years later someone drops a drop of blood in the
wrong place and *guess who's back*? They returned more times than raw
broccoli.
        -- (Terry Pratchett, Feet of Clay)
+++


Reply via email to