encyclopegia.org

Contended memory

Contended memory is Sinclair's name for a portion of the ZX Spectrum's 64 KB addressable memory space.[src] With the full 64 KB, the Z80 microprocessor is the exclusive bus master, so it reads and writes operate at its full bus speed, but contended memory space is shared between the ULA and the Z80, with the ULA having higher priority.[src] Contended memory occupies addresses 0x4000..0x7FFF of the Z80 memory map.[src] This is the first 16 KB of RAM in the 48 KB machine and the entire RAM of the 16 KB machine.[src] Contention occurs as a result of the ULA reading the display and attributes data in this RAM to produce the TV video display.[src] Contention therefore does not occur during horizontal flyback, vertical flyback or during the screen border.[src] Accesses to I/O also contend if the ULA must read contended memory while the Z80 accesses a ULA I/O port.[src] ULA I/O ports are those with an even address (address bit 0 is a 0).[src] The Z80 must wait whenever the ULA needs to access contended memory before proceeding with its own contended memory read or write.[src] The effect to the user is that programs that make use of contended memory or contended I/O run slower than those that avoid it.[src]

Contended memory is Sinclair's name for a portion of the ZX Spectrum's 64 KB addressable memory space.[src] With the full 64 KB, the Z80 microprocessor is the exclusive bus master, so it reads and writes operate at its full bus speed, but contended memory space is shared between the ULA and the Z80, with the ULA having higher priority.[src] Contended memory occupies addresses 0x4000..0x7FFF of the Z80 memory map.[src] This is the first 16 KB of RAM in the 48 KB machine and the entire RAM of the 16 KB machine.[src] Contention occurs as a result of the ULA reading the display and attributes data in this RAM to produce the TV video display.[src] Contention therefore does not occur during horizontal flyback, vertical flyback or during the screen border.[src] Accesses to I/O also contend if the ULA must read contended memory while the Z80 accesses a ULA I/O port.[src] ULA I/O ports are those with an even address (address bit 0 is a 0).[src] The Z80 must wait whenever the ULA needs to access contended memory before proceeding with its own contended memory read or write.[src] The effect to the user is that programs that make use of contended memory or contended I/O run slower than those that avoid it.[src] Contended Memory on Sinclair FAQ Wiki Contended Memory on worldofspectrum.org Contended Memory on zxdesign.info[src]

21 sentences · 21 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Contended memory." encyclopegia.org, 2026, https://encyclopegia.org/wiki/contended-memory. Accessed 27 November 2026.

Chicago

"Contended memory." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/contended-memory.

APA

encyclopegia.org. (2026). Contended memory. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/contended-memory

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1335538912 · 0.5 · snapshot enwiki-001335538912

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.