Psion Spins

Working buildVersion 0.9

A five-reel Christmas slot machine for play-money credits, with Santa, carols in two parts, and an advent calendar.

Four-line screen: five reels of card symbols, bells and presents, 1000 credits, bet 20, EXE=SPIN
Four-line (LZ and LZ64)
Four-line screen: Santa walking across the reels, credits 980, bet 20
Santa's walk
Two-line screen: five reels by two rows, 1000 credits, bet 20
Two-line (CM, XP and LA)

Download

Build: pack image

File
spins-0.9.opk
Version
0.9
Size
27,424 bytes
Date
SHA-256
3bcc05001b076479eafadc5e420c27e987e7d961c4de3d76138ff97c292ec033

Download the build

Source + build (zip)

File
spins-0.9-source.zip
Version
0.9
Size
594,009 bytes
Date
SHA-256
8e4ff26ce071bdb15cccada58bd35317117684d1e0df951b9c6fe82590460bcb

Download source + build

27,424 bytes: one 32K Datapak serves every model. In an emulator, load the pack image into slot B. On a real Organiser, load the psion/ folder from the source + build zip with RPBOOT.

Licence: MIT.

Compatibility

ModelRuns it?Note
CMWorksTwo-line screen: 5 reels by 2 rows
XPWorksTwo-line screen: 5 reels by 2 rows
LAWorksTwo-line screen: 5 reels by 2 rows
LZWorksFour-line screen: 5 reels by 4 rows
LZ64WorksFour-line screen: 5 reels by 4 rows

Tested on the Jape emulator: CM, XP, LA, LZ and LZ64, and a spin with Santa on all 29 Organiser ROMs it has. Sound and the real LCD are still to check on hardware.

About

A five-reel Christmas slot machine in 6303 machine code, for every Organiser II from the 8K CM to the LZ64. The credits are play money: they have no value, and nothing can be bought, sold or cashed.

One 32K Datapak serves every model. The start-up code reads the model and loads the two-line or four-line screen driver; the game, its pay table and its return (95.7%, counted exactly from the reel strips) are the same on both.

Santa walks across the reels in several styles, the carols play in two parts (melody and bass, from one buzzer), and there is an advent calendar, a gamble on wins, an elf helper, New Year, settling snow and a jukebox.

Install

  1. Download the pack image, spins-0.9.opk.
  2. In the Jape emulator: Select OPK file, choose the file, Create, then Slot B.
  3. On the Organiser: Prog, Run, type B:SANTA and press EXE.
  4. For a real Organiser, see Getting started for loading with RPBOOT.

If there is too little memory, SANTA says how many more bytes it needs.

Manual

Key Action
EXE Spin. During a spin, stops every reel at once; during an animation, skips it
UP / DOWN The line bet: 1, 2, 5 or 10 (a spin is 20 line bets)
A Autoplay: 10, 25 or 50 spins, or until the Xmas Spins
P L S Pay table, line viewer, statistics
G After a win: gamble it
MODE The menu: Spin, Bet, Autoplay, Pay table, Lines, Statistics, Settings, Jukebox, Scenes, Help, New player, Quit
ON/CLEAR Stops autoplay; otherwise asks "Leave?"

Settings: animation (Full, Quick, Off), Santa's styles, sound (On, Soft, Off), music, glass speed (8 to 15 frames a second), how wins are shown, when autoplay stops, and idle scenes. Everything is saved in A:SANSAV after every spin.

Technical notes

  • The game matches a JavaScript reference engine spin for spin: 100,000 spins on each grid with no difference.
  • A 4,898-byte RAM array holds the kernel, the screen driver and one shared region for overlays, scene data and the playing tune. Some variables live in the launchers' own code once it has run.
  • The sound engine plays 45 notes from E4 to C8 within 0.7% of pitch, with pulse width, slides, arpeggios and vibrato, and keeps tunes in time while the reels animate.

Changelog

DateVersionChange
0.9Working build: the whole core spec and its stretch goals, tested in the emulator on every model.

Source

The source is in the source + build zip, under the MIT licence. It holds the program as committed, the shared Psion tools it builds with, and the built pack, and it rebuilds the same pack byte for byte. A public repository will follow.