home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16958 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  3.3 KB

  1. Xref: sparky comp.os.linux:16958 comp.unix.sysv386:16542
  2. Newsgroups: comp.os.linux,comp.unix.sysv386
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!world!skump
  4. From: skump@world.std.com (Stephen Kump)
  5. Subject: Re: Xfree and Cirrus GD 6410/6420 VGA Chips ??
  6. Message-ID: <Bxv013.6H4@world.std.com>
  7. Organization: The World Public Access UNIX, Brookline, MA
  8. References: <JORMA.92Nov16132952@stimulus.hut.fi>
  9. Distribution: comp
  10. Date: Tue, 17 Nov 1992 12:00:38 GMT
  11. Lines: 57
  12.  
  13. jorma@stimulus.hut.fi (Jorma Laaksonen) writes:
  14.  
  15.  
  16. >Hi.
  17.  
  18. >Is anybody familiar with Cirrus Logic VGA chips GD6410 and GD6420 ??
  19.  
  20. >The et3000 and et4000 drivers almost work: using et3000 produces a
  21. >X-cursor which occupies about one fourth of the 640x480 lcd screen,
  22. >et4000 produces a display with dark vertical stripes.
  23.  
  24. >Linux boot nor jesperf@daimi.aau.dk's whichvga.exe don't recognize
  25. >the chip to be a Cirrus chip.  I suppose this is because they both are
  26. >looking for a CL-GD 510/520/610/620 chip.  The recognition of those
  27. >chips doesn't seem to be compatible with that of GD6410/6420.
  28.  
  29. >So, if anyone has any experience or documentation on the Cirrus chips,
  30. >I would appreciate sharing it with me.
  31.  
  32. Hi
  33.      I have a GD5422 chipset, same behavior under Linux and Xfree. 
  34. Youu're right, it's not compatible with the GD5xx/6xx.
  35.      Most of the problem with Xfree is caused by the chipsets using banks
  36. of 4K while the etxxxx drivers expect 64K, I think.  The banking scheme IS
  37. compatible with the old Paradise chipset (look in the driver for VPIC that
  38. came with the Cirrus utilities disk, if you have it, you'll see what I
  39. mean).  Unfotunately the pvga1 driver for Xfree doesn't work, though.
  40.      I'm waiting for the Cirrus Logic Programmer's Manual, maybe I can
  41. figure something out but, seriously, don't hold your breath waiting.  I'm
  42. real busy at the moment and this will be on  the back burner.  Also I've
  43. never written a driver for X before (Messy-DOS stuff, plenty of 'em, but X
  44. is new to me).  IF I come up with something I'll let you know, but
  45. hopefully someone will come to our rescue before then.
  46.  
  47.      As for Linux boot, you can get 132x25 and 132x43 extended text modes
  48. but you have to putz with one of the Linux source files.  In
  49. /usr/src/linux/tools/setup.S look for the part commented /* Check for
  50. Cirrus clues */.  I worked out a way to id the card but until I get the
  51. manual I can't be sure it's the 'official' way and may not work on yours. 
  52. So, if you really need those text modes, comment out the id-checking logic
  53. in this section to force setup.S to 'recognize' the card.  Then change the
  54. two lines with 'mocirrus' and 'dsccirrus' just before the jump to selmod. 
  55. make them 'moparadise' and 'dscparadise' instead.  Sorry I can't be more
  56. exact about those two lines, minicom broke under patchlevel5 and I haven't
  57. applied the fix yet so I'm typing this from DOS, but you'll know em when
  58. you see em.  I think they're something like 'mov <some register>,mocirrus'.
  59. Of course this assumes your Cirrus bios is the same as mine, version 1.1,
  60. and uses the paradise bios modes.
  61.  
  62.      Too bad these chips dont work under Xfree yet.  With 1MB the
  63. GD54/64xx can do up to 16M colors in 640x480, 32K and 64K colors up to
  64. 800x600, 256 c's up to 1024x768, and 16 c's in 1280x1024.  With high
  65. refresh rates and accelerator functions.  Real neat under DOS, for sure.
  66.  
  67. Good luck.
  68.                                  -Steve
  69.  
  70.