1984 · Mastertronic · Play

Chiller

This minisite was curated by unorig, air.

Play Chiller from the forest or choose a later screen. Keep the original view or try the optional visual changes, then see how the port was checked.

Loading the game's bytes…
0.0 s of 0.0 s

Rewind and Fast forward move five seconds through recorded play. Play continues from that moment, replacing the old future.

Tune

Change the picture and add overlays while you play.

View
Show

See what is running

Pause to see the routines the game ran in the last frame, each linked to its place in the source.

    Advanced memory editor

    Change any byte of game memory. For jump timing, use Fine-tune jump in Gameplay tweaks above.

    The jump has 24 steps. Each waits for the number of frames in jump_speeds $544A: Floaty jump doubles each wait and Snappy jump halves it. Any other byte works too, and rewinding replays your edits with the keys.

      • ← → or Z C walk
      • ↑ or Shift jump
      • Space (fire), ? or / swap to the girl and back, on the way home
      • Any key or Space after GAME OVER starts again

      The game's screen, drawn from the port’s memory each frame as the C64’s video chip would draw it. The optional forest artwork is an imagined variation; collisions still follow the original map.

      01 · The port

      Every routine of the game, written again in JavaScript

      This page does not emulate a 6502. The game's 188 routines are written out in JavaScript, one function each, named by the listing's labels, and run on the game's own 64 KB of memory.

      The page loads that memory from the listing, the same bytes the Source code tab shows. From then on the port reads and writes the game's variables where the game keeps them, draws the levels from the game's own maps, plays the game's own tunes and puts its sprites where the game puts them. The picture is drawn from that memory as the video chip would draw it.

      Where the original depends on its interrupt

      The music and the keyboard scan run 60 times a second from a timer interrupt, which on the C64 can fall between any two of the game's instructions. The port runs it between its own steps.

      Speed

      The game runs about fifteen passes of its main loop a frame, so a port that ran as fast as the browser can would be a different game. The page keeps a PAL machine's clock, 312 lines of 63 cycles, and each routine the port calls moves it on by that routine's own cycles. The interrupt's own time is added where it falls. Over all ten levels, standing still and walking either way, the page runs within 4 % of the C64's speed.

      02 · Differences

      What differs from a C64