From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,b3aba490f69826b1,start X-Google-Attributes: gid10d4db,public From: "Frank Neumann" Subject: clgen v1.0 - m68k Linux graphic board driver, 1st release Date: 1997/03/17 Message-ID: X-Deja-AN: 226213691 X-Server-Date: 17 Mar 1997 12:45:24 GMT Followup-To: comp.os.linux.misc Old-Date: 16 Mar 1997 23:00:13 GMT Organization: C. v. Ossietzky Universitaet Oldenburg - Fachbereich Informatik X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce Newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Hi there, after far too much delay, I am happy to finally present the first public release of my kernel-based graphic board driver for Linux/m68k named 'clgen' for short (as in "Cirrus Logic Generic", cause that's the used VGA controller), supporting the following graphic boards: - - Piccolo - - Piccolo SD64 - - Picasso II (only in linear mode) - - GVP Spectrum The driver is still in a beta state and has some missing features, but I have been using it with X11 for quite a while now, and finally found the time to add the missing documentation, cleanups (some, not all of them :-) and additions. Here is a list of features: - - Variable resolutions: The user can create his own resolutions if he knows what he is doing. The driver comes with some pre-generated resolutions, though: 640x480, 31.25 kHz, 60 Hz, 25 MHz PixClock 800x600, 48 kHz, 72 Hz, 50 MHz PixClock 1024x768, 55.8 kHz, 70 Hz, 80 MHz PixClock 320x200, 31.4 kHz, 70 Hz, 25 MHz PixClock (Super-LoRes ;-) 1024x768i (interlaced), 31.5 kHz, 77 Hz, 44.9 MHz PixClock 1024x768hi (interlaced), 46.5 kHz, 113 Hz, 66.2 MHz PixClock 1280x1024i (interlaced), 51 kHz, 87 Hz, 80 MHz PixClock Interlaced modes should not exceed 1024 lines; this is a "Todo" item. - - Color depth: Right now, only 1 bit (monochrome) and 8 bit PseudoColor (256 colors, using a LookUp table) are supported. There is already code for 16 bit HiColor and 24/32 bit TrueColor in the driver, but it is still disabled because the XF68_FBDev Xserver doesn't yet support these modes correctly. - - Virtual screens: Supports "AutoScroll" resolutions larger than the visible screen area, e.g. when used with the Xserver. For example, on a 4 MB SD64 board using 8 bits per pixel, you can create a workspace as large as 2048x2048 pixels. Moving the cursor towards one of the screen borders will scroll the display in that direction. Please note that in monochrome modes you can only use 1/4 of the display memory due to hardware limitations; for that reason, on a 4 MB board the maximum virtual resolution in monochrome is also limited to 2048x2048 pixels. - - DoubleScan mode: For extra LowRes modes, the driver uses the "doublescan" feature of the vga controller which outputs every scanline twice. The supplied 320x200 mode uses this. Amaze your friends with a game like Thrust filling the entire screen! :-) - - Supports multiple boards in one computer: While probably not many users will ever need this feature, I found it very helpful while developing. :-) At startup, the driver looks for all boards it supports, and initializes and registers each of them. - - Should correctly determine the amount of DRAM available on the board (please mail me if this does not work on your board!) - - Allows to set the maximum vertical/horizontal frequencies with regard to the connected monitor. This is done via a new little program "freq" which might be integrated into fbset later. Things NOT yet implemented: - - A copy of the driver's mode database should be created for each board detected. This is not yet done. Currently all initialized boards share the same video mode database in the driver. - - Activate 15/24/32 bit modes once the Xserver at least supports some of them (24/32 bits should not be too hard, but 16 bits is almost impossible because the upper/lower bytes are swapped on the bus (on some of the boards at least), so that you cannot access the colors as in "rrrrrggg gggbbbbb", but instead "gggbbbbb rrrrrggg" which the Xserver will probably never be able to cope with). - - module support: Allow the driver to be compiled as a module that can be loaded/unloaded on demand. - - Console support: It would be nice to also make use of the boards' text modes, but this is not nicely integratable into the current m68k console handling. Probably when the whole stuff has been cleared up, I'll go for this. Of course, once that is implemented, it will NOT be possible to use the console feature AND a modularized driver at once. :-) - - Make use of the BitBlt engine: I understand that lacking blitter support leaves a good deal of the hardware capabilities unused, but the current framebuffer driver does not make any provisions for using accelerated hardware. Probably once we adopt the ggi concept, this might be added. Until then, there is nothing I can do about it. The whole package, including source patches, documentation, tools and a pre-compiled monolithic 2.0.29 kernel image can be found at: ftp.informatik.uni-oldenburg.de:/pub/linux/local/clgen_1.0.tar.gz Unpack this archive under AmigaOS and READ THE DOCUMENTATION (clgen.txt) VERY CAREFULLY. There is absolutely NO USE in trying to get it running without having read the entire documentation. I appreciate getting 'it works' mail, or also 'I got a problem/found a bug' mail, but if I get question mails that can be answered by reading the docs, I might just dump your mail. I put quite some effort in writing clgen.txt, so use it. Discussion of problems etc. should be done in the public, probably in the Linux/m68k kernel mailing list (linux-m68k@phil.uni-sb.de) to avoid talking about things repeatedly in private. Frank - -- + Frank Neumann, Hauptstr. 107, 26131 Oldenburg, Germany + + InterNet: Frank.Neumann@informatik.uni-oldenburg.de IRC:Franky + - -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQCVAwUBMy0834QRll5MupLRAQGZ/AP/QUwMAMRJyXfwE3BUpjmg38u5XAPM1uyT LbzePNI/BP/Q7Jouk6y/UrXZj2zoQIMSwzZlxPIXrbiSaTGfrBYPJVXKvY8EK+pb VyswByKg4UaknaffxIo4Fcglc97Qnzat+WD6lT7KadqQydO53fTecZ4hAFGV33/V HgI2vciIHp8= =czw7 -----END PGP SIGNATURE-----