**Author:** Woodmass, Mark
Release date Links Download
2005-03-11 Forum post tzx (original URL)
2005-03-03 (unreleased, provided by the author) Discord post tap (hosted) - zip (Discord post)
## Description The output shows a range of t-states (cycles) since last interrupt and for each of these t-states gives information whether contention by ula takes place or not. **NOTE:** The programme is set to timings of 128K Spectrum (70908 t-states in a frame), so as is, it is 128K only test. The test can be easily adapted to work on 48k machine though. To make this a useful test for 48K machine, do the following: 1. Load the tape in 48k Spectrum. When the tape is loaded and the execution starts, break into basic (pressing Caps shift + Break will do) 2. Change line 20 from `20 LET cycles=70908` to `20 LET cycles=69888` 3. It is also good to change line 30 from `30 LET start=14350` to `30 LET start=14325` so you can observe the moment when contention starts, which is t-state 14335 (assuming early timings) ![changes_in_basic](https://github.com/redcode/ZXSpectrum/assets/7780451/9a390d59-3290-4557-b861-f2cd026568a0) 4. RUN and see ## Expected results 128K Spectrum: ![slika](https://github.com/redcode/ZXSpectrum/assets/7780451/83cb639f-5cc3-4a6a-a7b4-79418d6ae3ae) 48K Spectrum (changed programme, as described above): ![slika](https://github.com/redcode/ZXSpectrum/assets/7780451/d3d03d23-d7d1-4359-83ed-6e613a1f9aab) 48K Spectrum (unchanged programme, not useful results): ![img](https://zxe.io/depot/software/ZX%20Spectrum/screenshots/Contention%20%282005-03-03%29%28Woodmass,%20Mark%29.gif)