[haiku-development] Re: Some questions

> > Some clarification about "publishing devices you don't have as it
> > does
> > today."
> > I was talking about the Gameport. If you don't have a Gameport it
> > should
> > not show two as it does today :)
> >
>
> The standard Gameport is just memory mapped I/O in low address space.
>    That memory space will always be there.
>   I'm not sure how you would determine if a gameport should be
> published.
>    When the gameport is being used, the data in that memory will
> change.
>

When a chip is missing on the ISA bus one can usually detect this by
checking for only 0xff on the whole range of addresses, which is what
appears when reading to unmapped address.

Also, the gameport should likely be listed by the PNP BIOS, so checking
for it is another option.

François.

Other related posts: