Low level hardware access in FreeBSD

Igor Pokrovsky ip at doom.homeunix.org
Sun Mar 13 09:13:23 PST 2005


On Sat, Mar 12, 2005 at 06:12:19PM +0000, Alex Burke wrote:
> Hi,
> 
> I am just wondering how I can access either BIOS calls, or preferably
> registers under FreeBSD?
> 
> I am trying to write a simple system capable of displaying graphics on
> the screen, and I am pretty sure I can mmap the VGA memory to my
> programs address space.

You'd better not try inventing the wheel. You can use already written
libraries for that purpose - vgl(3) or graphics/svgalib for example.

-ip

-- 
If everybody doesn't want it, nobody gets it.


More information about the freebsd-hackers mailing list