OperaHW chipset

From Felixl.com
Revision as of 16:26, 12 June 2007 by Felix (talk | contribs) (MADAM registers)
Jump to navigationJump to search

Address Space

  • 0x00000000 - 0x001FFFFF -- DRAM (2MB), accessible by CPU and DMA
  • 0x00200000 - 0x002FFFFF -- VRAM (1MB), accessible by CPU, CEL and VDLP
  • 0x03000000 - 0x030FFFFF -- ROM (1MB), contains bootloader, copy of OperaOS, and few usefull programms, such as CD player
  • 0x03140000 - 0x0315FFFF -- NVRAM (32KB), sparced by aligning every byte to 32 bits boundary
  • 0x03200000 - 0x032FFFFF -- SPORT - this is special feauture of VRAM, allowing to COPY or FILL VRAM pages (512 bytes) without CPU usage. Can be used with byte mask, allowing to create unique effects.
  • 0x03300000 - 0x033FFFFF -- MADAM
  • 0x03400000 - 0x034FFFFF -- CLIO

MADAM registers

legend: (R) == read access, (W) == write access, (RO) == read only access, (WO) == writeonly access


  • 0x03300000 --
    • (R) MADAM revision number with features coded in 32 bit word
    • (W) Some sort of debug port -- all kprintf's are printing characters to this port
  • 0x03300004 -- Memory configuration (RO)
    • default value is 0x29 (2mb DRAM, 1mb VRAM)
  • 0x03300008 -- DMA enable (RW)
    • (W) -- 0x8000 enables PBUS DMA Transfer
  • 0x03300020 -- CPU Abort reason (RO)
    • 0 -- ROM Failure
    • 1 -- ROM Write
    • 2 -- CLIO Timeout
    • 3 -- User access to hardware
    • 4 -- User access to SYSRAM (lower 64KB of DRAM)
    • 5 -- FENCE Violation -- Memory Protect error
    • 6 -- Virtual Page Error
    • 7 -- Out of 26bit address range
    • 8 -- SPORT while SC
    • 9 -- Byte access to hardware
    • 10 -- bad address detected
    • 11 -- ARM access to PPROC while CEL is working
    • 12 -- Byte address - word access. (unaligned 32bit access)
  • 0x03300024 -- DMA Priv. violation (RO) -- DMA error description
    • 0x01 -- DMA access to SYSRAM
    • 0x02 -- SPORT access to SYSRAM
    • 0x04 -- CEL access to SYSRAM
    • 0x08 -- DMA access over VRAMSIZE
    • 0x10 -- SPORT access over VRAMSIZE
    • 0x20 -- CEL access over VRAMSIZE
    • 0x40 -- CEL math failure

CLIO registers