home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8738 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.1 KB

  1. Xref: sparky comp.os.linux:8738 comp.sys.ibm.pc.hardware:22317
  2. Newsgroups: comp.os.linux,comp.sys.ibm.pc.hardware
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!rz.uni-passau.de!platon.fmi.uni-passau.de!burkert1
  4. From: burkert1@platon.fmi.uni-passau.de (Klaus Burkert)
  5. Subject: Re: Need help with programming ET4000
  6. Message-ID: <1992Aug20.234708.6762@tom.rz.uni-passau.de>
  7. Keywords: ET4000 SVGA
  8. Sender: news@tom.rz.uni-passau.de (News-Operator)
  9. Nntp-Posting-Host: cicero.fmi.uni-passau.de
  10. Organization: University of Passau, W-Germany
  11. References: <willmore.714336630@help.cc.iastate.edu>
  12. Date: Thu, 20 Aug 1992 23:47:08 GMT
  13. Lines: 35
  14.  
  15. In article <willmore.714336630@help.cc.iastate.edu> willmore@iastate.edu (David Willmore) writes:
  16. >I need to know something simple.  Yeah, right you say?  Ok, here it is:
  17. >
  18. >What is meant by the first line of:
  19. >
  20. >       3d4h index 33h (R/W): Extended start ET4000  (ET4000 Only)
  21. >       bit 0-1  Display start adress bits 16-17
  22. >           2-3  Cursor start adress bits 16-17
  23. >                Can be used to ID ET4000
  24. >
  25. >What does 3d4h index 33h mean?  How do I read and write this register?
  26. >I'm doing something very simple.  I'm converting a document I found
  27. >called 'tseng.doc' to a program to read the registers that it is 
  28. >describing.  For the above register, the program would come back and
  29. >say what the current settings of 3d4h index 33h are.  From there I'm
  30. >going to start hacking on the thing.
  31.  
  32. On VGA-chips the registers are 'indexed', because alot of them have to fit
  33. in very few port-adresses (from memory the ET4000 has about 80 registers).
  34.  
  35. These registers are accessed as follows (for your example):
  36.  
  37. write the desired index (33h) to port 3d4h 
  38.  (mov dx,3d4;   mov al,3;   out dx,al)
  39.  
  40. and access the indexed register at port 3d5h.
  41.  
  42. That's the whole magic with indexed registers.
  43.  
  44. Ciao, Klaus.
  45.  
  46. -----------------------------------------------------------
  47. Klaus Burkert        email: burkert1@kirk.fmi.uni-passau.de
  48. Brandweg 11          voice: +49-851/83993 (only pm please)
  49. D-W-8390 Passau   /  Federal Republic of Germany
  50.