A few days ago I issued a Z80 programming challenge for the ZX Spectrum:
Something simple for the first challenge. Write the shortest code to fill the screen with a chequerboard pattern of 1 pixel squares. No RAM/ROM other than the 6144 byte bitmap screen memory should be written to.
Target: under 25 bytes.
- Your program shouldn’t rely on the initial contents of registers.
- Programs must return. The
RETinstruction is included in the size.
- So everyone has a fair chance comment with the code size not code.
- There are no prizes, just the chance to show off your coding skill.
thanks to JM @ http://www.retroprogramming.com/