Re: Direct writting to VGA text console

From: Chris Wedgwood (cw@f00f.org)
Date: Mon Apr 17 2000 - 14:50:05 EST


> int fd=open("/dev/vcsa?",O_RDWR); // replace ? by console number
> mmap(NULL, column*lines, PROT_WRITE|PROT_READ, MAP_SHARED, fd, 4);

I don't think this will work. It assumes the consoles physical
address doesn't change -- which it does (as it scrolls).

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:11 EST