1987 · Domark

About this page

This minisite was contributed by unorig. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/c64/the-living-daylights with me to Gold.

The copy studied

The pages describe the British disk, published by Domark (disk name DAYLIGHTS 200787, for PAL machines). A boot program loads GM1, a loader that offers a fast loader, shows the loading picture, and loads the game's files. The program itself, TLD1, is stored encrypted, and the loader decrypts it in place with a key that a small routine in TLD8 works out; the loader carries the text "PROTECTION GRAEME ASHTON 87". The listing on the Source tab is built from memory saved during play on the first level, after the game's own start-up has copied its packed screens into place ($3F2E).

A second disk, Melbourne House's for American (NTSC) machines, holds the same game under other file names. Two of its files differ from the British disk's, and its code was not analysed (the American disk).

No game image is hosted here.

Original game credits

The title screen credits David Barbour, who wrote the game for Sculptured Software Inc, Richard Naylor, its designer, and David Whittaker for the music and effects, and says "Copyright Domark 1987", "© Eon Productions Ltd 1987", and "© Glidrose Publications Ltd 1987".

Site contributors

Other places to love this game

Sources

  1. Zzap!64 29, September 1987, page 99, the review of The Living Daylights for the C64, read in the scan at the Internet Archive on 17 November 2026: the price, the eight levels as the reviewers saw them, the ratings, and the quotations.
  2. Wikipedia, "The Living Daylights (video game)", read 17 November 2026: the developer and publishers.
  3. C64-Wiki, "The Living Daylights", read 17 November 2026: the weapon menu at the bottom of the screen, and that the high score is not saved.
  4. MI6-HQ, the Living Daylights game page, read 17 November 2026: that Gibraltar ends with the one hit on the agent with live ammunition, and two claims the code contradicts, about tripping and about gadgets that are not weapons (what the guides said).
  5. The tests on the Gameplay, Maps, Graphics, and Music pages: run in the VICE emulator from saved moments of play, and on the kit's 6502 simulator running the game's own code, as facts.md records.

Research record

The write-up, facts and symbol map are available under CC BY-SA 4.0; code is under MIT.

Version, coverage and tools
Tiersilver
Coverage100 % of the bytes the game uses have a description
Comments checkedNot audited. No audit has checked every comment, and the last sample of 60 comments had 16 wrong, so between 17 and 39 % of the listing’s comments are likely wrong. How listings are checked
MediaCounting each copy once, the disk side holds 10 files and 6 runs of sectors no file holds. Of those, 5 are in the listings, 2 are data the game loads, 3 load the game and 6 are never loaded.
Build analysedDomark UK release (PAL), disk DAYLIGHTS 200787, G64
Copyagent-draft
Toolshost: Linux x86_64 (Claude cloud container), emulator: release v4.0.0, v4.0.0-linux-x86_64-gui.zip, disassembler: regenerator2000 0.9.20, publication: Python 3; symbols_export.py and listing.py, subagents: one checker agent for the 60-comment sample; one reader agent for the review; one agent for everything else, widget tests: node 22: the music player runs against the game's code on the kit's 6502 simulator (test_music.js)
Modelclaude-opus-5-5
Kit version0.0.353

How the listing was checked

Every step that measured the Source tab’s comments or made them more accurate, in the order it happened, with the models that did it. Accuracy of the Source explains each step and what the row above makes of them.

StepByWhat it foundOf the listing
Researchclaude-opus-5-5Looked the game up online (its manual, reviews or wiki pages) before reading its code.
Annotationclaude-opus-5-5Wrote the listing’s comments. 100 % of the program is described, in 791 comments.
Sample 1claude-opus-5-516 of 60 comments wrong, so between 17 and 39 % of the listing is likely wrong. All 16 were then corrected.

likely wrong the sample’s range corrected right, or likely right not yet measured

What the game does, and how it was checked

Read this before annotating code. What the game is documented to do, with verification status against the binary. Statuses: open (documented, not found yet), traced (in the code, could not be exercised; say what was tried), confirmed (in the code, consistent with the emulator), live (observed directly), differs (the code does something else). "Absent" is not a status.

Sources:

Features

FeatureStatusWhere
Fast loader offered at boot ("WOULD YOU LIKE TO USE THE FAST LOADER? (Y/N)")liveloader GM1 at $8000
Loading picture (Bond, the cast, the Aston Martin)liveTLD7/TLD6, bitmap at $5C00 during loading
Title screen with credits, score and high score, F7 to startlive
Eight levels: Gibraltar, Concert Hall, The Pipeline, The Mansion, The Fairground, Tangiers, Afghanistan, Whitaker's Houselivelevel number $012E
Level intro screen: "LEVEL n", a picture of the place, its name, lives leftlive$26E5
Q branch: between levels, a countdown of five and a choice of four itemslive
"CHOOSE YOUR WEAPON" screen during play (C64-Wiki: move the cursor to the bottom border and press fire)live
Weapons and gadgets: paint gun, Walther PPK, missile pen, ghetto blaster, night vision, hand grenade, steel helmet, cigarettes, bomb, mortar, bazooka, dynamite, crossbow, sleep-dart gunconfirmed: fourteen names, the night vision is "INFRA SIGHT" and the helmet "HARD HAT"weapon_names $2A84, weapon_lethal $2BBE
Single-use items; a non-weapon choice falls back to the Walther PPK (MI6-HQ)differs: weapons 5 and up fire once; after a timed weapon the game switches back to the Walther PPK and stops switching. A gadget that does not kill stays in hand as the second weaponfire $2CE7, weapon_switch_timed $2C3E
Crosshair aims, fire shoots; crosshair at the far right makes Bond runconfirmedcrosshair_right $151F, fire $2CE7
Jump (right and up), roll or duck (right and down)confirmed: running, up jumps and down with right rolls; standing, fire held 15 frames turns up into a jump and down into a duckstick_vertical $1442
Energy bar in the status panel; lives (four shown after one death)livelives $0150
Points lost for hitting innocents (C64-Wiki)confirmed: knocking down a figure that is not a real enemy takes 500 off; hitting one with a weapon that does not kill scores 100enemy_shot $2D67
Tripping over obstacles leaves Bond helpless for about three seconds (MI6-HQ)differs: a trip is a nine-frame roll and then 60 frames lying down, and costs 4 energytrip $3440, lie_down $3367, obstacle_check $238B
Level 1 ends after one hit on the agent with live ammunition (MI6-HQ)confirmed: only a weapon that kills knocks him downenemy_hit_anim $1E9C
Ending: "CONGRATULATIONS / YOU HAVE COMPLETED YOUR MISSION / THE PRIME MINISTER THANKS YOU / YOU SCORED"live$12AC
High score not saved to disk (C64-Wiki)confirmed: kept in memory onlyhiscore_update $2642
Music by David Whittaker; sound effectsconfirmed: five tunes, 17 effects, played by the game's code on the Music tabdriver at $A000

Beyond the documentation

Found in the code, not in the manual.

FindingStatusWhere
Level 8's intro pause can never run: the level is compared with 7 and then with 4tracedlevel_intro $2734
Tune 4 and effects 1 and 9 are never startedtracedmusic_start callers, sfx_start callers
Leftover source text and assembler symbols in the filetraced$3FCF, $77D4, $2378, $3BEE
Music command $86 stores $AB as the voice flagstracedcmd_step_up $A39A
The frame divider at $A241 plays every frame either waytracedmusic_irq $A13C
Each level's map is 160 columns; the far layer goes round twice, the near layer six timestraced, and seen livelevel_events $3004, scroll_fine $3A07
Obstacles are map columns compared with the middle layer's count, not collisionstracedobstacle_check $238B
The helicopter is worth 1000 points and takes 10 Walther PPK shots or one of anything elsetracedhelicopter_move $1764, helicopter_shot $2E71
Finishing a level adds 1000 for each level before ittracedbond_walk_off $32FF
On Tangiers every weapon clears a doorway, but only the sleep dart gun scorestraceddoor_shot $2EFA
The hard hat is drawn into 25 sprite shapes by exclusive-ortraced, and run on the simulatorhard_hat_step $70EF

Open questions

Memory footprint

Every byte of the C64's 64 KB, one pixel each, 512 to a row. Lit pixels are code, graphics, sound, text, tables and variables; dim areas are screen and working memory.

The symbol map is symbols.json; the listing behind the Source tab is listing.json.