home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.linux:8738 comp.sys.ibm.pc.hardware:22317
- Newsgroups: comp.os.linux,comp.sys.ibm.pc.hardware
- 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
- From: burkert1@platon.fmi.uni-passau.de (Klaus Burkert)
- Subject: Re: Need help with programming ET4000
- Message-ID: <1992Aug20.234708.6762@tom.rz.uni-passau.de>
- Keywords: ET4000 SVGA
- Sender: news@tom.rz.uni-passau.de (News-Operator)
- Nntp-Posting-Host: cicero.fmi.uni-passau.de
- Organization: University of Passau, W-Germany
- References: <willmore.714336630@help.cc.iastate.edu>
- Date: Thu, 20 Aug 1992 23:47:08 GMT
- Lines: 35
-
- In article <willmore.714336630@help.cc.iastate.edu> willmore@iastate.edu (David Willmore) writes:
- >I need to know something simple. Yeah, right you say? Ok, here it is:
- >
- >What is meant by the first line of:
- >
- > 3d4h index 33h (R/W): Extended start ET4000 (ET4000 Only)
- > bit 0-1 Display start adress bits 16-17
- > 2-3 Cursor start adress bits 16-17
- > Can be used to ID ET4000
- >
- >What does 3d4h index 33h mean? How do I read and write this register?
- >I'm doing something very simple. I'm converting a document I found
- >called 'tseng.doc' to a program to read the registers that it is
- >describing. For the above register, the program would come back and
- >say what the current settings of 3d4h index 33h are. From there I'm
- >going to start hacking on the thing.
-
- On VGA-chips the registers are 'indexed', because alot of them have to fit
- in very few port-adresses (from memory the ET4000 has about 80 registers).
-
- These registers are accessed as follows (for your example):
-
- write the desired index (33h) to port 3d4h
- (mov dx,3d4; mov al,3; out dx,al)
-
- and access the indexed register at port 3d5h.
-
- That's the whole magic with indexed registers.
-
- Ciao, Klaus.
-
- -----------------------------------------------------------
- Klaus Burkert email: burkert1@kirk.fmi.uni-passau.de
- Brandweg 11 voice: +49-851/83993 (only pm please)
- D-W-8390 Passau / Federal Republic of Germany
-