Software › Rainbow (SMS demo)

Rainbow (SMS demo)

demo Open · freely redistributable

A tiny hand-written Z80 program for the Sega Master System, authored for emulators.org and released into the public domain. It initialises the VDP, loads a 16-colour palette, builds 16 solid tiles and fills the name table with a diagonal (row+column) gradient — the whole 256×192 screen becomes a moving-free rainbow of the Master System palette. It is an ideal debugger target: a short, readable Z80 loop you can single-step while watching VRAM and colour RAM.

Download ↓ Original source ↗

Format: Sega Master System cartridge (.sms), 16 KB  ·  By: emulators.org  ·  Licence: Public domain

Runs on

Preview

Full file (165 bytes) — offset, bytes, ASCII.

00000000  F3 ED 56 31 F0 DF 21 7A 00 06 0B 0E 00 7E D3 BF  ..V1..!z.....~..
00000010  79 F6 80 D3 BF 23 0C 10 F4 AF D3 BF 3E C0 D3 BF  y....#......>...
00000020  21 85 00 06 20 0E BE ED B3 AF D3 BF 3E 40 D3 BF  !... .......>@..
00000030  06 00 0E 08 78 0F 9F D3 BE 78 0F 0F 9F D3 BE 78  ....x....x.....x
00000040  0F 0F 0F 9F D3 BE 78 0F 0F 0F 0F 9F D3 BE 0D 20  ......x........ 
00000050  E3 04 78 FE 10 20 DB AF D3 BF 3E 78 D3 BF 16 00  ..x.. ....>x....
00000060  1E 00 7A 83 E6 0F D3 BE AF D3 BE 1C 7B FE 20 20  ..z.........{.  
00000070  F1 14 7A FE 1C 20 E9 C3 77 00 04 40 FF FF FF FF  ..z.. ..w..@....
00000080  FF 00 00 00 FF 00 02 03 0B 0F 0E 0C 2C 30 34 3C  ............,04<
00000090  38 28 39 2B 3F 20 00 00 00 00 00 00 00 00 00 00  8(9+? ..........
000000a0  00 00 00 00 00                                   .....