Hello!

I would like to write a console driver for the Xbox port of OpenBSD. I have a framebuffer driver that can draw pixels, characters and strings on the screen, but I don't know how to implement a real console driver.

I'm not even sure about the terms console, terminal, wscons, vcons.

Is a wsdisplay driver enough?
What functions do I have to implement?


A part from the kernel configuration of NetBSD:


xboxfb0         at pci? dev ? function ?       # the framebuffer
wsdisplay*      at xboxfb? console ?


and from NetBSD files.i386:

device xboxfb: wsemuldisplaydev, rasops32, vcons
attach xboxfb at pci
file      arch/i386/xbox/xboxfb.c                 xboxfb needs-flag


I'm not sure what functions and structs I need.

I have read the manpages wsdisplay and wscons.



Thank you in advance,

Markus

Reply via email to