Video Interface: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(This was actually an error in my VI interrupt handler.)
Tag: Manual revert
Line 101: Line 101:
= Configuration Registers =
= Configuration Registers =
Memory mapped registers are used to configure the Video Interface. The base address for these registers is <code>0x0440 0000</code>, also known as VI_BASE. However, because all memory accesses in the CPU are made using virtual addresses, the following addresses must be offset appropriately. For non-cached reads/writes, add <code>0xA000 0000</code> to the address. As an example, to directly write to the VI_CTRL register, use address <code>0xA440 0000</code>.
Memory mapped registers are used to configure the Video Interface. The base address for these registers is <code>0x0440 0000</code>, also known as VI_BASE. However, because all memory accesses in the CPU are made using virtual addresses, the following addresses must be offset appropriately. For non-cached reads/writes, add <code>0xA000 0000</code> to the address. As an example, to directly write to the VI_CTRL register, use address <code>0xA440 0000</code>.

In general make sure to disable video output while changing the configuration registers. Otherwise the CPU might freeze requiring a reboot.


'''Table Notation:'''
'''Table Notation:'''