home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!spool.mu.edu!mixcom.com!rshark.mixcom.com!root
- From: root@rshark.mixcom.com (Brian Kapitan)
- Subject: init-ing Diamond stealth clocks
- Organization: Secret Sound
- Date: Mon, 14 Dec 1992 20:34:57 GMT
- Message-ID: <Bz9nu9.134@rshark.mixcom.com>
- Lines: 34
-
- i've seen quite a number of posts on init-ing the stealth clocks
- to 1024x768x256 mode....
-
- the easiest way is a simple little kernel patch to setup.S...and then
- recompile the kernel and you're in business. works great for me, AND
- i don't have to run DOS!
-
- just toss the follwing in (a few preceeding lines have been included
- so you know where to toss them in):
-
- ...in setup.S:
-
- ! Get video-card data:
-
- mov ah,#0x0f
- int 0x10
- mov [4],bx ! bh = display page
- mov [6],ax ! al = video mode, ah = window width
-
- ! init diamond stealth clock
-
- mov ax,#0x4f02
- mov bx,#0x0105
- int 0x10
- mov ax,#0x4f02
- mov bx,#0x0002
- int 0x10
-
- be sure to delete setup.s and setup.o BEFORE recompiling, so that the
- files will be re-made properly. note again, delete setup.s not setup.S!!
-
- --
- "If you wait long enough, a car will come." -- anon
- Brian Kapitan, root@rshark.mixcom.com
-