home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17623 < prev    next >
Encoding:
Text File  |  1992-11-22  |  2.2 KB  |  66 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!rbg.informatik.th-darmstadt.de!bussmann
  3. From: bussmann@rbg.informatik.th-darmstadt.de (lucas bussmann)
  4. Subject: Diamond Speedstar Clock Problem
  5. Sender: news@news.th-darmstadt.de (The News System)
  6. Message-ID: <1992Nov23.105335@rbg.informatik.th-darmstadt.de>
  7. Date: Mon, 23 Nov 1992 09:53:35 GMT
  8. Nntp-Posting-Host: rbhp69.rbg.informatik.th-darmstadt.de
  9. Organization: TU Darmstadt
  10. Keywords: Speedstar Diamond Clock
  11. Lines: 53
  12.  
  13. I have found a solution for the Diamond Speedstar Clock's problem,
  14. not a final solution but it may be useful:
  15.  
  16. After setting up an extended text mode, the real mode (MS-DOS) program 
  17. "clock.exe" will find clocks that do not appear before.
  18. It seems that these clocks appeare only when they are needed by some BIOS 
  19. routines.
  20.  
  21. Now a table of some clock values:
  22.  
  23.       TextMode          Clocks
  24.         0x22            25,2  27,5  80   72    25,2   27,5   80   72
  25.         0x2A            25,2  27,5  72   65,5  25,2   27,5   72   65,5
  26.  
  27. Useful is the phenomenon, that the clocks stay at their position even if you
  28. reboot your computer. What Xfree tells you about the clocks is not
  29. believable, because Linux is a multitasking Operating System and therefor it's 
  30. not useful for realtime calculations.
  31.  
  32. If you run X multiple times then the server will give you different clock 
  33. configurations. 
  34.  
  35. I have added a few lines of assembler code to the file linux/boot/setup.S:
  36. .
  37. - #define Diamond_Mode 0x22
  38. .
  39. .
  40. .
  41. entry start
  42. start:
  43. -!  switching on moment in the extended text mode  for Diamond VGA Cards
  44. -        mov   ah,#0x00
  45. -        mov   al,#Diamond_Mode
  46. -        int   0x10
  47. -!  switch back to normal text mode
  48. -        mov   ah,#0x00
  49. -        mov   al,#0x03
  50. -        int   0x10
  51.  
  52. When the right clock appears in the table, you can use my little patch to
  53. work with it. Don't forget to overwrite the clockdetection from the server
  54. with the right clock specification from the table above in the Xconfig file,
  55. otherwise it doesn't work.
  56. This patch works with my Speedstar high colour plus with Bios version 5.0.
  57. Maybe it works with other Speedstar VGA cards too.
  58.  
  59. Lucas Bussmann
  60. Technical University of Darmstadt, Germany
  61. Department of Computer Science
  62. Internet:bussmann@rbg.informatik.th-darmstadt.de 
  63.  
  64.  
  65.  
  66.