home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20476 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.1 KB  |  44 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!spool.mu.edu!mixcom.com!rshark.mixcom.com!root
  3. From: root@rshark.mixcom.com (Brian Kapitan)
  4. Subject: init-ing Diamond stealth clocks
  5. Organization: Secret Sound
  6. Date: Mon, 14 Dec 1992 20:34:57 GMT
  7. Message-ID: <Bz9nu9.134@rshark.mixcom.com>
  8. Lines: 34
  9.  
  10. i've seen quite a number of posts on init-ing the stealth clocks
  11. to 1024x768x256 mode....
  12.  
  13. the easiest way is a simple little kernel patch to setup.S...and then
  14. recompile the kernel and you're in business. works great for me, AND
  15. i don't have to run DOS!
  16.  
  17. just toss the follwing in (a few preceeding lines have been included
  18. so you know where to toss them in):
  19.  
  20. ...in setup.S:
  21.  
  22. ! Get video-card data:
  23.     
  24.     mov    ah,#0x0f
  25.     int    0x10
  26.     mov    [4],bx        ! bh = display page
  27.     mov    [6],ax        ! al = video mode, ah = window width
  28.  
  29. ! init diamond stealth clock
  30.  
  31.     mov    ax,#0x4f02
  32.     mov    bx,#0x0105
  33.     int    0x10
  34.     mov    ax,#0x4f02
  35.     mov    bx,#0x0002
  36.     int    0x10
  37.  
  38. be sure to delete setup.s and setup.o BEFORE recompiling, so that the
  39. files will be re-made properly. note again, delete setup.s not setup.S!!
  40.  
  41. -- 
  42. "If you wait long enough, a car will come." -- anon
  43. Brian Kapitan, root@rshark.mixcom.com
  44.