From owner-freebsd-hackers Thu Aug 10 1:36:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (Postfix) with ESMTP id 12F3337B9E7 for ; Thu, 10 Aug 2000 01:36:16 -0700 (PDT) (envelope-from akm@mail.theinternet.com.au) Received: (from akm@localhost) by mail.theinternet.com.au (8.9.3/8.9.3) id SAA21155; Thu, 10 Aug 2000 18:31:46 +1000 (EST) (envelope-from akm) From: Andrew Kenneth Milton Message-Id: <200008100831.SAA21155@mail.theinternet.com.au> Subject: Re: libvgl and splitting the screen In-Reply-To: from Johan Kruger at "Aug 10, 2000 10:34:52 am" To: Johan Kruger Date: Thu, 10 Aug 2000 18:31:46 +1000 (EST) Cc: andrew@ugh.net.au, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG +----[ Johan Kruger ]--------------------------------------------- | Use VGLInit(SW_CG640x480); | Look in the /sys/console.h for modes, plenty of them ( of course | not all will work with every card but htis one seems mostly usable) | Enjoy ;-) | | And O, yip , i guess you would have to do the scrolling the hard way. | Half the screen 640x240 pixels ( the bottom half ) could be addressed by | allocating a seperate memeory biffer of that size , draw into it, and the move | the memory ( or copy it if you want to keep it ) to the current videobuffer | by using the pointer libvgl provides. You could also look at microwindows:- http://microwindows.censoft.com/ I have made this work with libVgl, and moused. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message