DINO CHRISTMAS VILLAGE
Complete single-load Commodore 64 machine-code game

PLAY ON C64 / C64 ULTIMATE
Mount bin/Dino-Christmas-Village.d64 as device 8. Connect a joystick
to port 2. At the normal startup screen enter:

  LOAD"*",8,1

The game starts automatically after loading. No RUN, SYS, BASIC
launcher, machine-language monitor, cartridge, REU, or further disk
access is needed. Use a normal C64 reset and standard KERNAL loader.
On Ultimate, mounting the D64 and using this command is the supported
path; arbitrary PRG-menu auto-run heuristics are not required.

CONTROLS
Joystick port 2: move in eight directions.
Fire: start, pick up, deliver, continue, restart.
Release fire between actions. Carry one present at a time. The HUD's
TO digit identifies the gold numbered door for the current present.
Move to that door and press fire. A dash means you are carrying nothing.
All presents can be collected in any order. Trees and walls are scenery;
the delivery area extends into the snow in front of each door.

LEVELS
1: five presents, three active houses, 120 seconds.
2: six presents, four active houses, 100 seconds.
3: seven presents, five active houses, 85 seconds.
After the third level, fire begins a new game with a reset score.
Timer expiry displays GAME OVER and the final score; fire restarts.

SCORING
Delivery: 100 points.
Level completion: 1000 points, plus remaining seconds times 10.
The six-digit score is retained between levels.

CONTENTS
bin/DINO-XMAS.prg                  Actual compiled machine-code program
bin/Dino-Christmas-Village.d64     Standard 35-track 1541 disk
src/main.asm                      Engine, autostart, screens, controls,
                                  collisions, timer and score
src/sound.asm                     SID title music and four effects
src/sprites.asm                   Original hardware sprite definitions
src/charset.asm                   Complete original charset
src/screen.asm                    Village screen and color map
src/title.asm                     Title screen and color map
build.cmd / build.sh              Complete offline build scripts
tools/make_d64.py                 Disk image builder
tools/verify.py                   Compiled-code and disk checks
vendor/KickAss.jar                KickAssembler 5.25 by Mads Nielsen
vendor/py65/                      BSD-licensed verification CPU
VALIDATION.txt                    Results and limits of verification

The build scripts require Java 8+ and Python 3. All game graphics,
font data, maps, SID music, effects and disk contents are in source.
Neither build nor gameplay downloads any asset. The supplied binaries
are ready to use; rebuilding is optional.

TECHNICAL
Legal 6502 instructions only. Stock 64K RAM. No ROM asset dependency.
$0326-$0333: KERNAL vector autostart, preserving STOP and LOAD vectors.
$0400-$07ff: screen and sprite pointers.
$1000-$1fff: code, music and state.
$2000-$27cf: title map and colors.
$2800-$2fcf: village map and colors.
$3000-$37ff: custom character set.
$3800-$38bf: three hardware sprite patterns.
$f7-$fe: zero-page scratch.
$fffa-$ffff: private NMI/IRQ vectors with KERNAL banked out.
I/O remains visible. CIA interrupts and VIC interrupts are disabled;
raster polling drives the game. PAL/NTSC selection uses the KERNAL
startup flag at $02a6. NTSC uses a 50/60 frame accumulator to maintain
the same logical movement, countdown and music tempo. Pitch follows
the native SID clock. No SID write-only register is read for state.
Character graphics use extended color-RAM multicolor selection;
the player is a multicolor hardware sprite, presents are hires sprites.
Software AABB hitboxes implement both present and character-door
collisions. VIC collision latches are acknowledged every game tick.

Reset the machine to exit. Physical hardware testing remains pending.
