From: "Peter Remmers" Newsgroups: comp.os.msdos.djgpp Subject: Re: C Library: mmap() function Date: Mon, 2 Oct 2000 17:25:55 +0200 Organization: T-Online Lines: 28 Message-ID: <8ra9e3$n0u$11$1@news.t-online.com> References: <8r9s4f$ej7$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 970500355 11 23582 320094726121-0001 001002 15:25:55 X-Complaints-To: abuse AT t-online DOT de X-Sender: 320094726121-0001 AT t-dialin DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker schrieb in im Newsbeitrag: 8r9s4f$ej7$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE... > Eli Zaretskii wrote: > > > On Mon, 2 Oct 2000, Peter Remmers wrote: > > >> Wouldn't it be possible to write a filesystem extension for > >> say "/dev/fb0" which sits on VBE2.0, and then have a mmap() for getting > >> a pointer to the framebuffer? > > > I fail to see how using VBE could help implementing mmap(). > > I don't think that's what he was after. Rather the other way round: > using mmap() as a more Unix-like interface to the framebuffer. I.e. > mmap() might help to 'virtualize' or unify frame buffer access among > several platforms, if it were supported on all of them and such a > thing as a '/dev/framebuffer' existed on all of them. Exactly, I was just looking for an application of mmap() which could justify the effort of implementing it... But, as you pointed out, it does not. As I said, it was just an idea :-) Peter