home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!rbg.informatik.th-darmstadt.de!bussmann
- From: bussmann@rbg.informatik.th-darmstadt.de (lucas bussmann)
- Subject: Diamond Speedstar Clock Problem
- Sender: news@news.th-darmstadt.de (The News System)
- Message-ID: <1992Nov23.105335@rbg.informatik.th-darmstadt.de>
- Date: Mon, 23 Nov 1992 09:53:35 GMT
- Nntp-Posting-Host: rbhp69.rbg.informatik.th-darmstadt.de
- Organization: TU Darmstadt
- Keywords: Speedstar Diamond Clock
- Lines: 53
-
- I have found a solution for the Diamond Speedstar Clock's problem,
- not a final solution but it may be useful:
-
- After setting up an extended text mode, the real mode (MS-DOS) program
- "clock.exe" will find clocks that do not appear before.
- It seems that these clocks appeare only when they are needed by some BIOS
- routines.
-
- Now a table of some clock values:
-
- TextMode Clocks
- 0x22 25,2 27,5 80 72 25,2 27,5 80 72
- 0x2A 25,2 27,5 72 65,5 25,2 27,5 72 65,5
-
- Useful is the phenomenon, that the clocks stay at their position even if you
- reboot your computer. What Xfree tells you about the clocks is not
- believable, because Linux is a multitasking Operating System and therefor it's
- not useful for realtime calculations.
-
- If you run X multiple times then the server will give you different clock
- configurations.
-
- I have added a few lines of assembler code to the file linux/boot/setup.S:
- .
- - #define Diamond_Mode 0x22
- .
- .
- .
- entry start
- start:
- -! switching on moment in the extended text mode for Diamond VGA Cards
- - mov ah,#0x00
- - mov al,#Diamond_Mode
- - int 0x10
- -! switch back to normal text mode
- - mov ah,#0x00
- - mov al,#0x03
- - int 0x10
-
- When the right clock appears in the table, you can use my little patch to
- work with it. Don't forget to overwrite the clockdetection from the server
- with the right clock specification from the table above in the Xconfig file,
- otherwise it doesn't work.
- This patch works with my Speedstar high colour plus with Bios version 5.0.
- Maybe it works with other Speedstar VGA cards too.
-
- Lucas Bussmann
- Technical University of Darmstadt, Germany
- Department of Computer Science
- Internet:bussmann@rbg.informatik.th-darmstadt.de
-
-
-
-