
                        "PC Engine Video Color Encoder"
                        ===============================



    1/ VCE I/O ports
       -------------

        The VCE can be accessed through 3 16-bit I/O ports in the hardware
        page (bank $FF):


        +-------+-----+------+---------------------------------------------+
        | $0400 |  /W |  CR  | Control Register                            |
        +-------+-----+------+---------------------------------------------+

                Bit    00 : Color clock frequency 0 = 5MHz / 1 = 7MHz.


        +-------+-----+------+---------------------------------------------+
        | $0402 |  /W |  CTA | Color Table Address Register                |
        +-------+-----+------+---------------------------------------------+

                Bit 08-00 : 'CTA' Color Table Address.
                                  Put in this register the index of the
                                  color you want to change. This register
                                  is auto-incremented after each access
                                  to the high byte of CTD.


        +-------+-----+------+---------------------------------------------+
        | $0404 | R/W |  CTD | Color Table Data Register                   |
        +-------+-----+------+---------------------------------------------+

                Bit 08-06 : Green.
                Bit 05-03 : Red.
                Bit 02-00 : Blue.

                            Any data written in this register will immediately
                            affect the display. But to avoid snow on the
                            monitor, it's better to wait the vertical sync
                            before reading or writing to this register.


---

