home *** CD-ROM | disk | FTP | other *** search
- Tento balik obsahuje instalaci pomocne knihovny, ktera odchytava prikazy
- posilane na I2C sbernici televizni karty ATI-TV a nahrazuje je vlastnimi.
-
- Instalaci spustite prikazem INSTALL.EXE.
-
- Podrobny popis funkci je uvedeny dale, ale v anglictine. Nechce se mi ho psat
- dvakrat, a krome toho si myslim, ze bude zajimat pouze ty, kteri stejne
- anglicky umi.
-
- -------------------------------------------------------------------------------
-
- This package contains installation of library which intercepts commands
- sent to I2C bus of ATI-TV and replaces them with different ones.
-
- Run INSTALL.EXE to install this library.
-
- -------------------------------------------------------------------------------
-
- Detailed description (only for experienced users):
- ==================================================
-
- Installation backups original (provided with ATI Player) ATI_I2C.DLL library
- under the name ATI_I2C.DL~. Then it replaces ATI_I2C.DLL with I2C_EMU.DLL
- (my own library).
-
- In the case of difficulties copy this backup file (AIT_I2C.DL~) to ATI_I2C.DLL
- and everything should be OK. But I expect no difficulties and problems.
-
- After installation is ATI_I2C.DLL extended with new functions. It also reads
- set of rules from I2CEMU.INI (in Windows directory) on start. It means you
- can create your own set of rules which will be active during the whole time
- of ATI Player execution.
-
- It can watch commands sent to certain _registers_ of certain _ports_. If there
- is a rule for this _port_ and this _register_, it sends defined set of commands
- to any register on this _port_. For example when command which switches mode
- from SECAM to PAL is executed, this library can change it so it switches
- back to SECAM instead.
-
- I2CEMU.INI has following structure:
- ==============================
- [Rules]
- FIRST_RULE_NAME=1
- DIFFERENT_RULE_NAME=1
- ...
-
- [FIRST_RULE_NAME]
- WatchPort=port (eg. 88)
- WatchRegs=registers (eg. 01 0B 19)
- WatchMask=00 (always 00)
- WatchValue=00 (always 00)
- Reg1=register_to register_from and_value or_value (eg. 01 01 F8 06)
- Reg2=...
- ...
- Reg10=...
- Reg11=...
- ...
- Reg255=...
-
- [DIFFERENT_RULE_NAME]
- ...
- ==============================
-
- It is quite simple. There can be up to 50 rules, each with different name.
- Rule name must be included in section "[Rules]" in form "RULE_NAME=1".
-
- Then the section "[RULE_NAME]" must exist, which contains appropriate rules.
- All values are in hexadecimal form.
-
- WatchPort is port watched (88 belongs to Bt829).
- WatchRegs is set of registers watched. If write to any of these registers
- on WatchPort occurs, rule is triggered and executed.
- WatchMask and WatchValue are intended for future use and _MUST_ be zero (00,
- not just 0).
-
- Then if rule is triggered, following actions happen:
- Section is scanned for lines "Reg1=", "Reg2=" up to "Reg255=". They are
- processed in ascending order and if any of these lines misses, it is
- supposed no more lines exist. Ie. "Reg1=", "Reg2=" and "Reg4=" is nonsense,
- because "Reg4=" will be not found due to "Reg3=" missing.
-
- Each "Regn=" line contains:
-
- register_to ... which register will be written
-
- register_from ... what will be written to "register_to". It must be register
- number. Actual value is read from "register_from" and then processed.
-
- and_value ... value read from "register_from" is logically ANDed with this
-
- or_value ... and then it is logically ORed with this.
-
- For example "Reg1=01 22 F8 06" means:
- Value will be read from register 0x22. Then it will be ANDed with 0xF8
- and ORed with 0x06. Result will be written to register 0x01.
-
- New ATI_I2C.DLL library loads these rules on load (when ATI Player starts).
- If you want to check the rules, use included EMUTEST.EXE which will
- get actual set of rules from running ATI_I2C.DLL.
-
-
-