Re: Accessing memory below 1 MB

2002-07-30 Thread Terry Lambert
[EMAIL PROTECTED] wrote: > I'm writing some graphics code (just for fun) and I need "legal" access to > the memory addresses below 1 mb. > > The thing is, I know how to access those addresses (open /dev/mem, mmap, and > that's it), but I'd like to be able to alloc some pages so that my accesses >

Re: Accessing memory below 1 MB

2002-07-30 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] writes: > I'm writing some graphics code (just for fun) and I need "legal" access to > the memory addresses below 1 mb. You can't access the framebuffer directly in FreeBSD like you can in DOS. Take a look at libvgl ('man vgl'). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED]

Accessing memory below 1 MB

2002-07-30 Thread hal
Hello, I'm writing some graphics code (just for fun) and I need "legal" access to the memory addresses below 1 mb. The thing is, I know how to access those addresses (open /dev/mem, mmap, and that's it), but I'd like to be able to alloc some pages so that my accesses are correct and don't make t